[farsight2/master] Add .pc file for the upnp lib
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:25:00 PST 2008
---
Makefile.am | 8 ++++++--
configure.ac | 1 +
farsight2-upnp.pc.in | 12 ++++++++++++
3 files changed, 19 insertions(+), 2 deletions(-)
create mode 100644 farsight2-upnp.pc.in
diff --git a/Makefile.am b/Makefile.am
index 7a54148..4108593 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -42,7 +42,11 @@ check-torture:
endif
pcverfiles = farsight2- at GST_MAJORMINOR@.pc
-pcinfiles = farsight2.pc.in
+pcinfiles = farsight2.pc.in farsight2-upnp.pc.in
+
+if WANT_GUPNP
+pcverfiles += farsight2-upnp.pc
+endif
%- at GST_MAJORMINOR@.pc: %.pc
cp $< $@
@@ -50,7 +54,7 @@ pcinfiles = farsight2.pc.in
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pcverfiles)
-CLEANFILES = $(pcverfiles)
+CLEANFILES = $(pcverfiles) farsight2-upnp.pc
DISTCLEANFILES = $(pcinfiles:.in=)
diff --git a/configure.ac b/configure.ac
index c68b4b4..7a1a5b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -387,6 +387,7 @@ dnl *** output files ***
AC_CONFIG_FILES(
Makefile
farsight2.pc
+farsight2-upnp.pc
gst/Makefile
gst/fsrtpconference/Makefile
gst/funnel/Makefile
diff --git a/farsight2-upnp.pc.in b/farsight2-upnp.pc.in
new file mode 100644
index 0000000..20022f8
--- /dev/null
+++ b/farsight2-upnp.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer- at GST_MAJORMINOR@
+
+Name: Farsight2 GUPnP wrapper
+Description: Farsight2 GUPnP wrapper library
+Requires: gupnp-1.0
+Version: @VERSION@
+Libs: -L${libdir} -lfsupnp
+Cflags: -I${includedir}
+
--
1.5.6.5
More information about the farsight-commits
mailing list