Provide a pkg-config file
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 30 Apr 2009 14:49:01 +0000 (17:49 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 30 Apr 2009 14:49:01 +0000 (17:49 +0300)
Now it is completely possible to write rygel plugins (easily) outside the
rygel source tree.

Makefile.am
configure.ac
rygel-1.0.pc.in [new file with mode: 0644]

index d05bc54..fddc3e7 100644 (file)
@@ -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
index 9952f10..f452143 100644 (file)
@@ -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 (file)
index 0000000..fd617f1
--- /dev/null
@@ -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