[rygel] Provide a pkg-config file



commit cdddb3690a383cb697cd014d0abe0129035c386e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Apr 30 17:49:01 2009 +0300

    Provide a pkg-config file
    
    Now it is completely possible to write rygel plugins (easily) outside the
    rygel source tree.
---
 Makefile.am     |    7 +++++++
 configure.ac    |    1 +
 rygel-1.0.pc.in |   12 ++++++++++++
 3 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d05bc54..fddc3e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,11 @@
 SUBDIRS = src data
 
+pkgconfig_DATA= rygel-1.0.pc
+pkgconfigdir = $(libdir)/pkgconfig
+
+EXTRA_DIST = rygel-1.0.pc.in
+
+DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+
 # Extra clean files so that maintainer-clean removes *everything*
 MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing config.h.in
diff --git a/configure.ac b/configure.ac
index 9952f10..f452143 100644
--- a/configure.ac
+++ b/configure.ac
@@ -191,4 +191,5 @@ src/plugins/tracker/Makefile
 src/plugins/test/Makefile
 data/Makefile
 data/xml/Makefile
+rygel-1.0.pc
 ])
diff --git a/rygel-1.0.pc.in b/rygel-1.0.pc.in
new file mode 100644
index 0000000..fd617f1
--- /dev/null
+++ b/rygel-1.0.pc.in
@@ -0,0 +1,12 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
+
+Name: rygel-1.0
+Description: GNOME (Mobile) UPnP/DLNA Media Server
+Version: @VERSION@
+Libs:
+Cflags: -I${includedir}/rygel-1.0
+Requires: gupnp-av-1.0 gconf-2.0 gee-1.0 gstreamer-0.10
+Requires.Private: uuid gmodule-2.0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]