mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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
This commit is contained in:
parent
0da3390692
commit
496e7b4568
10 changed files with 20 additions and 19 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue