File intel-vaapi-driver.spec of Package intel-vaapi-driver
#
# spec file for package intel-vaapi-driver
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: intel-vaapi-driver
Version: 2.0.0
Release: 0
Summary: Intel Driver for Video Acceleration (VA) API for Linux
License: MIT and EPL-1.0
Group: System/Libraries
Url: https://github.com/01org/%{name}
Source0: https://github.com/01org/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.bz2
Source1: https://github.com/01org/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.bz2.sha1sum
Source2: baselibs.conf
# Intel graphics hardware only available on these platforms
ExclusiveArch: %ix86 x86_64
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(libdrm) >= 2.4.45
BuildRequires: pkgconfig(libdrm_intel)
BuildRequires: pkgconfig(libva) >= 1.0.0
BuildRequires: pkgconfig(libva-drm)
BuildRequires: pkgconfig(libva-x11) >= 0.39.4
BuildRequires: pkgconfig(wayland-client) >= 1.11.0
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
# due to pkg rename vaapi-intel-driver > intel-vaapi-driver
Provides: vaapi-intel-driver = %{version}
Obsoletes: vaapi-intel-driver < %{version}
# cause of no default install of xf86-video-intel and is recommended by this package
Supplements: modalias(xorg-x11-server:pci:v00008086d*sv*sd*bc03sc*i*)
%description
Intel Driver for Libva is a library providing the VA API video acceleration API.
%prep
%setup -q -n %{name}-%{version}
%build
autoreconf -fi
%configure \
--disable-silent-rules \
--enable-drm \
--enable-x11 \
--enable-wayland \
--disable-static \
%{nil}
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -name "*.la" -delete
%files
%dir %{_libdir}/dri
%{_libdir}/dri/i965_drv_video.so
%changelog