[rhythmbox] add a pkg-config file for the plugin API



commit 7c5b6310b037479bf4f24c99576ccd6ad47bbdff
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Apr 17 22:45:47 2010 +1000

    add a pkg-config file for the plugin API

 Makefile.am     |    4 ++++
 configure.ac    |    2 ++
 rhythmbox.pc.in |   14 ++++++++++++++
 3 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 863cc29..bf7d364 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,7 @@ EXTRA_DIST = 			\
 	autogen.sh		\
 	config.h.in		\
 	gnome-doc-utils.make	\
+	rhythmbox.pc.in		\
 	MAINTAINERS		\
 	MAINTAINERS.old		\
 	DOCUMENTERS		\
@@ -24,6 +25,9 @@ DISTCLEANFILES =			\
 
 CLEANFILES = ./po/.intltool-merge-cache
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = rhythmbox.pc
+
 CHANGELOG_START = RHYTHMBOX-0_12_0
 
 ChangeLog:
diff --git a/configure.ac b/configure.ac
index e420825..37a6c25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,6 +2,7 @@ AC_PREREQ(2.53)
 AC_INIT([rhythmbox],
 	[0.12.8],
 	[https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox])
+AC_CONFIG_SRCDIR(rhythmbox.pc.in)
 AC_CONFIG_MACRO_DIR(macros)
 AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
@@ -801,6 +802,7 @@ dnl end-game
 dnl ================================================================
 
 AC_OUTPUT([
+rhythmbox.pc
 Makefile
 macros/Makefile
 lib/Makefile
diff --git a/rhythmbox.pc.in b/rhythmbox.pc.in
new file mode 100644
index 0000000..d5e18ba
--- /dev/null
+++ b/rhythmbox.pc.in
@@ -0,0 +1,14 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+includedir= includedir@
+
+plugindir= libdir@/rhythmbox/plugins
+
+Name: rhythmbox
+Description: plugin API for rhythmbox
+Version: @VERSION@
+Requires: glib-2.0 gobject-2.0 gio-2.0 gtk+-2.0 libsoup-2.4 libsoup-gnome-2.4 gnome-media-profiles totem-plparser gstreamer-0.10
+Requires.private: libxml-2.0
+Libs: -L${libdir} -lrhythmbox-core
+Cflags: -I${includedir}/rhythmbox



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