From: Zeeshan Ali (Khattak) Date: Thu, 30 Apr 2009 14:49:01 +0000 (+0300) Subject: Provide a pkg-config file X-Git-Tag: RYGEL_0_3~145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cdddb3690a383cb697cd014d0abe0129035c386e;p=profile%2Fivi%2Frygel.git Provide a pkg-config file Now it is completely possible to write rygel plugins (easily) outside the rygel source tree. --- 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