[521] | 1 | Name: libva |
---|
[12440] | 2 | Version: 2.8.0 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[521] | 4 | Summary: Video Acceleration (VA) API for Linux |
---|
| 5 | Group: System Environment/Libraries |
---|
[12440] | 6 | Vendor: Project Vine |
---|
| 7 | Distribution: Vine Linux |
---|
| 8 | Packager: daisuke |
---|
[521] | 9 | |
---|
[12440] | 10 | License: MIT |
---|
| 11 | URL: https://github.com/intel/libva |
---|
| 12 | Source0: https://github.com/intel/libva/releases/download/%{version}/%{name}-%{version}.tar.bz2 |
---|
| 13 | |
---|
[521] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[12440] | 15 | BuildRequires: libudev-devel |
---|
[521] | 16 | BuildRequires: libXext-devel |
---|
| 17 | BuildRequires: libXfixes-devel |
---|
[12440] | 18 | BuildRequires: libdrm-devel |
---|
| 19 | BuildRequires: libpciaccess-devel |
---|
| 20 | BuildRequires: mesa-libEGL-devel |
---|
| 21 | BuildRequires: mesa-libGL-devel |
---|
| 22 | BuildRequires: mesa-libGLES-devel |
---|
[2592] | 23 | BuildRequires: libtool, automake, autoconf |
---|
[521] | 24 | |
---|
[12440] | 25 | Obsoletes: libva-tools < 2.8.0 |
---|
[4654] | 26 | |
---|
[521] | 27 | %description |
---|
| 28 | The libva library implements the Video Acceleration (VA) API for Linux. |
---|
| 29 | The library loads a hardware dependendent driver. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Summary: Development tools for programs which will use %{name} |
---|
| 34 | Group: Development/Libraries |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | This package contains the development files for %{name}. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %package tools |
---|
| 42 | Summary: Sample tools for %{name} |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
| 44 | |
---|
| 45 | %description tools |
---|
| 46 | This package contains sample tools for %{name}. |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %prep |
---|
| 50 | %setup -q |
---|
| 51 | |
---|
[12440] | 52 | |
---|
[521] | 53 | %build |
---|
[12440] | 54 | if [ -x ./autogen.sh ]; then |
---|
| 55 | ./autogen.sh |
---|
| 56 | fi |
---|
[2592] | 57 | %configure \ |
---|
[12440] | 58 | --disable-static \ |
---|
| 59 | --enable-x11 \ |
---|
| 60 | --enable-drm \ |
---|
| 61 | --enable-glx \ |
---|
| 62 | --enable-va-messaging |
---|
| 63 | |
---|
| 64 | # remove rpath from libtool |
---|
| 65 | sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
| 66 | sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
| 67 | |
---|
[521] | 68 | make %{?_smp_mflags} |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %install |
---|
[12440] | 72 | rm -rf %{buildroot} |
---|
| 73 | %make_install INSTALL="install -p" |
---|
| 74 | find %{buildroot} -regex ".*\.la$" | xargs rm -f -- |
---|
[521] | 75 | |
---|
| 76 | |
---|
| 77 | %clean |
---|
[12440] | 78 | rm -rf %{buildroot} |
---|
[521] | 79 | |
---|
| 80 | %post -p /sbin/ldconfig |
---|
| 81 | |
---|
| 82 | %postun -p /sbin/ldconfig |
---|
| 83 | |
---|
| 84 | %files |
---|
| 85 | %defattr(-,root,root,-) |
---|
[12440] | 86 | %license COPYING |
---|
[521] | 87 | %{_libdir}/lib*.so.* |
---|
[12440] | 88 | %ghost %{_sysconfdir}/libva.conf |
---|
[521] | 89 | |
---|
| 90 | %files devel |
---|
| 91 | %defattr(-,root,root,-) |
---|
[12440] | 92 | %{_includedir}/va |
---|
[521] | 93 | %{_libdir}/lib*.so |
---|
| 94 | %{_libdir}/pkgconfig/* |
---|
| 95 | |
---|
| 96 | |
---|
[12440] | 97 | %changelog |
---|
| 98 | * Thu Jul 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1 |
---|
| 99 | - new upstream release. |
---|
[521] | 100 | |
---|
[10581] | 101 | * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 102 | - rebuild with gcc-5.4.0 |
---|
| 103 | |
---|
[7040] | 104 | * Mon Oct 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[5092] | 107 | * Thu Nov 03 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.15-1 |
---|
| 108 | - new upstram release |
---|
| 109 | - hardware specific drivers are splitted. |
---|
| 110 | |
---|
[4654] | 111 | * Wed Aug 24 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[3524] | 114 | * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[2940] | 117 | * Sun Mar 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[2592] | 120 | * Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1 |
---|
| 121 | - new upstream release |
---|
[1901] | 122 | |
---|
[2592] | 123 | * Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[521] | 126 | * Wed Feb 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 127 | - update to 1.0.1 |
---|
| 128 | |
---|
| 129 | * Thu Jan 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-4 |
---|
| 130 | - update to sds8 |
---|
| 131 | |
---|
| 132 | * Sun Jan 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-3 |
---|
| 133 | - add 302_vdpau_vc1.patch from sds |
---|
| 134 | |
---|
| 135 | * Fri Jan 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-2 |
---|
| 136 | - add splitted desktop's patches |
---|
| 137 | |
---|
| 138 | * Thu Jan 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.29-1 |
---|
| 139 | - initial build for Vine Linux |
---|
| 140 | |
---|