mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
pkg-config: Don't generate and install pkg-config with relative paths
Don't put relative paths in pkg-config files, including uninstalled ones. For those, use @abs_topbuilddir@ and @abs_topsrcdir@ as we do elsewhere. Remove libraries= directives, which doesn't seem to be a pkg-config variable that actually exists, but has been in all our pkg-config files for as long as they've existed.
This commit is contained in:
parent
cd2a8036f2
commit
fb30f07866
8 changed files with 49 additions and 55 deletions
|
@ -1,15 +1,12 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=${pcfiledir}/../gst-libs/gst/audio
|
||||
includedir=${pcfiledir}/../gst-libs
|
||||
pluginsdir=${pcfiledir}/..
|
||||
libdir=@abs_top_builddir@/gst-libs/gst/audio
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer bad audio library, uninstalled
|
||||
Description: Bad audio library for GStreamer, Not Installed
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} ${libdir}/libgstbadaudio-@GST_API_VERSION@.la @BADBASE_LIBS@
|
||||
Cflags: -I${includedir} -I@srcdir@/.. @BADBASE_CFLAGS@
|
||||
|
||||
libraries=badaudio
|
||||
Libs: @abs_top_builddir@/gst-libs/gst/audio/libgstbadaudio-@GST_API_VERSION@.la
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
|
@ -7,9 +7,7 @@ pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
|
|||
Name: GStreamer bad audio library, uninstalled
|
||||
Description: Bad audio library for GStreamer elements, Not Installed
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} ${libdir}/libgstbadaudio-@GST_API_VERSION@.la @BADBASE_LIBS@
|
||||
Cflags: -I${includedir} -I@srcdir@/.. @BADBASE_CFLAGS@
|
||||
|
||||
libraries=badaudio
|
||||
Libs: -L${libdir} ${libdir}/libgstbadaudio-@GST_API_VERSION@.la
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=${pcfiledir}/../gst-libs/gst/base
|
||||
includedir=${pcfiledir}/../gst-libs
|
||||
pluginsdir=${pcfiledir}/..
|
||||
libdir=
|
||||
includedir=@abs_top_builddir@/gst-libs
|
||||
girdir=@abs_top_builddir@/gst-libs/gst/base
|
||||
typelibdir=@abs_top_builddir@/gst-libs/gst/base
|
||||
|
||||
Name: GStreamer bad base classes, uninstalled
|
||||
Description: Bad base classes for GStreamer elements, Not Installed
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} ${libdir}/libgstbadbase-@GST_API_VERSION@.la @BADBASE_LIBS@
|
||||
Cflags: -I${includedir} -I@srcdir@/.. @BADBASE_CFLAGS@
|
||||
|
||||
libraries=badbase
|
||||
Libs: @abs_top_builddir@/gst-libs/gst/base/libgstbadbase-@GST_API_VERSION@.la
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
|
@ -2,14 +2,15 @@ prefix=@prefix@
|
|||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
|
||||
datarootdir=${prefix}/share
|
||||
datadir=${datarootdir}
|
||||
girdir=${datadir}/gir-1.0
|
||||
typelibdir=${libdir}/girepository-1.0
|
||||
|
||||
Name: GStreamer bad base classes, uninstalled
|
||||
Description: Bad base classes for GStreamer elements, Not Installed
|
||||
Name: GStreamer bad base classes
|
||||
Description: Bad base classes for GStreamer elements
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} ${libdir}/libgstbadbase-@GST_API_VERSION@.la @BADBASE_LIBS@
|
||||
Cflags: -I${includedir} -I@srcdir@/.. @BADBASE_CFLAGS@
|
||||
|
||||
libraries=badbase
|
||||
Libs: -L${libdir} ${libdir}/libgstbadbase-@GST_API_VERSION@.la
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=${pcfiledir}/../gst-libs/gst/video
|
||||
includedir=${pcfiledir}/../gst-libs
|
||||
pluginsdir=${pcfiledir}/..
|
||||
libdir=
|
||||
includedir=@abs_top_builddir@/gst-libs
|
||||
girdir=@abs_top_builddir@/gst-libs/gst/video
|
||||
typelibdir=@abs_top_builddir@/gst-libs/gst/video
|
||||
|
||||
Name: GStreamer bad video library, uninstalled
|
||||
Description: Bad video library for GStreamer, Not Installed
|
||||
Description: Bad video library for GStreamer elements, Not Installed
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} ${libdir}/libgstbadvideo-@GST_API_VERSION@.la @BADBASE_LIBS@
|
||||
Cflags: -I${includedir} -I@srcdir@/.. @BADBASE_CFLAGS@
|
||||
|
||||
libraries=badvideo
|
||||
Libs: @abs_top_builddir@/gst-libs/gst/video/libgstbadvideo-@GST_API_VERSION@.la
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
|
@ -2,14 +2,15 @@ prefix=@prefix@
|
|||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
|
||||
datarootdir=${prefix}/share
|
||||
datadir=${datarootdir}
|
||||
girdir=${datadir}/gir-1.0
|
||||
typelibdir=${libdir}/girepository-1.0
|
||||
|
||||
Name: GStreamer bad video library, uninstalled
|
||||
Description: Bad video library for GStreamer elements, Not Installed
|
||||
Name: GStreamer bad video library
|
||||
Description: Bad video library for GStreamer elements
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} ${libdir}/libgstbadvideo-@GST_API_VERSION@.la @BADBASE_LIBS@
|
||||
Cflags: -I${includedir} -I@srcdir@/.. @BADBASE_CFLAGS@
|
||||
|
||||
libraries=badvideo
|
||||
Libs: -L${libdir} ${libdir}/libgstbadvideo-@GST_API_VERSION@.la
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=${pcfiledir}/../gst-libs/gst/gl
|
||||
includedir=${pcfiledir}/../gst-libs
|
||||
pluginsdir=${pcfiledir}/..
|
||||
libdir=
|
||||
includedir=@abs_top_builddir@/gst-libs
|
||||
girdir=@abs_top_builddir@/gst-libs/gst/base
|
||||
typelibdir=@abs_top_builddir@/gst-libs/gst/base
|
||||
|
||||
Name: GStreamer OpenGL Plugins Libraries, Uninstalled
|
||||
Description: Streaming media framework, OpenGL plugins libraries, uninstalled
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} ${libdir}/libgstgl-@GST_API_VERSION@.la @GL_LIBS@
|
||||
Cflags: -I${includedir} -I@srcdir@/.. @GL_CFLAGS@
|
||||
|
||||
libraries=gl
|
||||
Libs: @abs_top_builddir@/gst-libs/gst/gl/libgstgl-@GST_API_VERSION@.la
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
|
@ -6,8 +6,8 @@ pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
|
|||
|
||||
Name: GStreamer OpenGL Plugins Libraries
|
||||
Description: Streaming media framework, OpenGL plugins libraries
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@
|
||||
Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@
|
||||
Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@
|
||||
Cflags: -I${includedir} @GL_CFLAGS@
|
||||
|
|
Loading…
Reference in a new issue