changeset 3114:774cc92d936e trunk

Add a pkg-config for audclient.
author William Pitcock <nenolod@atheme-project.org>
date Thu, 19 Jul 2007 20:05:34 -0500
parents 2520e8b6cf5e
children 81a19da542c5
files Makefile audclient.pc.in configure.ac
diffstat 3 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jul 19 19:59:49 2007 -0500
+++ b/Makefile	Thu Jul 19 20:05:34 2007 -0500
@@ -18,7 +18,8 @@
 	fi
 
 OBJECTIVE_DATA =							\
-	audacious.pc:$(LIBDIR)/pkgconfig
+	audacious.pc:$(LIBDIR)/pkgconfig				\
+	audclient.pc:$(LIBDIR)/pkgconfig
 
 build-posthook:
 	@( \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/audclient.pc.in	Thu Jul 19 20:05:34 2007 -0500
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+data_dir=@datadir@/@PACKAGE_NAME@
+
+version=@PACKAGE_VERSION@
+audacious_include_dir=@includedir@
+lib_dir=@libdir@
+
+Name: Audacious Client Library
+Description: Remote control library for Audacious
+Version: @PACKAGE_VERSION@
+Requires: @PC_REQUIRES@
+Libs: -L${lib_dir} @LIBAUDCLIENT_LDFLAGS@
+Cflags: -I${audacious_include_dir}
--- a/configure.ac	Thu Jul 19 19:59:49 2007 -0500
+++ b/configure.ac	Thu Jul 19 20:05:34 2007 -0500
@@ -449,6 +449,7 @@
 
 AC_CONFIG_FILES([
 	audacious.pc
+	audclient.pc
 	mk/rules.mk
 	man/audtool.1
 	man/audacious.1