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/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
endif
libgstvaapi_includedir = \
- $(includedir)/gstreamer-$(GST_API_VERSION)/gst/vaapi
+ $(includedir)/gstreamer-$(GST_PKG_VERSION)/gst/vaapi
libgstvaapi_cflags = \
-DIN_LIBGSTVAAPI \
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}