wok-6.x rev 21940
updated speech-dispatcher (0.6.7 -> 0.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 08 14:22:42 2019 +0100 (2019-10-08) |
parents | 75b0b61c5994 |
children | 3e4f8a8ba2c3 |
files | speech-dispatcher/receipt |
line diff
1.1 --- a/speech-dispatcher/receipt Tue Oct 08 10:51:09 2019 +0100 1.2 +++ b/speech-dispatcher/receipt Tue Oct 08 14:22:42 2019 +0100 1.3 @@ -1,18 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="speech-dispatcher" 1.7 -VERSION="0.6.7" 1.8 +VERSION="0.9.1" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="Common interface to speech synthesis." 1.11 MAINTAINER="paul@slitaz.org" 1.12 LICENSE="LGPL2.1" 1.13 +WEB_SITE="https://www.freebsoft.org/speechd" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.freebsoft.org/speechd" 1.17 -WGET_URL="http://www.freebsoft.org/pub/projects/speechd/$TARBALL" 1.18 +WGET_URL="https://github.com/brailcom/speechd/archive/$VERSION.tar.gz" 1.19 1.20 -DEPENDS="glib alsa-lib espeak dotconf python libsndfile" 1.21 -BUILD_DEPENDS="glib-dev pkg-config alsa-lib-dev dotconf-dev python \ 1.22 -python-dev espeak-dev sed espeak dotconf" 1.23 +DEPENDS="alsa-lib dotconf espeak glib python" 1.24 +BUILD_DEPENDS="alsa-lib-dev autoconf dotconf-dev espeak-dev glib-dev \ 1.25 + libsndfile-dev pkg-config python-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 @@ -20,39 +21,43 @@ 1.30 # Binutils 2.22 break many packages build without LDFLAGS set correctly. 1.31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.32 1.33 - # tiny patches and fixes 1.34 - cd $src/src/python/speechd_config 1.35 - sed -i 's/wavfile = paths.SPD_SOUND_DATA_PATH + "test.wav"/wavfile = os.path.join(paths.SPD_SOUND_DATA_PATH,"test.wav")/' config.py 1.36 - sed -i 's/6561/6560/g' config.py 1.37 - cd ../ 1.38 - sed -i '/speechd_config\/test.wav/d' Makefile.in 1.39 - sed -i 's|--prefix=${prefix}|--root=`pwd`/_pkg|' Makefile.in 1.40 - cd ../../ 1.41 + # tiny patches and fixes 0.6.7 1.42 +# cd $src/src/python/speechd_config 1.43 +# sed -i 's/wavfile = paths.SPD_SOUND_DATA_PATH + "test.wav"/wavfile = os.path.join(paths.SPD_SOUND_DATA_PATH,"test.wav")/' config.py 1.44 +# sed -i 's/6561/6560/g' config.py 1.45 +# cd ../ 1.46 +# sed -i '/speechd_config\/test.wav/d' Makefile.in 1.47 +# sed -i 's|--prefix=${prefix}|--root=`pwd`/_pkg|' Makefile.in 1.48 +# cd ../../ 1.49 1.50 - ./configure \ 1.51 - --prefix=/usr \ 1.52 - --infodir=/usr/share/info \ 1.53 - --mandir=/usr/share/man \ 1.54 - --sysconfdir=/etc \ 1.55 - --with-espeak \ 1.56 + autoreconf --install && 1.57 + ./configure \ 1.58 + --prefix=/usr \ 1.59 + --infodir=/usr/share/info \ 1.60 + --mandir=/usr/share/man \ 1.61 + --sysconfdir=/etc \ 1.62 + --with-espeak \ 1.63 $CONFIGURE_ARGS && 1.64 - make && make DESTDIR=$DESTDIR install 1.65 + make && 1.66 + make DESTDIR=$DESTDIR install 1.67 } 1.68 1.69 # Rules to gen a SliTaz package suitable for Tazpkg. 1.70 genpkg_rules() 1.71 { 1.72 mkdir -p $fs/usr/share/sounds/speech-dispatcher 1.73 - cp -a $install/usr/bin $fs/usr 1.74 - cp -a $install/etc $fs 1.75 - cp -a $install/usr/lib $fs/usr 1.76 - cp -a $install/usr/share $fs/usr 1.77 + 1.78 + cp -a $install/usr/bin $fs/usr 1.79 + cp -a $install/etc $fs 1.80 + cp -a $install/usr/lib $fs/usr 1.81 + cp -a $install/usr/share $fs/usr 1.82 1.83 # copy python stuff 1.84 - cp -a $src/src/python/_pkg/usr $fs 1.85 - cp $src/src/python/speechd_config/test.wav $fs/usr/share/sounds/speech-dispatcher 1.86 + cp -a $src/src/python/_pkg/usr $fs 1.87 + cp $src/src/python/speechd_config/test.wav \ 1.88 + $fs/usr/share/sounds/speech-dispatcher 1.89 1.90 - # remove unneeded libs 1.91 + # remove unneeded libraries 1.92 rm -rf $fs/usr/share/info 1.93 rm -rf $fs/usr/lib/*.*a 1.94 rm -rf $fs/usr/lib/speech-dispatcher/*.*a