uninstalled.pc: add support for non libtool build systems
authorJulien Isorce <j.isorce@samsung.com>
Thu, 18 Feb 2016 14:31:28 +0000 (14:31 +0000)
committerJulien Isorce <j.isorce@samsung.com>
Thu, 18 Feb 2016 14:31:28 +0000 (14:31 +0000)
commitc94ac3617314451833ad37430ac042e288093696
tree06e1fbdbdb874841fa2cda675cd29c930a323ba5
parent9cf5645860237294851ca0552f16720a4d27a39d
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-video-1.0)
Previously it required to prepend libtool --mode=link

https://bugzilla.gnome.org/show_bug.cgi?id=720778
12 files changed:
pkgconfig/gstreamer-allocators-uninstalled.pc.in
pkgconfig/gstreamer-app-uninstalled.pc.in
pkgconfig/gstreamer-audio-uninstalled.pc.in
pkgconfig/gstreamer-fft-uninstalled.pc.in
pkgconfig/gstreamer-pbutils-uninstalled.pc.in
pkgconfig/gstreamer-plugins-base-uninstalled.pc.in
pkgconfig/gstreamer-riff-uninstalled.pc.in
pkgconfig/gstreamer-rtp-uninstalled.pc.in
pkgconfig/gstreamer-rtsp-uninstalled.pc.in
pkgconfig/gstreamer-sdp-uninstalled.pc.in
pkgconfig/gstreamer-tag-uninstalled.pc.in
pkgconfig/gstreamer-video-uninstalled.pc.in