build: fix pkgconfig file names (again).
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Feb 2014 05:56:51 +0000 (06:56 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 19 Feb 2014 05:13:41 +0000 (06:13 +0100)
It turns out it is more convenient to have only pkgconfig files named
after the installed GStreamer API version (1.0) instead of using all
possible subsequent names from that (1.0, 1.2, 1.4). i.e. they conflict
altogether anyway, so align pkgconfig file names to that.

configure.ac
pkgconfig/Makefile.am
pkgconfig/gstreamer-vaapi-drm.pc.in
pkgconfig/gstreamer-vaapi-glx.pc.in
pkgconfig/gstreamer-vaapi-wayland.pc.in
pkgconfig/gstreamer-vaapi-x11.pc.in

index 762f0c6..bb194aa 100644 (file)
@@ -793,15 +793,15 @@ debian.upstream/libgstvaapi-x11.install.in
     gst/Makefile
     gst/vaapi/Makefile
     pkgconfig/Makefile
-    pkgconfig/gstreamer-vaapi-$GST_API_VERSION.pc:\
+    pkgconfig/gstreamer-vaapi-$GST_PKG_VERSION.pc:\
 pkgconfig/gstreamer-vaapi.pc.in
-    pkgconfig/gstreamer-vaapi-drm-$GST_API_VERSION.pc:\
+    pkgconfig/gstreamer-vaapi-drm-$GST_PKG_VERSION.pc:\
 pkgconfig/gstreamer-vaapi-drm.pc.in
-    pkgconfig/gstreamer-vaapi-glx-$GST_API_VERSION.pc:\
+    pkgconfig/gstreamer-vaapi-glx-$GST_PKG_VERSION.pc:\
 pkgconfig/gstreamer-vaapi-glx.pc.in
-    pkgconfig/gstreamer-vaapi-wayland-$GST_API_VERSION.pc:\
+    pkgconfig/gstreamer-vaapi-wayland-$GST_PKG_VERSION.pc:\
 pkgconfig/gstreamer-vaapi-wayland.pc.in
-    pkgconfig/gstreamer-vaapi-x11-$GST_API_VERSION.pc:\
+    pkgconfig/gstreamer-vaapi-x11-$GST_PKG_VERSION.pc:\
 pkgconfig/gstreamer-vaapi-x11.pc.in
     tests/Makefile
 ])
index c633997..25c3cb2 100644 (file)
@@ -12,7 +12,7 @@ if USE_WAYLAND
 pcfiles_in += gstreamer-vaapi-wayland.pc.in
 endif
 
-pcfiles = $(pcfiles_in:%.pc.in=%-$(GST_API_VERSION).pc)
+pcfiles = $(pcfiles_in:%.pc.in=%-$(GST_PKG_VERSION).pc)
 
 all_pcfiles_in  = gstreamer-vaapi.pc.in
 all_pcfiles_in += gstreamer-vaapi-drm.pc.in
@@ -20,7 +20,7 @@ all_pcfiles_in += gstreamer-vaapi-x11.pc.in
 all_pcfiles_in += gstreamer-vaapi-glx.pc.in
 all_pcfiles_in += gstreamer-vaapi-wayland.pc.in
 
-all_pcfiles = $(all_pcfiles_in:%.pc.in=%-$(GST_API_VERSION).pc)
+all_pcfiles = $(all_pcfiles_in:%.pc.in=%-$(GST_PKG_VERSION).pc)
 
 pkgconfigdir = @pkgconfigdir@
 pkgconfig_DATA = $(pcfiles)
index 799592b..f5f44d3 100644 (file)
@@ -6,7 +6,7 @@ pluginsdir=@libdir@/gstreamer-@GST_PKG_VERSION@
 
 Name: GStreamer VA-API (DRM) Plugins Libraries
 Description: Streaming media framework, VA-API (DRM) plugins libraries
-Requires: gstreamer-vaapi-@GST_API_VERSION@ libva-drm
+Requires: gstreamer-vaapi-@GST_PKG_VERSION@ libva-drm
 Version: @VERSION@
 Libs: -L${libdir} -lgstvaapi-drm-@GST_API_VERSION@
 Cflags: -I${includedir}
index 7a71b14..4ac3d11 100644 (file)
@@ -6,7 +6,7 @@ pluginsdir=@libdir@/gstreamer-@GST_PKG_VERSION@
 
 Name: GStreamer VA-API (GLX) Plugins Libraries
 Description: Streaming media framework, VA-API (GLX) plugins libraries
-Requires: gstreamer-vaapi-@GST_API_VERSION@ @LIBVA_GLX_PKGNAME@
+Requires: gstreamer-vaapi-@GST_PKG_VERSION@ @LIBVA_GLX_PKGNAME@
 Version: @VERSION@
 Libs: -L${libdir} -lgstvaapi-glx-@GST_API_VERSION@
 Cflags: -I${includedir}
index 05f5128..2ec0a87 100644 (file)
@@ -6,7 +6,7 @@ pluginsdir=@libdir@/gstreamer-@GST_PKG_VERSION@
 
 Name: GStreamer VA-API (Wayland) Plugins Libraries
 Description: Streaming media framework, VA-API (Wayland) plugins libraries
-Requires: gstreamer-vaapi-@GST_API_VERSION@ libva-wayland
+Requires: gstreamer-vaapi-@GST_PKG_VERSION@ libva-wayland
 Version: @VERSION@
 Libs: -L${libdir} -lgstvaapi-wayland-@GST_API_VERSION@
 Cflags: -I${includedir}
index acdbb51..7c0eb6d 100644 (file)
@@ -6,7 +6,7 @@ pluginsdir=@libdir@/gstreamer-@GST_PKG_VERSION@
 
 Name: GStreamer VA-API (X11) Plugins Libraries
 Description: Streaming media framework, VA-API (X11) plugins libraries
-Requires: gstreamer-vaapi-@GST_API_VERSION@ @LIBVA_X11_PKGNAME@
+Requires: gstreamer-vaapi-@GST_PKG_VERSION@ @LIBVA_X11_PKGNAME@
 Version: @VERSION@
 Libs: -L${libdir} -lgstvaapi-x11-@GST_API_VERSION@
 Cflags: -I${includedir}