Provide one pkg-config file for every gst-plugins-base library.

Original commit message from CVS:
* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-audio-uninstalled.pc.in:
* pkgconfig/gstreamer-audio.pc.in:
* pkgconfig/gstreamer-cdda-uninstalled.pc.in:
* pkgconfig/gstreamer-cdda.pc.in:
* pkgconfig/gstreamer-fft-uninstalled.pc.in:
* pkgconfig/gstreamer-fft.pc.in:
* pkgconfig/gstreamer-floatcast-uninstalled.pc.in:
* pkgconfig/gstreamer-floatcast.pc.in:
* pkgconfig/gstreamer-interfaces-uninstalled.pc.in:
* pkgconfig/gstreamer-interfaces.pc.in:
* pkgconfig/gstreamer-netbuffer-uninstalled.pc.in:
* pkgconfig/gstreamer-netbuffer.pc.in:
* pkgconfig/gstreamer-pbutils-uninstalled.pc.in:
* pkgconfig/gstreamer-pbutils.pc.in:
* pkgconfig/gstreamer-riff-uninstalled.pc.in:
* pkgconfig/gstreamer-riff.pc.in:
* pkgconfig/gstreamer-rtp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtp.pc.in:
* pkgconfig/gstreamer-rtsp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtsp.pc.in:
* pkgconfig/gstreamer-sdp-uninstalled.pc.in:
* pkgconfig/gstreamer-sdp.pc.in:
* pkgconfig/gstreamer-tag-uninstalled.pc.in:
* pkgconfig/gstreamer-tag.pc.in:
* pkgconfig/gstreamer-video-uninstalled.pc.in:
* pkgconfig/gstreamer-video.pc.in:
Provide one pkg-config file for every gst-plugins-base library.
This makes linking to those libraries much more intuitive and
provides standard pkg-config behaviour for them. Fixes bug #499697.
This commit is contained in:
Sebastian Dröge 2008-01-14 13:11:05 +00:00
parent 5aad3658f8
commit 3809775d31
29 changed files with 423 additions and 0 deletions

View file

@ -1,3 +1,37 @@
2008-01-14 Sebastian Dröge <slomo@circular-chaos.org>
* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/gstreamer-audio-uninstalled.pc.in:
* pkgconfig/gstreamer-audio.pc.in:
* pkgconfig/gstreamer-cdda-uninstalled.pc.in:
* pkgconfig/gstreamer-cdda.pc.in:
* pkgconfig/gstreamer-fft-uninstalled.pc.in:
* pkgconfig/gstreamer-fft.pc.in:
* pkgconfig/gstreamer-floatcast-uninstalled.pc.in:
* pkgconfig/gstreamer-floatcast.pc.in:
* pkgconfig/gstreamer-interfaces-uninstalled.pc.in:
* pkgconfig/gstreamer-interfaces.pc.in:
* pkgconfig/gstreamer-netbuffer-uninstalled.pc.in:
* pkgconfig/gstreamer-netbuffer.pc.in:
* pkgconfig/gstreamer-pbutils-uninstalled.pc.in:
* pkgconfig/gstreamer-pbutils.pc.in:
* pkgconfig/gstreamer-riff-uninstalled.pc.in:
* pkgconfig/gstreamer-riff.pc.in:
* pkgconfig/gstreamer-rtp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtp.pc.in:
* pkgconfig/gstreamer-rtsp-uninstalled.pc.in:
* pkgconfig/gstreamer-rtsp.pc.in:
* pkgconfig/gstreamer-sdp-uninstalled.pc.in:
* pkgconfig/gstreamer-sdp.pc.in:
* pkgconfig/gstreamer-tag-uninstalled.pc.in:
* pkgconfig/gstreamer-tag.pc.in:
* pkgconfig/gstreamer-video-uninstalled.pc.in:
* pkgconfig/gstreamer-video.pc.in:
Provide one pkg-config file for every gst-plugins-base library.
This makes linking to those libraries much more intuitive and
provides standard pkg-config behaviour for them. Fixes bug #499697.
2008-01-13 David Schleef <ds@schleef.org>
* gst/videoscale/vs_4tap.c:

View file

