summaryrefslogtreecommitdiff
path: root/package/multimedia/festival/speech-tools
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-15 21:33:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-15 21:33:07 +0000
commite7df5afeb9634a0d95499049efb5c4887069290d (patch)
tree307e4abcfc17552130058735e2d9dbd8e1f64784 /package/multimedia/festival/speech-tools
parent4190cc1c4166160a2802efb1c090dd42ff2e7d6e (diff)
package/audio: rename audio category to multimedia
Prepare for the merge of audio and video packages. Many packages cannot properly be assigned to either audio or video, because they have support for both (libogg, mplayer, vlc). Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Diffstat (limited to 'package/multimedia/festival/speech-tools')
-rw-r--r--package/multimedia/festival/speech-tools/Config.in6
-rw-r--r--package/multimedia/festival/speech-tools/speech-tools-1.2.96-beta-install.patch47
-rw-r--r--package/multimedia/festival/speech-tools/speech-tools.mk20
3 files changed, 73 insertions, 0 deletions
diff --git a/package/multimedia/festival/speech-tools/Config.in b/package/multimedia/festival/speech-tools/Config.in
new file mode 100644
index 000000000..d8405bad3
--- /dev/null
+++ b/package/multimedia/festival/speech-tools/Config.in
@@ -0,0 +1,6 @@
+ config BR2_PACKAGE_SPEECH_TOOLS
+ bool "speech tools for festival"
+ help
+ Speech tools for the festival text to speech system
+
+ http://festvox.org/packed/festival/latest
diff --git a/package/multimedia/festival/speech-tools/speech-tools-1.2.96-beta-install.patch b/package/multimedia/festival/speech-tools/speech-tools-1.2.96-beta-install.patch
new file mode 100644
index 000000000..3cc47d344
--- /dev/null
+++ b/package/multimedia/festival/speech-tools/speech-tools-1.2.96-beta-install.patch
@@ -0,0 +1,47 @@
+--- a/config/rules/install.mak 2001-04-04 07:55:32.000000000 -0400
++++ b/config/rules/install.mak 2008-04-03 12:37:45.000000000 -0400
+@@ -50,9 +50,9 @@ ifneq ($(SHARED),0)
+ endif
+ endif
+
+-ifeq ($(PROJECT_HOME_PATH), $(PROJECT_TOP_PATH))
+- TO_INSTALL=make_bin
+-else
++#ifeq ($(PROJECT_HOME_PATH), $(PROJECT_TOP_PATH))
++# TO_INSTALL=make_bin
++#else
+
+ TO_INSTALL= \
+ make_installed_exec$(S) \
+@@ -62,7 +62,7 @@ else
+ INSTALLED_LIB=$(shell (cd $($(PROJECT_PREFIX)_HOME); pwd))/lib
+ INSTALLED_PRIVATE_LIB=$(INSTALLED_LIB)/$(shell echo $(PROJECT_PREFIX)| tr A-Z a-z)
+ INSTALLED_BIN=$(shell (cd $($(PROJECT_PREFIX)_HOME); pwd))/bin
+-endif
++#endif
+
+ install: $(TO_INSTALL)
+
+--- a/config/rules/bin_process.mak 2004-01-27 18:56:39.000000000 -0500
++++ b/config/rules/bin_process.mak 2008-04-03 12:37:31.000000000 -0400
+@@ -69,10 +69,17 @@ endif
+ do \
+ b=`basename "$$i"`;\
+ $(ECHO_N) " $$b";\
+- $(INSTALL_PROG) -s "$$main/$$i" "$(subst TOP,$(TOP),$(BIN))/$$b";\
++ $(INSTALL_PROG) "$$main/$$i" "$(DESTDIR)/usr/bin/$$b";\
++ $(STRIP) "$(DESTDIR)/usr/bin/$$b";\
+ done
+- @echo
+-
++ @$(ECHO_N) "Install Scheme Libraries:"
++ @main=`pwd` ;\
++ mkdir -p "$(DESTDIR)/usr/share/festival"; cp -a "$$main/../../lib" "$(DESTDIR)/usr/share/festival";\
++ for i in `find "$(DESTDIR)/usr/share/festival/lib" -name Makefile`;\
++ do \
++ rm "$$i"; \
++ done
++
+ .link_main:
+ @$(MAKE) MADE_FROM_ABOVE=1 --no-print-directory -C '$(PROJECT_MAIN_DIR)' BIN=TOP/$(DIRNAME) LIBDIR=MAIN/TOP/$(PROJECT_LIBRARY_DIR) MAIN='$($(PROJECT_PREFIX)_HOME)' .link_main$(S)
+
diff --git a/package/multimedia/festival/speech-tools/speech-tools.mk b/package/multimedia/festival/speech-tools/speech-tools.mk
new file mode 100644
index 000000000..c757bf8ff
--- /dev/null
+++ b/package/multimedia/festival/speech-tools/speech-tools.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# speech-tools
+#
+#############################################################
+SPEECH_TOOLS_VERSION = 1.2.96-beta
+SPEECH_TOOLS_SOURCE = speech_tools-$(SPEECH_TOOLS_VERSION).tar.gz
+SPEECH_TOOLS_SITE = http://festvox.org/packed/festival/1.96
+SPEECH_TOOLS_AUTORECONF = NO
+SPEECH_TOOLS_INSTALL_STAGING = NO
+SPEECH_TOOLS_INSTALL_TARGET = YES
+SPEECH_TOOLS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
+
+SPEECH_TOOLS_CONF_OPT =
+SPEECH_TOOLS_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX)
+
+SPEECH_TOOLS_DEPENDENCIES = uclibc ncurses
+
+$(eval $(call AUTOTARGETS,package/multimedia/festival,speech-tools))
+