summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-09-08 00:09:35 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-09-08 00:11:53 +0100
commitbafd2cb4c63b7626ef6ef9697f9edf4673c168d7 (patch)
treec558c5a90a97b9e8aecc0ef83b697bd8d7f7566a /pkgconfig
parent441b894af535308c8c070d25109db9938f4516cc (diff)
Add gstreamer-plugins-ugly-uninstalled-0.10.pc file so other modules can find our plugins
This .pc file will not be installed, it's only for uninstalled setups, same thing as we do for -good. This is so other modules' unit tests can find our plugins properly in an uninstalled setup.
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/.gitignore1
-rw-r--r--pkgconfig/Makefile.am31
-rw-r--r--pkgconfig/gstreamer-plugins-ugly-uninstalled.pc.in13
3 files changed, 45 insertions, 0 deletions
diff --git a/pkgconfig/.gitignore b/pkgconfig/.gitignore
new file mode 100644
index 00000000..6fd0ef02
--- /dev/null
+++ b/pkgconfig/.gitignore
@@ -0,0 +1 @@
+*.pc
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
new file mode 100644
index 00000000..29c395af
--- /dev/null
+++ b/pkgconfig/Makefile.am
@@ -0,0 +1,31 @@
+### all of the standard pc files we need to generate
+pcverfiles = \
+ gstreamer-plugins-ugly-@GST_MAJORMINOR@.pc
+pcverfiles_uninstalled = \
+ gstreamer-plugins-ugly-@GST_MAJORMINOR@-uninstalled.pc
+
+### all-local: $(pcverfiles) $(pcverfiles_uninstalled)
+all-local: $(pcverfiles_uninstalled)
+
+cp_verbose = $(cp_verbose_$(V))
+cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
+cp_verbose_0 = @echo " CP $@";
+
+### how to generate versioned .pc files from .pc files in this dir
+%-@GST_MAJORMINOR@.pc: %.pc
+ $(cp_verbose)cp $< $@
+%-@GST_MAJORMINOR@-uninstalled.pc: %-uninstalled.pc
+ $(cp_verbose)cp $< $@
+
+# do not install for now
+# pkgconfigdir = $(libdir)/pkgconfig
+# pkgconfig_DATA = $(pcverfiles)
+
+CLEANFILES = $(pcverfiles) $(pcverfiles_uninstalled)
+# pcinfiles = \
+# gstreamer-plugins-ugly.pc.in gstreamer-plugins-ugly-uninstalled.pc.in
+pcinfiles = \
+ gstreamer-plugins-ugly-uninstalled.pc.in
+
+DISTCLEANFILES = $(pcinfiles:.in=)
+EXTRA_DIST = $(pcinfiles)
diff --git a/pkgconfig/gstreamer-plugins-ugly-uninstalled.pc.in b/pkgconfig/gstreamer-plugins-ugly-uninstalled.pc.in
new file mode 100644
index 00000000..2a9ee09a
--- /dev/null
+++ b/pkgconfig/gstreamer-plugins-ugly-uninstalled.pc.in
@@ -0,0 +1,13 @@
+prefix=
+exec_prefix=
+libdir=@abs_top_builddir@/gst-libs/gst
+includedir=@abs_top_builddir@/gst-libs
+pluginsdir=@abs_top_builddir@
+
+Name: GStreamer Ugly Plugins, Uninstalled
+Description: Streaming media framework, ugly plugins, uninstalled
+Version: @VERSION@
+Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-plugins-base-@GST_MAJORMINOR@
+
+Libs:
+Cflags: