Hello community,

here is the log from the commit of package gstreamer-0_10-plugins-vaapi for 
openSUSE:Factory checked in at 2013-11-19 11:27:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-0_10-plugins-vaapi (Old)
 and      /work/SRC/openSUSE:Factory/.gstreamer-0_10-plugins-vaapi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gstreamer-0_10-plugins-vaapi"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gstreamer-0_10-plugins-vaapi/gstreamer-0_10-plugins-vaapi.changes
        2013-07-12 20:45:40.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.gstreamer-0_10-plugins-vaapi.new/gstreamer-0_10-plugins-vaapi.changes
   2013-11-19 11:27:56.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Nov 19 07:45:52 UTC 2013 - [email protected]
+
+- Add gstreamer-wayland-linking.patch: Fix build with wayland, when
+  wayland does not install the headers into /usr/local.
+- Create new package with the wayland library.
+
+-------------------------------------------------------------------

New:
----
  gstreamer-wayland-linking.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gstreamer-0_10-plugins-vaapi.spec ++++++
--- /var/tmp/diff_new_pack.eUuKuF/_old  2013-11-19 11:27:57.000000000 +0100
+++ /var/tmp/diff_new_pack.eUuKuF/_new  2013-11-19 11:27:57.000000000 +0100
@@ -21,6 +21,12 @@
 
 %define package_version 0.5.4
 
+%if 0%{suse_version} > 1230
+%bcond_without wayland
+%else
+%bcond_with wayland
+%endif
+
 Name:           gstreamer-0_10-plugins-vaapi
 BuildRequires:  Mesa-devel
 BuildRequires:  gstreamer-0_10-devel
@@ -30,12 +36,16 @@
 BuildRequires:  libtool
 BuildRequires:  libva-devel
 BuildRequires:  pkgconfig
+%if %{with wayland}
+BuildRequires:  pkgconfig(wayland-client) >= 1.0.0
+%endif
 Summary:        Gstreamer VA-API plugins
 License:        LGPL-2.1+
 Group:          Productivity/Multimedia/Other
 Version:        0.5.4
 Release:        0
 Source0:        gstreamer-vaapi-%{package_version}.tar.bz2
+Patch0:         gstreamer-wayland-linking.patch
 Url:            http://gitorious.org/vaapi/gstreamer-vaapi
 ExclusiveArch:  %ix86 x86_64
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -47,6 +57,9 @@
 Summary:        Include Files and Libraries mandatory for Development
 Group:          Development/Libraries/C and C++
 Requires:       %{name} = %{version}
+%if %{with wayland}
+Requires:       libgstvaapi-wayland-0_10-3 = %{version}
+%endif
 
 %description devel
 This package contains all necessary include files and libraries needed
@@ -82,17 +95,28 @@
 gstreamer-vaapi is a collection of GStreamer plugins and helper libraries that 
allow hardware accelerated video decoding through VA-API.
 %endif
 
+%if %{with wayland}
+%package -n libgstvaapi-wayland-0_10-3
+Summary:        Gstreamer WAYLAND VA-API plugins
+Group:          System/Libraries
+
+%description -n libgstvaapi-wayland-0_10-3
+gstreamer-vaapi is a collection of GStreamer plugins and helper libraries that 
allow hardware accelerated video decoding through VA-API.
+%endif
+
 %prep
 %if 0%{?build_from_git}
 %setup -q -n gstreamer-vaapi
 %else
 %setup -q -n gstreamer-vaapi-%{version}
 %endif
+%patch0 -p1
 
 %build
 %if 0%{?build_from_git}
 ./autogen.sh
 %endif
+autoreconf -fiv
 %configure --disable-static \
        --enable-glx \
        --with-gstreamer-api=0.10
@@ -116,6 +140,11 @@
 %postun -n libgstvaapi-drm-0_10-3 -p /sbin/ldconfig
 %endif
 
+%if %{with wayland}
+%post -n libgstvaapi-wayland-0_10-3 -p /sbin/ldconfig
+%postun -n libgstvaapi-wayland-0_10-3 -p /sbin/ldconfig
+%endif
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -142,6 +171,12 @@
 %{_libdir}/libgstvaapi-drm-0.10.so.*
 %endif
 
+%if %{with wayland}
+%files -n libgstvaapi-wayland-0_10-3
+%defattr(-,root,root)
+%{_libdir}/libgstvaapi-wayland-0.10.so.*
+%endif
+
 %files devel
 %defattr(-,root,root,0755)
 %{_includedir}/gstreamer-0.10/gst/vaapi

++++++ gstreamer-wayland-linking.patch ++++++
diff -ur gstreamer-vaapi-0.5.4/gst/vaapi/Makefile.am 
gstreamer-vaapi-0.5.4.patched/gst/vaapi/Makefile.am
--- gstreamer-vaapi-0.5.4/gst/vaapi/Makefile.am 2013-05-28 11:06:38.000000000 
+0200
+++ gstreamer-vaapi-0.5.4.patched/gst/vaapi/Makefile.am 2013-11-18 
21:57:16.979471403 +0100
@@ -27,6 +27,9 @@
 if USE_WAYLAND
 libgstvaapi_LIBS += \
        
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-wayland-$(GST_API_VERSION).la
+libgstvaapi_CFLAGS += \
+       $(WAYLAND_CFLAGS) \
+       $(NULL)
 endif
 
 libgstvaapi_source_c = \
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to