uninstalled.pc: add support for non libtool build systems
authorJulien Isorce <j.isorce@samsung.com>
Thu, 18 Feb 2016 14:20:17 +0000 (14:20 +0000)
committerJulien Isorce <j.isorce@samsung.com>
Thu, 18 Feb 2016 14:20:17 +0000 (14:20 +0000)
commit063994267ca6f0abf9bc720d73d1a3da609f75dc
treeab522083f166f9c6ac155bf0656e39b0f241bf0b
parent42968bc949289365c79e368da750dc632d5ced67
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)
Previously it required to prepend libtool --mode=link

https://bugzilla.gnome.org/show_bug.cgi?id=720778
pkgconfig/gstreamer-base-uninstalled.pc.in
pkgconfig/gstreamer-check-uninstalled.pc.in
pkgconfig/gstreamer-controller-uninstalled.pc.in
pkgconfig/gstreamer-net-uninstalled.pc.in
pkgconfig/gstreamer-uninstalled.pc.in