summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Halley <halley.zhao@intel.com>2012-08-14 09:34:25 +0800
committerZhao Halley <halley.zhao@intel.com>2012-08-22 14:18:18 +0800
commitbe9c895e42e895eafa3eddb20a0843188cb30216 (patch)
tree5af5e63d31747464e2e12b69d04d496d0f6d38ae
parent26735ffad825318e3989eadcd8ab1a8008c10f32 (diff)
downloadvaapi-intel-driver-1.0.tar.gz
vaapi-intel-driver-1.0.tar.bz2
vaapi-intel-driver-1.0.zip
-rw-r--r--packaging/vaapi-intel-driver.changes3
-rw-r--r--packaging/vaapi-intel-driver.manifest5
-rw-r--r--packaging/vaapi-intel-driver.spec53
3 files changed, 61 insertions, 0 deletions
diff --git a/packaging/vaapi-intel-driver.changes b/packaging/vaapi-intel-driver.changes
new file mode 100644
index 0000000..35e317d
--- /dev/null
+++ b/packaging/vaapi-intel-driver.changes
@@ -0,0 +1,3 @@
+* Fri Aug 14 2012 Halley Zhao <halley.zhao@intel.com> vaapi-intel-driver-1.0.16.01.26735ff
+- init vaapi-intel-driver from upstream staging branch, clean spec/manifest file
+
diff --git a/packaging/vaapi-intel-driver.manifest b/packaging/vaapi-intel-driver.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/vaapi-intel-driver.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/vaapi-intel-driver.spec b/packaging/vaapi-intel-driver.spec
new file mode 100644
index 0000000..e03b26a
--- /dev/null
+++ b/packaging/vaapi-intel-driver.spec
@@ -0,0 +1,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
+