From 12b60c256b95944184a7b2415e7e63976f648ec8 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 3 Apr 2006 09:02:29 +0000 Subject: [PATCH] add a .pc file so other modules can use good plugins in tests Original commit message from CVS: * Makefile.am: * configure.ac: * pkgconfig/.cvsignore: * pkgconfig/Makefile.am: * pkgconfig/gstreamer-plugins-good-uninstalled.pc.in: add a .pc file so other modules can use good plugins in tests --- ChangeLog | 9 +++++++ Makefile.am | 4 ++- configure.ac | 2 ++ pkgconfig/.gitignore | 1 + pkgconfig/Makefile.am | 25 +++++++++++++++++++ .../gstreamer-plugins-good-uninstalled.pc.in | 13 ++++++++++ 6 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 pkgconfig/.gitignore create mode 100644 pkgconfig/Makefile.am create mode 100644 pkgconfig/gstreamer-plugins-good-uninstalled.pc.in diff --git a/ChangeLog b/ChangeLog index d0df82dfeb..d2ab7d4e05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-04-03 Thomas Vander Stichele + + * Makefile.am: + * configure.ac: + * pkgconfig/.cvsignore: + * pkgconfig/Makefile.am: + * pkgconfig/gstreamer-plugins-good-uninstalled.pc.in: + add a .pc file so other modules can use good plugins in tests + 2006-04-01 Thomas Vander Stichele * configure.ac: diff --git a/Makefile.am b/Makefile.am index 40ea777429..76a0a83dd6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,9 @@ ALWAYS_SUBDIRS = \ tests \ docs \ po \ - m4 common + common \ + m4 \ + pkgconfig SUBDIRS = \ $(ALWAYS_SUBDIRS) \ diff --git a/configure.ac b/configure.ac index 065298facb..d8182d46cc 100644 --- a/configure.ac +++ b/configure.ac @@ -695,6 +695,8 @@ tests/examples/level/Makefile common/Makefile common/m4/Makefile m4/Makefile +pkgconfig/Makefile +pkgconfig/gstreamer-plugins-good-uninstalled.pc gst-plugins-good.spec ) AC_OUTPUT diff --git a/pkgconfig/.gitignore b/pkgconfig/.gitignore new file mode 100644 index 0000000000..6fd0ef029e --- /dev/null +++ b/pkgconfig/.gitignore @@ -0,0 +1 @@ +*.pc diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am new file mode 100644 index 0000000000..0b183655bf --- /dev/null +++ b/pkgconfig/Makefile.am @@ -0,0 +1,25 @@ +### all of the standard pc files we need to generate +pcverfiles = \ + gstreamer-plugins-good-@GST_MAJORMINOR@.pc +pcverfiles_uninstalled = \ + gstreamer-plugins-good-@GST_MAJORMINOR@-uninstalled.pc + +### all-local: $(pcverfiles) $(pcverfiles_uninstalled) +all-local: $(pcverfiles_uninstalled) + +### how to generate versioned .pc files from .pc files in this dir +%-@GST_MAJORMINOR@.pc: %.pc + cp $< $@ +%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc + cp $< $@ + +# do not install for now +# pkgconfigdir = $(libdir)/pkgconfig +# pkgconfig_DATA = $(pcverfiles) + +CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) +pcinfiles = \ + gstreamer-plugins-good.pc.in gstreamer-plugins-good-uninstalled.pc.in + +DISTCLEANFILES = $(pcinfiles:.in=) +EXTRA_DIST = $(pcinfiles) diff --git a/pkgconfig/gstreamer-plugins-good-uninstalled.pc.in b/pkgconfig/gstreamer-plugins-good-uninstalled.pc.in new file mode 100644 index 0000000000..79eeb6e658 --- /dev/null +++ b/pkgconfig/gstreamer-plugins-good-uninstalled.pc.in @@ -0,0 +1,13 @@ +prefix= +exec_prefix= +libdir=${pcfiledir}/../gst-libs/gst +includedir=${pcfiledir}/../gst-libs +pluginsdir=${pcfiledir}/.. + +Name: GStreamer Good Plugins, Uninstalled +Description: Streaming media framework, good plugins, uninstalled +Version: @VERSION@ +Requires: gstreamer-@GST_MAJORMINOR@ gst-plugins-base-@GST_MAJORMINOR@ + +Libs: +Cflags: -- 2.34.1