more uninstalled fixes
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 27 Apr 2003 15:20:07 +0000 (15:20 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 27 Apr 2003 15:20:07 +0000 (15:20 +0000)
Original commit message from CVS:
more uninstalled fixes

gst-libs/gst/gconf/Makefile.am
pkgconfig/Makefile.am
pkgconfig/gstreamer-gconf-uninstalled.pc.in
pkgconfig/gstreamer-play-uninstalled.pc.in

index faec62223b7da2f5fcac1c6e9ebef62ced2ac685..a19987674b6fbab4887919d3af7f05cde056f164 100644 (file)
@@ -16,4 +16,6 @@ libgstgconf_@GST_MAJORMINOR@_la_LIBADD = $(GCONF_LIBS) $(GST_LIBS)
 libgstgconf_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS)
 libgstgconf_@GST_MAJORMINOR@_la_LDFLAGS = @GST_PLUGINS_LT_LDFLAGS@ -version-info @GST_PLUGINS_LIBVERSION@
 
+CLEANFILES = gstreamer-gconf.pc gstreamer-gconf-uninstalled.pc
+
 EXTRA_DIST = gstreamer-gconf.pc.in gstreamer-gconf-uninstalled.pc.in
index 7c136f27e4bafa4bb5141ebd8c9686c1c820f20b..26e80bb1529088f592be29108196f4119f707f36 100644 (file)
@@ -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
index 932f3eb742db1321d39513fdac64628ee9619aa2..ad3439b4821e4867b535b934363dba4e8d2feeb5 100644 (file)
@@ -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
index 0ed0a119a693b78dcc69edb2b3f80f92c867dd4d..6bc27e77ef58185058719e52225fb1b82b70e1df 100644 (file)
@@ -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