build: fix packaging for GStreamer 1.2.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 7 Feb 2014 08:43:51 +0000 (09:43 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 19 Feb 2014 05:13:41 +0000 (06:13 +0100)
Fix gstreamer-vaapi includedir for GStreamer 1.2 setups. i.e. use
the pkgconfig version (1.0) instead of the intended API version (1.2).
libgstvaapi1.0-dev and libgstvaapi1.2-dev packages will now conflict,
as would core GStreamer 1.0 and GStreamer 1.2 dev packages anyway.

debian.upstream/libgstvaapi-dev.install.in
gst-libs/gst/vaapi/Makefile.am
pkgconfig/gstreamer-vaapi.pc.in

index 764bc3a..33d178a 100644 (file)
@@ -1,3 +1,3 @@
 debian/tmp/usr/lib/libgstvaapi*.so
 debian/tmp/usr/lib/pkgconfig/gstreamer-vaapi*.pc
-debian/tmp/usr/include/gstreamer-@GST_API_VERSION@/gst/vaapi/*.h
+debian/tmp/usr/include/gstreamer-@GST_PKG_VERSION@/gst/vaapi/*.h
index 69eda14..4d61713 100644 (file)
@@ -17,7 +17,7 @@ lib_LTLIBRARIES += libgstvaapi-wayland-@GST_API_VERSION@.la
 endif
 
 libgstvaapi_includedir = \
-       $(includedir)/gstreamer-$(GST_API_VERSION)/gst/vaapi
+       $(includedir)/gstreamer-$(GST_PKG_VERSION)/gst/vaapi
 
 libgstvaapi_cflags =                           \
        -DIN_LIBGSTVAAPI                        \
index af6706b..57c5609 100644 (file)
@@ -6,7 +6,7 @@ pluginsdir=@libdir@/gstreamer-@GST_PKG_VERSION@
 
 Name: GStreamer VA-API Plugins Libraries
 Description: Streaming media framework, VA-API plugins libraries
-Requires: gstreamer-@GST_PKG_VERSION@ gstreamer-base-@GST_PKG_VERSION@ @LIBVA_PKGNAME@
+Requires: gstreamer-@GST_PKG_VERSION@ >= @GST_VERSION_REQUIRED@ gstreamer-base-@GST_PKG_VERSION@ >= @GST_PLUGINS_BASE_VERSION_REQUIRED@ @LIBVA_PKGNAME@
 Version: @VERSION@
 Libs: -L${libdir} -lgstvaapi-@GST_API_VERSION@
 Cflags: -I${includedir}