From 2c158ffad98e958104062cc9926bb4f949aee0e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Mon, 23 Feb 2009 23:18:33 +0200 Subject: [PATCH] Add pkgconfig files for photography interface library. --- Makefile.am | 4 ++-- configure.ac | 3 +++ pkgconfig/Makefile.am | 6 +++--- pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in | 13 +++++++++++++ pkgconfig/gstreamer-plugins-bad.pc.in | 12 ++++++++++++ 5 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in create mode 100644 pkgconfig/gstreamer-plugins-bad.pc.in diff --git a/Makefile.am b/Makefile.am index 94bca7a282..eb588f5f4a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,11 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc SUBDIRS = \ - gst-libs gst sys ext \ + gst-libs gst sys ext pkgconfig \ m4 common docs tests po DIST_SUBDIRS = \ - gst gst-libs sys ext \ + gst gst-libs sys ext pkgconfig \ m4 common docs tests po # include before EXTRA_DIST for win32 assignment diff --git a/configure.ac b/configure.ac index 4e0a415207..9bf1d9778f 100644 --- a/configure.ac +++ b/configure.ac @@ -1879,6 +1879,9 @@ docs/Makefile docs/plugins/Makefile docs/plugins/figures/Makefile docs/version.entities +pkgconfig/Makefile +pkgconfig/gstreamer-plugins-bad.pc +pkgconfig/gstreamer-plugins-bad-uninstalled.pc m4/Makefile win32/common/config.h ) diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 6b2cd965cb..3acb3f8e99 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -1,9 +1,9 @@ ### all of the standard pc files we need to generate pcverfiles = \ - gstreamer-libs-@GST_MAJORMINOR@.pc + gstreamer-plugins-bad-@GST_MAJORMINOR@.pc pcverfiles_uninstalled = \ - gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc + gstreamer-plugins-bad-@GST_MAJORMINOR@-uninstalled.pc all-local: $(pcverfiles) $(pcverfiles_uninstalled) @@ -18,7 +18,7 @@ pkgconfig_DATA = $(pcverfiles) CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled) pcinfiles = \ - gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in + gstreamer-plugins-bad.pc.in gstreamer-plugins-bad-uninstalled.pc.in DISTCLEANFILES = $(pcinfiles:.in=) EXTRA_DIST = $(pcinfiles) diff --git a/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in b/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in new file mode 100644 index 0000000000..4b6d69d5a0 --- /dev/null +++ b/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in @@ -0,0 +1,13 @@ +prefix= +exec_prefix= +libdir=${pcfiledir}/../gst-libs/gst/interfaces +includedir=${pcfiledir}/../gst-libs + +Name: GStreamer Bad Plugin libraries, Uninstalled +Description: Currently includes the photography interface library, uninstalled +Version: @VERSION@ +Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ + +Libs: -L${libdir} ${libdir}/libgstphotography-@GST_MAJORMINOR@.la +Cflags: -I${includedir} + diff --git a/pkgconfig/gstreamer-plugins-bad.pc.in b/pkgconfig/gstreamer-plugins-bad.pc.in new file mode 100644 index 0000000000..c75ff59c77 --- /dev/null +++ b/pkgconfig/gstreamer-plugins-bad.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@/gstreamer-@GST_MAJORMINOR@ + +Name: GStreamer Bad Plugin libraries +Description: Currently includes the photography interface library +Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ +Version: @VERSION@ +Libs: -L${libdir} -lgstphotography-@GST_MAJORMINOR@ +Cflags: -I${includedir} +