diff options
Diffstat (limited to 'pkgconfig')
-rw-r--r-- | pkgconfig/Makefile.am | 38 | ||||
-rw-r--r-- | pkgconfig/gstreamer-media-info-uninstalled.pc.in | 12 | ||||
-rw-r--r-- | pkgconfig/gstreamer-media-info.pc.in | 11 |
3 files changed, 43 insertions, 18 deletions
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index cad9e26e..bd93f27c 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -7,36 +7,38 @@ GCONF_PC_UNINSTALLED= endif ### all of the standard pc files we need to generate -pcfiles = \ +pcverfiles = \ $(GCONF_PC) \ + gstreamer-interfaces-@GST_MAJORMINOR@.pc \ gstreamer-libs-@GST_MAJORMINOR@.pc \ - gstreamer-play-@GST_MAJORMINOR@.pc \ - gstreamer-interfaces-@GST_MAJORMINOR@.pc -pcfiles_uninstalled = \ + gstreamer-media-info-@GST_MAJORMINOR@.pc \ + gstreamer-play-@GST_MAJORMINOR@.pc +pcverfiles_uninstalled = \ $(GCONF_PC_UNINSTALLED) \ + gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc \ gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc \ - gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc \ - gstreamer-interfaces-@GST_MAJORMINOR@-uninstalled.pc + gstreamer-media-info-@GST_MAJORMINOR@-uninstalled.pc \ + gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc -pcfiles_gconf = $(GCONF_PC) $(GCONF_PC_UNINSTALLED) -all-local: $(pcfiles) $(pcfiles_uninstalled) +pcverfiles_gconf = $(GCONF_PC) $(GCONF_PC_UNINSTALLED) +all-local: $(pcverfiles) $(pcverfiles_uninstalled) -### how to generate pc files from .pc files in this dir -$(pcfiles): %-@GST_MAJORMINOR@.pc: %.pc +### how to generate versioned .pc files from .pc files in this dir +$(pcverfiles): %-@GST_MAJORMINOR@.pc: %.pc cp $< $@ -$(pcfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc +$(pcverfiles_uninstalled): %-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc cp $< $@ pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = \ - $(GCONF_PC) \ - gstreamer-libs-@GST_MAJORMINOR@.pc \ - gstreamer-play-@GST_MAJORMINOR@.pc \ - gstreamer-interfaces-@GST_MAJORMINOR@.pc +pkgconfig_DATA = $(pcverfiles) -CLEANFILES = $(pcfiles) $(pcfiles_uninstalled) -EXTRA_DIST= \ +CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) +pcinfiles = \ gstreamer-gconf.pc.in gstreamer-gconf-uninstalled.pc.in \ gstreamer-interfaces.pc.in gstreamer-interfaces-uninstalled.pc.in \ gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \ + gstreamer-media-info.pc.in gstreamer-media-info-uninstalled.pc.in \ gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in + +DISTCLEANFILES = $(pcinfiles:.in=) +EXTRA_DIST = $(pcinfiles) diff --git a/pkgconfig/gstreamer-media-info-uninstalled.pc.in b/pkgconfig/gstreamer-media-info-uninstalled.pc.in new file mode 100644 index 00000000..3cdd941a --- /dev/null +++ b/pkgconfig/gstreamer-media-info-uninstalled.pc.in @@ -0,0 +1,12 @@ +prefix= +exec_prefix= +libdir=${pcfiledir}/../gst-libs/gst/media-info +includedir=${pcfiledir}/../gst-libs + +Name: GStreamer Media Info Library, uninstalled +Description: Streaming-media framework, media info libraries, not installed +Requires: gstreamer-@GST_MAJORMINOR@ >= @VERSION@ +Version: @VERSION@ + +Libs: ${libdir}/libgstmedia-info-@GST_MAJORMINOR@.la +Cflags: -I${includedir} diff --git a/pkgconfig/gstreamer-media-info.pc.in b/pkgconfig/gstreamer-media-info.pc.in new file mode 100644 index 00000000..bbcfada2 --- /dev/null +++ b/pkgconfig/gstreamer-media-info.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@/gstreamer-@GST_MAJORMINOR@ + +Name: GStreamer Media Info Library +Description: Streaming-media framework, media info libraries +Requires: gstreamer-@GST_MAJORMINOR@ + +Libs: -L${libdir} -lgstmedia-info-@GST_MAJORMINOR@ +Cflags: -I${includedir} |