festival-lutin/lutin_festival-main.py
2015-09-21 21:59:43 +02:00

41 lines
1.9 KiB
Python

#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import os
def get_desc():
return "festival TTS engine"
def create(target):
my_module = module.Module(__file__, 'festival-main', 'BINARY')
my_module.add_module_depend(['festival'])
my_module.add_src_file([
"festival/src/main/festival_main.cc"
])
# set the package properties :
my_module.pkg_set("VERSION", "0.1")
my_module.pkg_set("VERSION_CODE", "1")
my_module.pkg_set("COMPAGNY_TYPE", "org")
my_module.pkg_set("COMPAGNY_NAME", "NONE")
my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
my_module.pkg_set("SECTION", ["Development", "Editors"])
my_module.pkg_set("PRIORITY", "optional")
my_module.pkg_set("DESCRIPTION", "desc")
my_module.pkg_set("NAME", "festival-main")
my_module.pkg_add("RIGHT", "WRITE_EXTERNAL_STORAGE")
my_module.pkg_add("RIGHT", "SET_ORIENTATION")
return my_module
"""
gcc -O3 -Wall -o festival festival_main.o -L../../src/lib -lFestival -L../../../speech_tools/lib -lestools -L../../../speech_tools/lib -lestbase -L../../../speech_tools/lib -leststring -lncurses -lasound -ldl -lncurses -lm -lstdc++
gcc -c -fno-implicit-templates -O3 -Wall -I../../src/include -I../../../speech_tools/include festival_client.cc
gcc -O3 -Wall -o festival_client festival_client.o -L../../src/lib -lFestival -L../../../speech_tools/lib -lestools -L../../../speech_tools/lib -lestbase -L../../../speech_tools/lib -leststring -lncurses -lasound -ldl -lncurses -lm -lstdc++
gcc -c -fno-implicit-templates -O3 -Wall -I../../src/include -I../../../speech_tools/include audsp.cc
gcc -O3 -Wall -o ../../lib/etc/unknown_DebianGNULinux/audsp audsp.o -L../../src/lib -lFestival -L../../../speech_tools/lib -lestools -L../../../speech_tools/lib -lestbase -L../../../speech_tools/lib -leststring -lncurses -lasound -ldl -lncurses -lm -lstdc++
"""