commit 259d09d643dfc63072602eb7d736f8a577c89f53
Author: Simon Farnsworth <simon.farnsworth(a)onelan.co.uk>
Date: Fri Feb 7 09:56:59 2014 +0000
Initial release
.gitignore | 1 +
gstreamer1-vaapi.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 79 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45381d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gstreamer-vaapi-0.5.8.tar.bz2
diff --git a/gstreamer1-vaapi.spec b/gstreamer1-vaapi.spec
new file mode 100644
index 0000000..939f86c
--- /dev/null
+++ b/gstreamer1-vaapi.spec
@@ -0,0 +1,77 @@
+Name: gstreamer1-vaapi
+Version: 0.5.8
+Release: 1%{?dist}
+Summary: GStreamer plugins to use VA API video acceleration
+
+License: LGPLv2+
+URL:
https://gitorious.org/vaapi/gstreamer-vaapi/
+Source0:
http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/gstrea...
+
+BuildRequires: glib2-devel >= 2.28
+BuildRequires: gstreamer1-devel >= 1.0.0
+BuildRequires: gstreamer1-plugins-base-devel >= 1.0.0
+BuildRequires: gstreamer1-plugins-bad-free-devel >= 1.0.0
+BuildRequires: libva-devel >= 1.1.0
+BuildRequires: libdrm-devel
+BuildRequires: libudev-devel
+BuildRequires: libGL-devel
+
+%description
+
+A collection of GStreamer plugins to let you make use of VA API video
+acceleration from GStreamer applications.
+
+Includes elements for video decoding, display, encoding and post-processing
+using VA API (subject to hardware limitations).
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?isa} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q -n gstreamer-vaapi-%{version}
+
+%build
+
+# Fix for
https://bugzilla.gnome.org/show_bug.cgi?id=723748
+chmod -x ./tests/test-filter.c ./gst-libs/gst/vaapi/gstvaapifilter.c
./gst-libs/gst/vaapi/gstvaapifilter.h
+
+# Wayland support in libva isn't present - gstreamer-vaapi can't support Wayland
without it
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1051862
+%configure --enable-static=no --disable-wayland
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%make_install
+
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB NEWS README
+%{_libdir}/*.so.*
+%{_libdir}/gstreamer-1.0/*.so
+
+%files devel
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING.LIB NEWS README
+%{_includedir}/gstreamer-1.2/gst/vaapi
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/gstreamer-vaapi*.pc
+
+%changelog
+* Wed Feb 5 2014 Simon Farnsworth <simon(a)farnz.org.uk> - 0.5.8-1
+- initial release
diff --git a/sources b/sources
index e69de29..2454033 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+375ddbab556e53ccc311b792f2c649a7 gstreamer-vaapi-0.5.8.tar.bz2