summaryrefslogtreecommitdiff
path: root/packaging/libva-intel-driver.spec
blob: abca18fc6f1e094265688391eeb8ba5aad9eef40 (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
%bcond_with wayland
Name:       libva-intel-driver
Version:    1.2.0pre
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
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xfixes)
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

%description
Intel Driver for Libva is a library providing the VA API video acceleration API.

%prep
%setup -q 

%build
%autogen
%configure --enable-x11 \
%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