2014-12-11 16:40:53 +01:00
|
|
|
# Template file for 'espeak'
|
|
|
|
pkgname="espeak"
|
|
|
|
version="1.48.04"
|
2015-08-10 06:25:17 +02:00
|
|
|
revision=3
|
2014-12-11 16:40:53 +01:00
|
|
|
short_desc="Text to Speech engine"
|
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://espeak.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-source.zip"
|
|
|
|
hostmakedepends="unzip"
|
2014-12-11 16:55:23 +01:00
|
|
|
makedepends="pulseaudio-devel portaudio-devel"
|
|
|
|
wrksrc="${pkgname}-${version}-source"
|
|
|
|
build_wrksrc="src"
|
2014-12-11 16:40:53 +01:00
|
|
|
checksum="bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659"
|
|
|
|
build_style="gnu-makefile"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
cp portaudio19.h portaudio.h
|
|
|
|
}
|
2014-12-11 16:55:23 +01:00
|
|
|
do_build() {
|
|
|
|
make CXX=$CXX CXXFLAGS="$CXXFLAGS" AUDIO=runtime
|
|
|
|
}
|
2014-12-11 16:40:53 +01:00
|
|
|
|
|
|
|
libespeak_package() {
|
2015-08-10 06:25:17 +02:00
|
|
|
short_desc+=" - runtime libraries"
|
2014-12-11 16:40:53 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
2015-08-10 06:25:17 +02:00
|
|
|
vmove usr/share/espeak-data
|
2014-12-11 16:40:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libespeak-devel_package() {
|
2014-12-11 16:45:49 +01:00
|
|
|
depends="${makedepends} libespeak>=${version}_${revision}"
|
2014-12-11 16:40:53 +01:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/include"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|