Merge pull request #5923 from CMB/speechdispatcher

speech-dispatcher: build/install the Python 3 bits and libao driver.
This commit is contained in:
Michael Gehring 2017-03-16 07:34:41 +01:00 committed by GitHub
commit a696c093f0
2 changed files with 28 additions and 3 deletions

View File

@ -0,0 +1,23 @@
Patch pulled from upstream repo, author Samuel Thibault.
Goes away with 0.8.7 or whatever their next version is.
diff --git src/api/python/speechd_config/config.py.in src/api/python/speechd_config/config.py.in
index a59ef79a..e9b2ae53 100644
--- src/api/python/speechd_config/config.py.in
+++ src/api/python/speechd_config/config.py.in
@@ -156,6 +156,7 @@ def setup_argparse():
parser.add_argument('-D', '--debug', dest='debug',
action="store_true", default=False,
help=_("Debug a problem and generate a report"))
+ return parser
class Tests:
"""Tests of functionality of Speech Dispatcher and its dependencies
@@ -750,7 +751,7 @@ you have to start it manually to continue."""))
def main():
options = setup_argparse()
- options.parse()
+ options = options.parse_args()
test = Tests()
configure = Configure(test) # that should possibly be refactored, test should not be passed

View File

@ -1,18 +1,20 @@
# Template build file for 'speech-dispatcher'. # Template build file for 'speech-dispatcher'.
pkgname=speech-dispatcher pkgname=speech-dispatcher
version=0.8.6 version=0.8.6
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static" configure_args="--disable-static"
short_desc="High-level device independent layer for speech synthesis interface" short_desc="High-level device independent layer for speech synthesis interface"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL2/FDL" license="GPL-2, LGPL-2.1, GFDL-1.2"
homepage="http://devel.freebsoft.org/speechd" homepage="http://devel.freebsoft.org/speechd"
distfiles="http://devel.freebsoft.org/pub/projects/speechd/${pkgname}-${version}.tar.gz" distfiles="http://devel.freebsoft.org/pub/projects/speechd/${pkgname}-${version}.tar.gz"
checksum=c233dc3757c1f0d3676480d1052d42d88d18d29ab0cb0c8b5ce8edc3e7386ff8 checksum=c233dc3757c1f0d3676480d1052d42d88d18d29ab0cb0c8b5ce8edc3e7386ff8
pycompile_module='speechd speechd_config'
hostmakedepends="pkg-config intltool" hostmakedepends="pkg-config intltool"
makedepends="libltdl-devel glib-devel dotconf-devel libsndfile-devel libespeak-devel" makedepends="libltdl-devel glib-devel dotconf-devel libsndfile-devel libespeak-devel libao-devel python3-devel"
depends="python3"
conf_files=" conf_files="
/etc/speech-dispatcher/clients/*.conf /etc/speech-dispatcher/clients/*.conf
/etc/speech-dispatcher/modules/*.conf /etc/speech-dispatcher/modules/*.conf