more uninstalled fixes

Original commit message from CVS:
more uninstalled fixes
This commit is contained in:
Thomas Vander Stichele 2003-04-27 15:20:07 +00:00
parent 5e5ec63757
commit 4ffaf1f893
4 changed files with 17 additions and 13 deletions

View 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

View 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

View 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

View 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