Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 658f3243238efe951f6242fa384e990d77078afc Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Fri, 27 Dec 2013 17:42:39 +0100
|
||||
Subject: [PATCH] now honor DESTDIR env. var.
|
||||
|
||||
Flite used a handwritten a Makefile which doesn't honor DESTDIR environment
|
||||
variable, though it uses autoconf.
|
||||
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
config/config.in | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/config/config.in b/config/config.in
|
||||
index 914d2bf..43f1a56 100644
|
||||
--- a/flite-1.4-release/config/config.in
|
||||
+++ b/flite-1.4-release/config/config.in
|
||||
@@ -49,6 +49,6 @@ include $(TOP)/config/$(langvox).lv
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
EXEEXT = @EXEEXT@
|
||||
-INSTALLBINDIR = @bindir@
|
||||
-INSTALLLIBDIR = @libdir@
|
||||
-INSTALLINCDIR = @includedir@/flite
|
||||
+INSTALLBINDIR = $(DESTDIR)@bindir@
|
||||
+INSTALLLIBDIR = $(DESTDIR)@libdir@
|
||||
+INSTALLINCDIR = $(DESTDIR)@includedir@/flite
|
||||
--
|
||||
1.8.5.2
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Use pkg-config to determine alsa link flags. This fixes static linking.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
|
||||
diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
|
||||
--- flite-1.4-release.orig/flite-1.4-release/configure.in 2009-08-14 23:46:38.000000000 +0300
|
||||
+++ flite-1.4-release/flite-1.4-release/configure.in 2014-04-30 18:52:33.253297236 +0300
|
||||
@@ -275,7 +275,10 @@
|
||||
#endif],
|
||||
[AUDIODRIVER="alsa"
|
||||
AUDIODEFS=-DCST_AUDIO_ALSA
|
||||
- AUDIOLIBS=-lasound])
|
||||
+ AUDIOLIBS=`pkg-config --libs alsa`
|
||||
+ if test "$shared" = false; then
|
||||
+ AUDIOLIBS=`pkg-config --libs --static alsa`
|
||||
+ fi])
|
||||
AC_CHECK_HEADER(mmsystem.h,
|
||||
[AUDIODRIVER="wince"
|
||||
AUDIODEFS=-DCST_AUDIO_WINCE
|
||||
@@ -0,0 +1,26 @@
|
||||
[PATCH] fix alsa version check
|
||||
|
||||
Check the entire alsa version, and not just the subminor - As this broke
|
||||
with the recent alsa 1.0.x -> 1.1.0 release.
|
||||
|
||||
It is not clear what major/minor versions the check was supposed to be
|
||||
against (0.9 or 1.0). I went with 1.0.11 to be on the safe side.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
flite-1.4-release/configure.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: flite-1.4/flite-1.4-release/configure.in
|
||||
===================================================================
|
||||
--- flite-1.4.orig/flite-1.4-release/configure.in
|
||||
+++ flite-1.4/flite-1.4-release/configure.in
|
||||
@@ -270,7 +270,7 @@
|
||||
# the one I know -- you can still specific --with-audio=alsa
|
||||
AC_TRY_COMPILE([#include <alsa/version.h>],
|
||||
[int j=
|
||||
- #if SND_LIB_SUBMINOR >= 11
|
||||
+ #if SND_LIB_VERSION >= 0x1000b
|
||||
3;
|
||||
#endif],
|
||||
[AUDIODRIVER="alsa"
|
||||
16
deprecated/firmware/buildroot/package/flite/Config.in
Normal file
16
deprecated/firmware/buildroot/package/flite/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_FLITE
|
||||
bool "flite"
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
Flite: a small, fast run time synthesis engine.
|
||||
|
||||
Flite (festival-lite) is a small, fast run-time synthesis
|
||||
engine developed at CMU and primarily designed for small
|
||||
embedded machines and/or large servers. Flite is designed as
|
||||
an alternative synthesis engine to Festival for voices built
|
||||
using the FestVox suite of voice building tools.
|
||||
|
||||
http://www.speech.cs.cmu.edu/flite
|
||||
|
||||
comment "flite needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
2
deprecated/firmware/buildroot/package/flite/flite.hash
Normal file
2
deprecated/firmware/buildroot/package/flite/flite.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# locally computed hash
|
||||
sha256 45c662160aeca6560589f78daf42ab62c6111dd4d244afc28118c4e6f553cd0c flite-1.4-release.tar.bz2
|
||||
46
deprecated/firmware/buildroot/package/flite/flite.mk
Normal file
46
deprecated/firmware/buildroot/package/flite/flite.mk
Normal file
@@ -0,0 +1,46 @@
|
||||
################################################################################
|
||||
#
|
||||
# flite
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLITE_VERSION = 1.4
|
||||
FLITE_SOURCE = flite-$(FLITE_VERSION)-release.tar.bz2
|
||||
FLITE_SITE = http://www.speech.cs.cmu.edu/flite/packed/flite-$(FLITE_VERSION)
|
||||
# $ tar tf flite-1.4-release.tar.bz2
|
||||
# ...
|
||||
# flite-1.4-release//install-sh
|
||||
# flite-1.4-release//mkinstalldirs
|
||||
# flite-1.4-release//Exports.def
|
||||
# flite-1.4-release//flite.sln
|
||||
# flite-1.4-release//fliteDll.vcproj
|
||||
# flite-1.4-release/config/Makefile
|
||||
# flite-1.4-release/config/common_make_rules
|
||||
# flite-1.4-release/config/project.mak
|
||||
# flite-1.4-release/config/config.in
|
||||
# flite-1.4-release/config/system.mak.in
|
||||
#
|
||||
# So, we set FLITE_STRIP_COMPONENTS=0 to avoid writing to "/", and then
|
||||
# build in flite-1.4-release/
|
||||
FLITE_STRIP_COMPONENTS = 0
|
||||
FLITE_SUBDIR = flite-$(FLITE_VERSION)-release
|
||||
FLITE_LICENSE = BSD-4c
|
||||
FLITE_LICENSE_FILES = $(FLITE_SUBDIR)/COPYING
|
||||
|
||||
FLITE_INSTALL_STAGING = YES
|
||||
# Patching configure.in
|
||||
FLITE_AUTORECONF = YES
|
||||
FLITE_DEPENDENCIES = host-pkgconf
|
||||
|
||||
# Sadly, Flite does not support parallel build, especially when building its
|
||||
# shared libraries.
|
||||
FLITE_MAKE = $(MAKE1)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
|
||||
FLITE_DEPENDENCIES += alsa-lib
|
||||
FLITE_CONF_OPTS += --with-audio=alsa
|
||||
else
|
||||
FLITE_CONF_OPTS += --with-audio=oss
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user