diff options
author | Junqian Gordon Xu <xjqian@gmail.com> | 2008-01-03 02:01:39 +0000 |
---|---|---|
committer | Junqian Gordon Xu <xjqian@gmail.com> | 2008-01-03 02:01:39 +0000 |
commit | 055260657195d3b59e4d5761f889b07afcef690f (patch) | |
tree | 53a9ff34edbf1f97c2c15cc56da03f2ad1378b9f /packages | |
parent | 6cc8d18c134d775a13a36b4af7f58ee5ac01b602 (diff) |
add speech-dispatcher (RPROVIDES speechd). needed by navit.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/speech-dispatcher/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/speech-dispatcher/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/speech-dispatcher/files/srcMakefile.am.patch | 60 | ||||
-rw-r--r-- | packages/speech-dispatcher/speech-dispatcher_0.6.5.bb | 35 |
4 files changed, 95 insertions, 0 deletions
diff --git a/packages/speech-dispatcher/.mtn2git_empty b/packages/speech-dispatcher/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/speech-dispatcher/.mtn2git_empty diff --git a/packages/speech-dispatcher/files/.mtn2git_empty b/packages/speech-dispatcher/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/speech-dispatcher/files/.mtn2git_empty diff --git a/packages/speech-dispatcher/files/srcMakefile.am.patch b/packages/speech-dispatcher/files/srcMakefile.am.patch new file mode 100644 index 0000000000..7fdadec571 --- /dev/null +++ b/packages/speech-dispatcher/files/srcMakefile.am.patch @@ -0,0 +1,60 @@ +diff -aurp speech-dispatcher-0.6.5/src.old/audio/Makefile.am speech-dispatcher-0.6.5/src/audio/Makefile.am +--- speech-dispatcher-0.6.5/src.old/audio/Makefile.am 2008-01-02 17:06:47.000000000 -0600 ++++ speech-dispatcher-0.6.5/src/audio/Makefile.am 2008-01-02 17:07:16.000000000 -0600 +@@ -2,7 +2,7 @@ + localedir = $(datadir)/locale + inc_local = "-I$(top_srcdir)/intl/" + +-am_cflags = -DLOCALEDIR=\"$(localedir)\" -I/usr/include/ $(inc_local) @glib_include@ -DWITH_OSS ++am_cflags = -DLOCALEDIR=\"$(localedir)\" $(inc_local) @glib_include@ -DWITH_OSS + + if nas_support + NAS_FLAGS = -DWITH_NAS +diff -aurp speech-dispatcher-0.6.5/src.old/c/api/Makefile.am speech-dispatcher-0.6.5/src/c/api/Makefile.am +--- speech-dispatcher-0.6.5/src.old/c/api/Makefile.am 2008-01-02 17:06:47.000000000 -0600 ++++ speech-dispatcher-0.6.5/src/c/api/Makefile.am 2008-01-02 17:07:39.000000000 -0600 +@@ -2,7 +2,7 @@ + localedir = $(datadir)/locale + inc_local = "-I$(top_srcdir)/intl/" + +-AM_CFLAGS = -Wall -DLOCALEDIR=\"$(localedir)\" -I/usr/include/ $(inc_local) @glib_include@ ++AM_CFLAGS = -Wall -DLOCALEDIR=\"$(localedir)\" $(inc_local) @glib_include@ + + lib_LTLIBRARIES = libspeechd.la + libspeechd_la_SOURCES = libspeechd.c +diff -aurp speech-dispatcher-0.6.5/src.old/c/clients/say/Makefile.am speech-dispatcher-0.6.5/src/c/clients/say/Makefile.am +--- speech-dispatcher-0.6.5/src.old/c/clients/say/Makefile.am 2008-01-02 17:06:47.000000000 -0600 ++++ speech-dispatcher-0.6.5/src/c/clients/say/Makefile.am 2008-01-02 17:08:09.000000000 -0600 +@@ -3,7 +3,7 @@ localedir = $(datadir)/locale + inc_local = "-I$(top_srcdir)/intl/" + c_api = $(top_srcdir)/src/c/api + +-AM_CFLAGS = -DLOCALEDIR=\"$(localedir)\" -I/usr/include/ $(inc_local) @glib_include@ -I$(c_api) ++AM_CFLAGS = -DLOCALEDIR=\"$(localedir)\" $(inc_local) @glib_include@ -I$(c_api) + + bin_PROGRAMS = spd-say + spd_say_SOURCES = say.c options.c options.h $(c_api)/libspeechd.h +diff -aurp speech-dispatcher-0.6.5/src.old/modules/Makefile.am speech-dispatcher-0.6.5/src/modules/Makefile.am +--- speech-dispatcher-0.6.5/src.old/modules/Makefile.am 2008-01-02 17:06:47.000000000 -0600 ++++ speech-dispatcher-0.6.5/src/modules/Makefile.am 2008-01-02 17:12:41.000000000 -0600 +@@ -7,7 +7,7 @@ SNDFILE_LIBS = @SNDFILE_LIBS@ + + EXTRA_DIST = module_main.c module_utils_addvoice.c festival_client.c festival_client.h + +-AM_CFLAGS = -Wall -DLOCALEDIR=\"$(localedir)\" -I/usr/include/ $(inc_local) @glib_include@ -L$(top_srcdir)/src/audio -I$(top_srcdir)/src/audio -I../../intl/ $(ibmtts_include) @SNDFILE_CFLAGS@ -Wl,--rpath -Wl,$(spdlibdir) ++AM_CFLAGS = -Wall -DLOCALEDIR=\"$(localedir)\" $(inc_local) @glib_include@ -L$(top_srcdir)/src/audio -I$(top_srcdir)/src/audio -I../../intl/ $(ibmtts_include) @SNDFILE_CFLAGS@ -Wl,--rpath -Wl,$(spdlibdir) + + if flite_support + if ibmtts_support +diff -aurp speech-dispatcher-0.6.5/src.old/tests/Makefile.am speech-dispatcher-0.6.5/src/tests/Makefile.am +--- speech-dispatcher-0.6.5/src.old/tests/Makefile.am 2008-01-02 17:06:47.000000000 -0600 ++++ speech-dispatcher-0.6.5/src/tests/Makefile.am 2008-01-02 17:13:55.000000000 -0600 +@@ -3,7 +3,7 @@ localedir = $(datadir)/locale + inc_local = "-I$(top_srcdir)/intl/" + c_api = $(top_srcdir)/src/c/api + +-AM_CFLAGS = -I$(c_api) -DLOCALEDIR=\"$(localedir)\" -I/usr/include/ $(inc_local) @glib_include@ -I../audio/ ++AM_CFLAGS = -I$(c_api) -DLOCALEDIR=\"$(localedir)\" $(inc_local) @glib_include@ -I../audio/ + + bin_PROGRAMS = long_message clibrary run_test + diff --git a/packages/speech-dispatcher/speech-dispatcher_0.6.5.bb b/packages/speech-dispatcher/speech-dispatcher_0.6.5.bb new file mode 100644 index 0000000000..23914ab00e --- /dev/null +++ b/packages/speech-dispatcher/speech-dispatcher_0.6.5.bb @@ -0,0 +1,35 @@ +DESCRIPTION = " Speech Dispatcher is a high-level device independent layer \ +for speech synthesis through a simple, stable and well documented interface." +HOMEPAGE = "http://www.freebsoft.org/speechd/" +LICENSE = "GPLv2" +DEPENDS = "flite dotconf glib-2.0" +RPROVIDES += "speechd" + +inherit autotools + +SRC_URI = "http://www.freebsoft.org/pub/projects/speechd/${PN}-${PV}.tar.gz \ + file://srcMakefile.am.patch;patch=1 " + +LEAD_SONAME = "libspeechd.so" + +do_install() { + install -d ${D}${bindir} + install -d ${D}${includedir} + install -d ${D}${libdir}/${PN}-modules + + oe_libinstall -so -C src/audio libsdaudio ${D}${libdir} + oe_libinstall -so -C src/c/api libspeechd ${D}${libdir} + + install -m 0644 ${S}/src/c/api/libspeechd.h ${D}${includedir} + install -m 0755 ${S}/src/c/clients/say/spd-say ${D}${bindir} + install -m 0755 ${S}/src/c/clients/spdsend/spdsend ${D}${bindir} + install -m 0755 ${S}/src/server/speech-dispatcher ${D}${bindir} + install -m 0755 ${S}/src/modules/sd_* ${D}${libdir}/${PN}-modules/ +} + +do_stage() { + install -m 0644 ${S}/src/c/api/libspeechd.h ${STAGING_INCDIR} + oe_libinstall -so -C src/c/api libspeechd ${STAGING_LIBDIR} +} + +FILES_${PN} += "${libdir}/${PN}-modules/*" |