speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 1/3] added pkgconfig support


From: Andrei Kholodnyi
Subject: [PATCH 1/3] added pkgconfig support
Date: Sat, 11 Sep 2010 11:51:00 +0200

---
 Makefile.am             |    3 +++
 configure.ac            |   23 +++++++++++++++++++++--
 speech-dispatcher.pc.in |   11 +++++++++++
 3 files changed, 35 insertions(+), 2 deletions(-)
 create mode 100644 speech-dispatcher.pc.in

diff --git a/Makefile.am b/Makefile.am
index 822e876..30008d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,8 @@
 ## Process this file with automake to produce Makefile.in
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = speech-dispatcher.pc
+
 SUBDIRS= src config doc po
 
 EXTRA_DIST=  intl build.sh
diff --git a/configure.ac b/configure.ac
index 129fa49..cf92d33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -414,5 +414,24 @@ AC_SUBST(RDYNAMIC)
 localedir=${datadir}/locale
 AC_SUBST(localedir)
 
-AC_OUTPUT([Makefile src/Makefile src/server/Makefile src/modules/Makefile 
src/c/Makefile src/c/api/Makefile src/c/clients/Makefile 
src/c/clients/say/Makefile src/c/clients/spdsend/Makefile src/tests/Makefile 
src/audio/Makefile src/audio/static_plugins.c config/Makefile 
config/modules/Makefile config/clients/Makefile doc/Makefile 
src/python/Makefile src/python/speechd/Makefile 
src/python/speechd_config/Makefile po/Makefile.in])
-
+AC_OUTPUT([Makefile
+           speech-dispatcher.pc
+           config/Makefile
+           config/modules/Makefile
+           config/clients/Makefile
+           doc/Makefile
+           po/Makefile.in
+           src/Makefile
+           src/server/Makefile
+           src/modules/Makefile
+           src/c/Makefile
+           src/c/api/Makefile
+           src/c/clients/Makefile
+           src/c/clients/say/Makefile
+           src/c/clients/spdsend/Makefile
+           src/tests/Makefile
+           src/audio/Makefile
+           src/audio/static_plugins.c
+           src/python/Makefile
+           src/python/speechd/Makefile
+           src/python/speechd_config/Makefile])
diff --git a/speech-dispatcher.pc.in b/speech-dispatcher.pc.in
new file mode 100644
index 0000000..ea09f01
--- /dev/null
+++ b/speech-dispatcher.pc.in
@@ -0,0 +1,11 @@
address@hidden@
address@hidden@
address@hidden@
address@hidden@
+
+Name: @PACKAGE_NAME@
+Description: @PACKAGE_NAME@ provides a device independent layer for speech 
synthesis
+Version: @VERSION@
+Requires: glib-2.0
+Libs: -L${libdir} -lspeechd
+Cflags: -I${includedir}
-- 
1.6.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]