summaryrefslogtreecommitdiffstats
path: root/pkgconfig
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-04-27 15:20:07 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-04-27 15:20:07 +0000
commit077be4ccbd714dd3b7510d76f3470e45366ff8f7 (patch)
tree1e31ae2cef62e348d385525ab001ffc6cc3a8ec1 /pkgconfig
parent0cf957d4734102fd160d37cc2bb333a86a63a0e8 (diff)
downloadgst-plugins-bad-077be4ccbd714dd3b7510d76f3470e45366ff8f7.tar.gz
gst-plugins-bad-077be4ccbd714dd3b7510d76f3470e45366ff8f7.tar.bz2
gst-plugins-bad-077be4ccbd714dd3b7510d76f3470e45366ff8f7.zip
more uninstalled fixes
Original commit message from CVS: more uninstalled fixes
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/Makefile.am20
-rw-r--r--pkgconfig/gstreamer-gconf-uninstalled.pc.in4
-rw-r--r--pkgconfig/gstreamer-play-uninstalled.pc.in4
3 files changed, 15 insertions, 13 deletions
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
index 7c136f27..26e80bb1 100644
--- a/pkgconfig/Makefile.am
+++ b/pkgconfig/Makefile.am
@@ -14,21 +14,23 @@ pcfiles_uninstalled = \
gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc \
gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc
-all-local: $(pcfiles) $(pcfiles_uninstalled) \
- $(GCONF_PC) \
- $(GCONF_PC_UNINSTALLED)
+pcfiles_gconf = $(GCONF_PC) $(GCONF_PC_UNINSTALLED)
+all-local: $(pcfiles) $(pcfiles_uninstalled) $(pcfiles_gconf)
-### how to generate pc files
+### how to generate pc files from .pc files in this dir
$(pcfiles): %-@GST_MAJORMINOR@.pc: %.pc
cp $< $@
$(pcfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
cp $< $@
-gstreamer-gconf-@GST_MAJORMINOR@.pc: \
- $(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf.pc
- cp $< $@
-gstreamer-gconf-@GST_MAJORMINOR@-uninstalled.pc: \
- $(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf-uninstalled.pc
+### how to generate gconf dir pc files from their pc.in files
+### somebody smart could figure out how to fold this back into one rule
+$(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf*.pc:
+ cd $(srcdir)/../gst-libs/gst/gconf && make gstreamer-gconf.pc gstreamer-gconf-uninstalled.pc
+
+### how to generate pc files from base .pc file in other dir
+$(pcfiles_gconf): gstreamer-gconf-@GST_MAJORMINOR@%.pc: \
+ $(srcdir)/../gst-libs/gst/gconf/gstreamer-gconf%.pc
cp $< $@
pkgconfigdir = $(libdir)/pkgconfig
diff --git a/pkgconfig/gstreamer-gconf-uninstalled.pc.in b/pkgconfig/gstreamer-gconf-uninstalled.pc.in
index 932f3eb7..ad3439b4 100644
--- a/pkgconfig/gstreamer-gconf-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-gconf-uninstalled.pc.in
@@ -9,5 +9,5 @@ Description: Streaming media framework, GConf support library, not installed
Requires: gstreamer >= @VERSION@
Version: @VERSION@
-Libs: ${pcfiledir}/gst-libs/gst/gconf/libgstgconf-@GST_MAJORMINOR@.la
-Cflags: -I${pcfiledir}/gst-libs
+Libs: ${pcfiledir}/../gst-libs/gst/gconf/libgstgconf-@GST_MAJORMINOR@.la
+Cflags: -I${pcfiledir}/../gst-libs
diff --git a/pkgconfig/gstreamer-play-uninstalled.pc.in b/pkgconfig/gstreamer-play-uninstalled.pc.in
index 0ed0a119..6bc27e77 100644
--- a/pkgconfig/gstreamer-play-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-play-uninstalled.pc.in
@@ -6,8 +6,8 @@ includedir=${pcfiledir}
Name: GStreamer Play Library, uninstalled
Description: Streaming-media framework, play libraries, not installed
-Requires: gstreamer >= @VERSION@
+Requires: gstreamer >= @VERSION@ gstreamer-control >= @VERSION@
Version: @VERSION@
-Libs: ${pcfiledir}/../gst-libs/gst/play/libgstplay-@GST_MAJORMINOR@.la -lgstcontrol-@GST_MAJORMINOR@
+Libs: ${pcfiledir}/../gst-libs/gst/play/libgstplay-@GST_MAJORMINOR@.la
Cflags: -I${pcfiledir}/../gst-libs