1 | Name: libva |
---|
2 | Version: 2.8.0 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Video Acceleration (VA) API for Linux |
---|
5 | Group: System Environment/Libraries |
---|
6 | Vendor: Project Vine |
---|
7 | Distribution: Vine Linux |
---|
8 | Packager: daisuke |
---|
9 | |
---|
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 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
15 | BuildRequires: libudev-devel |
---|
16 | BuildRequires: libXext-devel |
---|
17 | BuildRequires: libXfixes-devel |
---|
18 | BuildRequires: libdrm-devel |
---|
19 | BuildRequires: libpciaccess-devel |
---|
20 | BuildRequires: mesa-libEGL-devel |
---|
21 | BuildRequires: mesa-libGL-devel |
---|
22 | BuildRequires: mesa-libGLES-devel |
---|
23 | BuildRequires: libtool, automake, autoconf |
---|
24 | |
---|
25 | Obsoletes: libva-tools < 2.8.0 |
---|
26 | |
---|
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 | |
---|
52 | |
---|
53 | %build |
---|
54 | if [ -x ./autogen.sh ]; then |
---|
55 | ./autogen.sh |
---|
56 | fi |
---|
57 | %configure \ |
---|
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 | |
---|
68 | make %{?_smp_mflags} |
---|
69 | |
---|
70 | |
---|
71 | %install |
---|
72 | rm -rf %{buildroot} |
---|
73 | %make_install INSTALL="install -p" |
---|
74 | find %{buildroot} -regex ".*\.la$" | xargs rm -f -- |
---|
75 | |
---|
76 | |
---|
77 | %clean |
---|
78 | rm -rf %{buildroot} |
---|
79 | |
---|
80 | %post -p /sbin/ldconfig |
---|
81 | |
---|
82 | %postun -p /sbin/ldconfig |
---|
83 | |
---|
84 | %files |
---|
85 | %defattr(-,root,root,-) |
---|
86 | %license COPYING |
---|
87 | %{_libdir}/lib*.so.* |
---|
88 | %ghost %{_sysconfdir}/libva.conf |
---|
89 | |
---|
90 | %files devel |
---|
91 | %defattr(-,root,root,-) |
---|
92 | %{_includedir}/va |
---|
93 | %{_libdir}/lib*.so |
---|
94 | %{_libdir}/pkgconfig/* |
---|
95 | |
---|
96 | |
---|
97 | %changelog |
---|
98 | * Thu Jul 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.8.0-1 |
---|
99 | - new upstream release. |
---|
100 | |
---|
101 | * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
102 | - rebuild with gcc-5.4.0 |
---|
103 | |
---|
104 | * Mon Oct 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
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 | |
---|
111 | * Wed Aug 24 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.14-1 |
---|
112 | - new upstream release |
---|
113 | |
---|
114 | * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.12-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Sun Mar 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Fri Jan 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
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 | |
---|