summaryrefslogtreecommitdiff
path: root/packaging/vaapi-intel-driver.spec
blob: e03b26a3e778e8f7a0be7f2e0a6a1fd9a56e5e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
%define libversion 1.0.16

Name:           vaapi-intel-driver
Version:        1.0.16.01.26735ff
Release:        0
License:        MIT and EPL-1.0
Source:         %{name}-%{version}.tar.bz2
Source1001:     packaging/vaapi-intel-driver.manifest 
Group:          Development/Libraries
Summary:        Intel vaapi video driver for GEN gfx
URL:            http://freedesktop.org/wiki/Software/vaapi

Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

BuildRequires:  pkgconfig(libdrm) >= 2.4.23
BuildRequires:  pkgconfig(libdrm_intel)
BuildRequires:  pkgconfig(libva) >= 0.34.0
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(libva-x11)
BuildRequires:  pkgconfig(libva-wayland)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  libtool
# BuildRequires:  mesa-libEGL-devel


%description
vaapi backend driver for Intel Gen gfx, it provies the VAAPI video acceleration

%prep
%setup -q

%build
cp %{SOURCE1001} .

unset LD_AS_NEEDED
%autogen
make

%install
%make_install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%manifest vaapi-intel-driver.manifest
%defattr(-,root,root,-)
%{_libdir}/dri/i965_drv_video.so