@ -686,6 +686,32 @@ gst-libs/gst/video/Makefile
tools/Makefile
win32/common/config.h
pkgconfig/Makefile
pkgconfig/gstreamer-audio.pc
pkgconfig/gstreamer-audio-uninstalled.pc
pkgconfig/gstreamer-cdda.pc
pkgconfig/gstreamer-cdda-uninstalled.pc
pkgconfig/gstreamer-fft.pc
pkgconfig/gstreamer-fft-uninstalled.pc
pkgconfig/gstreamer-floatcast.pc
pkgconfig/gstreamer-floatcast-uninstalled.pc
pkgconfig/gstreamer-interfaces.pc
pkgconfig/gstreamer-interfaces-uninstalled.pc
pkgconfig/gstreamer-netbuffer.pc
pkgconfig/gstreamer-netbuffer-uninstalled.pc
pkgconfig/gstreamer-pbutils.pc
pkgconfig/gstreamer-pbutils-uninstalled.pc
pkgconfig/gstreamer-riff.pc
pkgconfig/gstreamer-riff-uninstalled.pc
pkgconfig/gstreamer-rtp.pc
pkgconfig/gstreamer-rtp-uninstalled.pc
pkgconfig/gstreamer-rtsp.pc
pkgconfig/gstreamer-rtsp-uninstalled.pc
pkgconfig/gstreamer-sdp.pc
pkgconfig/gstreamer-sdp-uninstalled.pc
pkgconfig/gstreamer-tag.pc
pkgconfig/gstreamer-tag-uninstalled.pc
pkgconfig/gstreamer-video.pc
pkgconfig/gstreamer-video-uninstalled.pc
pkgconfig/gstreamer-plugins-base.pc
pkgconfig/gstreamer-plugins-base-uninstalled.pc
tests/Makefile

View file

