build: fix packaging for GStreamer 1.2.

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.
This commit is contained in:
Gwenole Beauchesne 2014-02-07 09:43:51 +01:00
parent b763fdac2c
commit 6e621413ab
3 changed files with 3 additions and 3 deletions

View 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

View 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 \

View 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}