packaging: Intial packaging for tizen (on 1.2.0pre)
authorZhao, Halley <halley.zhao@intel.com>
Sun, 16 Feb 2014 19:06:43 +0000 (03:06 +0800)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 13 Nov 2014 16:39:58 +0000 (17:39 +0100)
Change-Id: Ic82a374fabfcbda5a0057d359189c8612ce76dd4

packaging/libva-intel-driver.changes [new file with mode: 0644]
packaging/libva-intel-driver.spec [new file with mode: 0644]

diff --git a/packaging/libva-intel-driver.changes b/packaging/libva-intel-driver.changes
new file mode 100644 (file)
index 0000000..26cf787
--- /dev/null
@@ -0,0 +1,24 @@
+* Mon Jul 15 2013 Zhao Halley <halley.zhao@intel.com> submit/tizen/20130703.092823@0291279
+- Enable the Bay Trail platform.
+- https://bugs.tizen.org/jira/browse/TIVI-1318
+
+* Wed Jul 03 2013 Zhao Halley <halley.zhao@intel.com> submit/tizen/20130703.092011@9d38a4a
+- re-tag upstream branch to avoid unnecessary patch for tizen branch
+- update changelog for gbs submit
+
+* Wed Jul 03 2013 Zhao Halley <halley.zhao@intel.com> 1.2.0pre@e2b6e0f
+- use %{name} to avoid unexpected gbs build failure
+- update to 1.2.0pre
+
+* Wed Jun 19 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130520.100021@21f51de
+- make wayland support conditional
+
+* Sat May 11 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130509.181405@fdc6f8a
+- Set license using %license
+
+* Mon Feb 11 2013 Anas Nashif <anas.nashif@intel.com> 1.0.19@b098d2b
+- Initial release
+
+* Mon Feb 11 2013 Anas Nashif <anas.nashif@intel.com> 1.0.19@44fcdee
+- Initial release
+
diff --git a/packaging/libva-intel-driver.spec b/packaging/libva-intel-driver.spec
new file mode 100644 (file)
index 0000000..abca18f
--- /dev/null
@@ -0,0 +1,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
+