@ -1,7 +1,33 @@
### all of the standard pc files we need to generate
pcverfiles = \
gstreamer-audio-@GST_MAJORMINOR@.pc \
gstreamer-cdda-@GST_MAJORMINOR@.pc \
gstreamer-fft-@GST_MAJORMINOR@.pc \
gstreamer-floatcast-@GST_MAJORMINOR@.pc \
gstreamer-interfaces-@GST_MAJORMINOR@.pc \
gstreamer-netbuffer-@GST_MAJORMINOR@.pc \
gstreamer-pbutils-@GST_MAJORMINOR@.pc \
gstreamer-riff-@GST_MAJORMINOR@.pc \
gstreamer-rtp-@GST_MAJORMINOR@.pc \
gstreamer-rtsp-@GST_MAJORMINOR@.pc \
gstreamer-sdp-@GST_MAJORMINOR@.pc \
gstreamer-tag-@GST_MAJORMINOR@.pc \
gstreamer-video-@GST_MAJORMINOR@.pc \
gstreamer-plugins-base-@GST_MAJORMINOR@.pc
pcverfiles_uninstalled = \
gstreamer-audio-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-cdda-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-fft-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-floatcast-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-netbuffer-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-pbutils-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-riff-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-rtp-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-rtsp-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-sdp-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-tag-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-video-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-plugins-base-@GST_MAJORMINOR@-uninstalled.pc
all-local: $(pcverfiles) $(pcverfiles_uninstalled)
@ -17,6 +43,19 @@ pkgconfig_DATA = $(pcverfiles)
CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
pcinfiles = \
gstreamer-audio.pc.in gstreamer-audio-uninstalled.pc.in \
gstreamer-cdda.pc.in gstreamer-cdda-uninstalled.pc.in \
gstreamer-fft.pc.in gstreamer-fft-uninstalled.pc.in \
gstreamer-floatcast.pc.in gstreamer-floatcast-uninstalled.pc.in \
gstreamer-interfaces.pc.in gstreamer-interfaces-uninstalled.pc.in \
gstreamer-netbuffer.pc.in gstreamer-netbuffer-uninstalled.pc.in \
gstreamer-pbutils.pc.in gstreamer-pbutils-uninstalled.pc.in \
gstreamer-riff.pc.in gstreamer-riff-uninstalled.pc.in \
gstreamer-rtp.pc.in gstreamer-rtp-uninstalled.pc.in \
gstreamer-rtsp.pc.in gstreamer-rtsp-uninstalled.pc.in \
gstreamer-sdp.pc.in gstreamer-sdp-uninstalled.pc.in \
gstreamer-tag.pc.in gstreamer-tag-uninstalled.pc.in \
gstreamer-video.pc.in gstreamer-video-uninstalled.pc.in \
gstreamer-plugins-base.pc.in gstreamer-plugins-base-uninstalled.pc.in
DISTCLEANFILES = $(pcinfiles:.in=)

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/audio
includedir=${pcfiledir}/../gst-libs
Name: GStreamer Audio Library, Uninstalled
Description: Audio helper functions and base classes, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ gstreamer-interfaces-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstaudio-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer Audio library
Description: Audio helper functions and base classes
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ gstreamer-interfaces-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstaudio-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/cdda
includedir=${pcfiledir}/../gst-libs
Name: GStreamer CDDA Library, Uninstalled
Description: CDDA base classes, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ gstreamer-tag-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstcdda-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer CDDA Library
Description: CDDA base classes
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ gstreamer-tag-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstcdda-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/fft
includedir=${pcfiledir}/../gst-libs
Name: GStreamer FFT Library, Uninstalled
Description: FFT implementation, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstfft-@GST_MAJORMINOR@.la -lm
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer FFT Library
Description: FFT implementation
Requires: gstreamer-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstfft-@GST_MAJORMINOR@ -lm
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/floatcast
includedir=${pcfiledir}/../gst-libs
Name: GStreamer Floatcast Library, Uninstalled
Description: Platform independent floating point macros, uninstalled
Version: @VERSION@
Requires: glib-2.0
Libs: -lm
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer Floatcast Library
Description: Platform independent floating point macros
Requires: glib-2.0
Version: @VERSION@
Cflags: -I${includedir}
Libs: -lm

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/interfaces
includedir=${pcfiledir}/../gst-libs
Name: GStreamer Interfaces Library, Uninstalled
Description: Interfaces for GStreamer elements, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstinterfaces-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer Interfaces Library
Description: Interfaces for GStreamer elements
Requires: gstreamer-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstinterfaces-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/netbuffer
includedir=${pcfiledir}/../gst-libs
Name: GStreamer Network Buffer Library, Uninstalled
Description: Network buffer for use in network sources/sinks, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstnetbuffer-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer Network Buffer Library
Description: Network buffer for use in network sources/sinks
Requires: gstreamer-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstnetbuffer-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/pbutils
includedir=${pcfiledir}/../gst-libs
Name: GStreamer Base Utils Library, Uninstalled
Description: General utility functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstpbutils-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer Base Utils Library
Description: General utility functions
Requires: gstreamer-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstpbutils-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/riff
includedir=${pcfiledir}/../gst-libs
Name: GStreamer RIFF Library, Uninstalled
Description: RIFF helper functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstriff-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer RIFF Library
Description: RIFF helper functions
Requires: gstreamer-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstriff-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/rtp
includedir=${pcfiledir}/../gst-libs
Name: GStreamer RTP Library, Uninstalled
Description: RTP base classes and helper functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstrtp-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer RTP Library
Description: RTP base classes and helper functions
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstrtp-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/rtsp
includedir=${pcfiledir}/../gst-libs
Name: GStreamer RTSP Library, Uninstalled
Description: RTSP base classes and helper functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-sdp-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstrtsp-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer RTSP Library
Description: RTSP base classes and helper functions
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-sdp-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstrtsp-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/sdp
includedir=${pcfiledir}/../gst-libs
Name: GStreamer SDP Library, Uninstalled
Description: SDP helper functions, uninstalled
Version: @VERSION@
Requires: glib-2.0
Libs: -L${libdir} ${libdir}/libgstsdp-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer SDP Library
Description: SDP helper functions
Requires: glib-2.0
Version: @VERSION@
Libs: -L${libdir} -lgstsdp-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/tag
includedir=${pcfiledir}/../gst-libs
Name: GStreamer Tag Library, Uninstalled
Description: Tag base classes and helper functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgsttag-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer Tag Library
Description: Tag base classes and helper functions
Requires: gstreamer-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgsttag-@GST_MAJORMINOR@
Cflags: -I${includedir}

View file

@ -0,0 +1,13 @@
prefix=
exec_prefix=
libdir=${pcfiledir}/../gst-libs/gst/video
includedir=${pcfiledir}/../gst-libs
Name: GStreamer Video Library, Uninstalled
Description: Video base classes and helper functions, uninstalled
Version: @VERSION@
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@
Libs: -L${libdir} ${libdir}/libgstvideo-@GST_MAJORMINOR@.la
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
Name: GStreamer Video Library
Description: Video base classes and helper functions
Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@
Version: @VERSION@
Libs: -L${libdir} -lgstvideo-@GST_MAJORMINOR@
Cflags: -I${includedir}