diff options
author | Julien Isorce <j.isorce@samsung.com> | 2016-02-18 14:32:23 +0000 |
---|---|---|
committer | Julien Isorce <j.isorce@samsung.com> | 2016-02-18 17:40:46 +0000 |
commit | 496e7b45689edd7f0ee49ab89d62d6afd4c58391 (patch) | |
tree | d63b5ac24d753c0f0072347db26b6c965f08544c /pkgconfig | |
parent | 0da3390692f023e7fbabbf8b7ee86c271a2bc1f0 (diff) |
uninstalled.pc: add support for non libtool build systems
Currently the .la path is provided which requires to use libtool as
mentioned in the GStreamer manual section-helloworld-compilerun.html.
It is fine as long as the application is built using libtool.
So currently it is not possible to compile a GStreamer application
within gst-uninstalled with CMake or other build system different
than autotools.
This patch allows to do the following in gst-uninstalled env:
gcc test.c -o test $(pkg-config --cflags --libs gstreamer-1.0 \
gstreamer-gl-1.0)
Previously it required to prepend libtool --mode=link
https://bugzilla.gnome.org/show_bug.cgi?id=720778
Diffstat (limited to 'pkgconfig')
-rw-r--r-- | pkgconfig/gstreamer-bad-audio-uninstalled.pc.in | 4 | ||||
-rw-r--r-- | pkgconfig/gstreamer-bad-base-uninstalled.pc.in | 4 | ||||
-rw-r--r-- | pkgconfig/gstreamer-bad-video-uninstalled.pc.in | 4 | ||||
-rw-r--r-- | pkgconfig/gstreamer-codecparsers-uninstalled.pc.in | 4 | ||||
-rw-r--r-- | pkgconfig/gstreamer-gl-uninstalled.pc.in | 5 | ||||
-rw-r--r-- | pkgconfig/gstreamer-insertbin-uninstalled.pc.in | 4 | ||||
-rw-r--r-- | pkgconfig/gstreamer-mpegts-uninstalled.pc.in | 4 | ||||
-rw-r--r-- | pkgconfig/gstreamer-player-uninstalled.pc.in | 4 | ||||
-rw-r--r-- | pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in | 2 | ||||
-rw-r--r-- | pkgconfig/gstreamer-wayland-uninstalled.pc.in | 4 |
10 files changed, 20 insertions, 19 deletions
diff --git a/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in b/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in index 4053f69e1..6b95364ee 100644 --- a/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in +++ b/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in @@ -1,6 +1,6 @@ prefix= exec_prefix= -libdir=@abs_top_builddir@/gst-libs/gst/audio +libdir=@abs_top_builddir@/gst-libs/gst/audio/.libs includedir=@abs_top_srcdir@/gst-libs Name: GStreamer bad audio library, uninstalled @@ -8,5 +8,5 @@ Description: Bad audio library for GStreamer, Not Installed Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@ -Libs: @abs_top_builddir@/gst-libs/gst/audio/libgstbadaudio-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstbadaudio-@GST_API_VERSION@ Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-bad-base-uninstalled.pc.in b/pkgconfig/gstreamer-bad-base-uninstalled.pc.in index bec40f423..e11a01bcc 100644 --- a/pkgconfig/gstreamer-bad-base-uninstalled.pc.in +++ b/pkgconfig/gstreamer-bad-base-uninstalled.pc.in @@ -1,6 +1,6 @@ prefix= exec_prefix= -libdir= +libdir=@abs_top_builddir@/gst-libs/gst/base/.libs includedir=@abs_top_builddir@/gst-libs girdir=@abs_top_builddir@/gst-libs/gst/base typelibdir=@abs_top_builddir@/gst-libs/gst/base @@ -10,5 +10,5 @@ Description: Bad base classes for GStreamer elements, Not Installed Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ -Libs: @abs_top_builddir@/gst-libs/gst/base/libgstbadbase-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstbadbase-@GST_API_VERSION@ Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-bad-video-uninstalled.pc.in b/pkgconfig/gstreamer-bad-video-uninstalled.pc.in index c2aa90702..f9ae7bf40 100644 --- a/pkgconfig/gstreamer-bad-video-uninstalled.pc.in +++ b/pkgconfig/gstreamer-bad-video-uninstalled.pc.in @@ -1,6 +1,6 @@ prefix= exec_prefix= -libdir= +libdir=@abs_top_builddir@/gst-libs/gst/video/.libs includedir=@abs_top_builddir@/gst-libs girdir=@abs_top_builddir@/gst-libs/gst/video typelibdir=@abs_top_builddir@/gst-libs/gst/video @@ -10,5 +10,5 @@ Description: Bad video library for GStreamer elements, Not Installed Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@ -Libs: @abs_top_builddir@/gst-libs/gst/video/libgstbadvideo-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstbadvideo-@GST_API_VERSION@ Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in b/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in index d1bb9b0f4..71ed7713e 100644 --- a/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in +++ b/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in @@ -1,12 +1,12 @@ prefix= exec_prefix= -libdir=${pcfiledir}/../gst-libs/gst/codecparsers +libdir=${pcfiledir}/../gst-libs/gst/codecparsers/.libs includedir=${pcfiledir}/../gst-libs Name: GStreamer codec parsers, Uninstalled Description: Bitstream parsers for GStreamer elements, uninstalled Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ Version: @VERSION@ -Libs: -L${libdir} ${libdir}/libgstcodecparsers-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstcodecparsers-@GST_API_VERSION@ Cflags: -I${includedir} diff --git a/pkgconfig/gstreamer-gl-uninstalled.pc.in b/pkgconfig/gstreamer-gl-uninstalled.pc.in index 5049f4e85..dac4cda3f 100644 --- a/pkgconfig/gstreamer-gl-uninstalled.pc.in +++ b/pkgconfig/gstreamer-gl-uninstalled.pc.in @@ -1,6 +1,6 @@ prefix= exec_prefix= -libdir= +libdir=@abs_top_builddir@/gst-libs/gst/gl/.libs includedir=@abs_top_builddir@/gst-libs girdir=@abs_top_builddir@/gst-libs/gst/base typelibdir=@abs_top_builddir@/gst-libs/gst/base @@ -10,5 +10,6 @@ Description: Streaming media framework, OpenGL plugins libraries, uninstalled Version: @VERSION@ Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@ -Libs: @abs_top_builddir@/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@ Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs + diff --git a/pkgconfig/gstreamer-insertbin-uninstalled.pc.in b/pkgconfig/gstreamer-insertbin-uninstalled.pc.in index 0a01e7996..1a535aaca 100644 --- a/pkgconfig/gstreamer-insertbin-uninstalled.pc.in +++ b/pkgconfig/gstreamer-insertbin-uninstalled.pc.in @@ -1,12 +1,12 @@ prefix= exec_prefix= -libdir=${pcfiledir}/../gst-libs/gst/insertbin +libdir=${pcfiledir}/../gst-libs/gst/insertbin/.libs includedir=${pcfiledir}/../gst-libs Name: GStreamer Insert Bin, Uninstalled Description: Bin to automatically and insertally link elements, uninstalled Requires: gstreamer-@GST_API_VERSION@ Version: @VERSION@ -Libs: -L${libdir} ${libdir}/libgstinsertbin-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstinsertbin-@GST_API_VERSION@ Cflags: -I${includedir} diff --git a/pkgconfig/gstreamer-mpegts-uninstalled.pc.in b/pkgconfig/gstreamer-mpegts-uninstalled.pc.in index e9aa26187..179996c2c 100644 --- a/pkgconfig/gstreamer-mpegts-uninstalled.pc.in +++ b/pkgconfig/gstreamer-mpegts-uninstalled.pc.in @@ -1,12 +1,12 @@ prefix= exec_prefix= -libdir=${pcfiledir}/../gst-libs/gst/mpegts +libdir=${pcfiledir}/../gst-libs/gst/mpegts/.libs includedir=${pcfiledir}/../gst-libs Name: GStreamer MPEG-TS, Uninstalled Description: GStreamer MPEG-TS support, uninstalled Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ Version: @VERSION@ -Libs: -L${libdir} ${libdir}/libgstmpegts-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstmpegts-@GST_API_VERSION@ Cflags: -I${includedir} diff --git a/pkgconfig/gstreamer-player-uninstalled.pc.in b/pkgconfig/gstreamer-player-uninstalled.pc.in index 82e6ee62c..5a495f4c8 100644 --- a/pkgconfig/gstreamer-player-uninstalled.pc.in +++ b/pkgconfig/gstreamer-player-uninstalled.pc.in @@ -1,12 +1,12 @@ prefix= exec_prefix= -libdir=${pcfiledir}/../gst-libs/gst/player +libdir=${pcfiledir}/../gst-libs/gst/player/.libs includedir=${pcfiledir}/../gst-libs Name: GStreamer Player, Uninstalled Description: GStreamer Player convenience library, uninstalled Requires: gstreamer-@GST_API_VERSION@ Version: @VERSION@ -Libs: -L${libdir} ${libdir}/libgstplayer-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstplayer-@GST_API_VERSION@ Cflags: -I${includedir} diff --git a/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in b/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in index 6fcf77331..df9a9c504 100644 --- a/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in +++ b/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in @@ -10,5 +10,5 @@ Name: GStreamer Bad Plugin libraries, Uninstalled Description: Streaming media framework, bad plugins libraries, uninstalled Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ -Libs: -L@abs_top_builddir@/gst-libs/gst/basecamerabinsrc -L@abs_top_builddir@/gst-libs/gst/codecparsers -L@abs_top_builddir@/gst-libs/gst/egl -L@abs_top_builddir@/gst-libs/gst/insertbin -L@abs_top_builddir@/gst-libs/gst/interfaces -L@abs_top_builddir@/gst-libs/gst/mpegts -L@abs_top_builddir@/gst-libs/gst/signalprocessor -L@abs_top_builddir@/gst-libs/gst/video +Libs: -L@abs_top_builddir@/gst-libs/gst/audio/.libs -L@abs_top_builddir@/gst-libs/gst/basecamerabinsrc/.libs -L@abs_top_builddir@/gst-libs/gst/codecparsers/.libs -L@abs_top_builddir@/gst-libs/gst/gl/.libs -L@abs_top_builddir@/gst-libs/gst/insertbin/.libs -L@abs_top_builddir@/gst-libs/gst/interfaces/.libs -L@abs_top_builddir@/gst-libs/gst/mpegts/.libs -L@abs_top_builddir@/gst-libs/gst/player/.libs -L@abs_top_builddir@/gst-libs/gst/signalprocessor/.libs -L@abs_top_builddir@/gst-libs/gst/video/.libs -L@abs_top_builddir@/gst-libs/gst/wayland/.libs Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-wayland-uninstalled.pc.in b/pkgconfig/gstreamer-wayland-uninstalled.pc.in index fe01de6e5..80d6e1b43 100644 --- a/pkgconfig/gstreamer-wayland-uninstalled.pc.in +++ b/pkgconfig/gstreamer-wayland-uninstalled.pc.in @@ -1,12 +1,12 @@ prefix= exec_prefix= -libdir=${pcfiledir}/../gst-libs/gst/wayland +libdir=${pcfiledir}/../gst-libs/gst/wayland/.libs includedir=${pcfiledir}/../gst-libs Name: GStreamer Wayland, Uninstalled Description: GStreamer Wayland support, uninstalled Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@ Version: @VERSION@ -Libs: -L${libdir} ${libdir}/libgstwayland-@GST_API_VERSION@.la +Libs: -L${libdir} -lgstwayland-@GST_API_VERSION@ Cflags: -I${includedir} |