gstreamer/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in
Julien Isorce 496e7b4568 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
2016-02-18 17:40:46 +00:00

13 lines
392 B
PkgConfig

prefix=
exec_prefix=
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} -lgstcodecparsers-@GST_API_VERSION@
Cflags: -I${includedir}