From: Gwenole Beauchesne Date: Tue, 18 Feb 2014 05:56:51 +0000 (+0100) Subject: build: fix pkgconfig file names (again). X-Git-Tag: 1.19.3~503^2~2199 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b024e6940bf1e92e4e8717c61a8ea07f3b3e42b8;p=platform%2Fupstream%2Fgstreamer.git build: fix pkgconfig file names (again). 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. --- diff --git a/configure.ac b/configure.ac index 762f0c6..bb194aa 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ]) diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index c633997..25c3cb2 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -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) diff --git a/pkgconfig/gstreamer-vaapi-drm.pc.in b/pkgconfig/gstreamer-vaapi-drm.pc.in index 799592b..f5f44d3 100644 --- a/pkgconfig/gstreamer-vaapi-drm.pc.in +++ b/pkgconfig/gstreamer-vaapi-drm.pc.in @@ -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} diff --git a/pkgconfig/gstreamer-vaapi-glx.pc.in b/pkgconfig/gstreamer-vaapi-glx.pc.in index 7a71b14..4ac3d11 100644 --- a/pkgconfig/gstreamer-vaapi-glx.pc.in +++ b/pkgconfig/gstreamer-vaapi-glx.pc.in @@ -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} diff --git a/pkgconfig/gstreamer-vaapi-wayland.pc.in b/pkgconfig/gstreamer-vaapi-wayland.pc.in index 05f5128..2ec0a87 100644 --- a/pkgconfig/gstreamer-vaapi-wayland.pc.in +++ b/pkgconfig/gstreamer-vaapi-wayland.pc.in @@ -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} diff --git a/pkgconfig/gstreamer-vaapi-x11.pc.in b/pkgconfig/gstreamer-vaapi-x11.pc.in index acdbb51..7c0eb6d 100644 --- a/pkgconfig/gstreamer-vaapi-x11.pc.in +++ b/pkgconfig/gstreamer-vaapi-x11.pc.in @@ -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}