blob: cbbcb3fbf29c93b6a79e1651d1d80d19e7443797 (
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
54
55
|
%bcond_with wayland
%bcond_with x
Name: libva-intel-driver
Version: 1.2.2
Release: 0
Summary: Intel Driver for Video Acceleration (VA) API for Linux
Group: System/Libraries
License: MIT
URL: http://freedesktop.org/wiki/Software/vaapi
Source0: %{name}-%{version}.tar.bz2
%if %{with x}
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
%endif
BuildRequires: mesa-devel
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libva)
%if %{with wayland}
BuildRequires: pkgconfig(libva-wayland)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-client)
%endif
ExclusiveArch: %ix86 x86_64
%description
Intel Driver for Libva is a library providing the VA API video acceleration API.
%prep
%setup -q
%build
%autogen
%configure \
%if %{with x}
--enable-x11 \
%endif
%if %{with wayland}
--enable-wayland \
%endif
--enable-drm
make %{?_smp_mflags}
%install
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%defattr(-,root,root,-)
%{_libdir}/dri/i965_drv_video.so
|