wok-6.x annotate speech-dispatcher/receipt @ rev 22276
updated xorg-xf86-video-nv (2.1.20 -> 2.1.21)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 14:01:24 2019 +0100 (2019-11-13) |
parents | 6e69e3b95192 |
children | c19784df5edf |
rev | line source |
---|---|
paul@4890 | 1 # SliTaz package receipt. |
paul@4890 | 2 |
paul@4890 | 3 PACKAGE="speech-dispatcher" |
Hans-G?nter@21940 | 4 VERSION="0.9.1" |
paul@4890 | 5 CATEGORY="utilities" |
paul@4890 | 6 SHORT_DESC="Common interface to speech synthesis." |
paul@4890 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21940 | 9 WEB_SITE="https://www.freebsoft.org/speechd" |
Hans-G?nter@21940 | 10 |
pascal@14996 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21940 | 12 WGET_URL="https://github.com/brailcom/speechd/archive/$VERSION.tar.gz" |
pascal@14996 | 13 |
Hans-G?nter@21940 | 14 DEPENDS="alsa-lib dotconf espeak glib python" |
Hans-G?nter@21940 | 15 BUILD_DEPENDS="alsa-lib-dev autoconf dotconf-dev espeak-dev glib-dev \ |
Hans-G?nter@21943 | 16 libsndfile-dev pkg-config python-dev texinfo" |
paul@4890 | 17 |
paul@4890 | 18 # Rules to configure and make the package. |
paul@4890 | 19 compile_rules() |
paul@4890 | 20 { |
pascal@12655 | 21 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
paul@4890 | 23 |
Hans-G?nter@21940 | 24 # tiny patches and fixes 0.6.7 |
Hans-G?nter@21940 | 25 # cd $src/src/python/speechd_config |
Hans-G?nter@21940 | 26 # sed -i 's/wavfile = paths.SPD_SOUND_DATA_PATH + "test.wav"/wavfile = os.path.join(paths.SPD_SOUND_DATA_PATH,"test.wav")/' config.py |
Hans-G?nter@21940 | 27 # sed -i 's/6561/6560/g' config.py |
Hans-G?nter@21940 | 28 # cd ../ |
Hans-G?nter@21940 | 29 # sed -i '/speechd_config\/test.wav/d' Makefile.in |
Hans-G?nter@21940 | 30 # sed -i 's|--prefix=${prefix}|--root=`pwd`/_pkg|' Makefile.in |
Hans-G?nter@21940 | 31 # cd ../../ |
al@18086 | 32 |
Hans-G?nter@21940 | 33 autoreconf --install && |
Hans-G?nter@21940 | 34 ./configure \ |
Hans-G?nter@21940 | 35 --prefix=/usr \ |
Hans-G?nter@21940 | 36 --infodir=/usr/share/info \ |
Hans-G?nter@21940 | 37 --mandir=/usr/share/man \ |
Hans-G?nter@21940 | 38 --sysconfdir=/etc \ |
Hans-G?nter@21940 | 39 --with-espeak \ |
Hans-G?nter@21941 | 40 --with-systemdsystemunitdir=no \ |
paul@4890 | 41 $CONFIGURE_ARGS && |
Hans-G?nter@21942 | 42 make -j 1 && |
Hans-G?nter@21940 | 43 make DESTDIR=$DESTDIR install |
paul@4890 | 44 } |
paul@4890 | 45 |
paul@4890 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4890 | 47 genpkg_rules() |
paul@4890 | 48 { |
paul@4890 | 49 mkdir -p $fs/usr/share/sounds/speech-dispatcher |
Hans-G?nter@21940 | 50 |
Hans-G?nter@21940 | 51 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21940 | 52 cp -a $install/etc $fs |
Hans-G?nter@21940 | 53 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@21940 | 54 cp -a $install/usr/share $fs/usr |
paul@4890 | 55 |
paul@4890 | 56 # copy python stuff |
Hans-G?nter@21941 | 57 # cp -a $src/src/python/_pkg/usr $fs # 0.6.7 |
Hans-G?nter@21944 | 58 cp $src/src/api/python/speechd_config/test.wav \ |
Hans-G?nter@21940 | 59 $fs/usr/share/sounds/speech-dispatcher |
paul@4890 | 60 |
Hans-G?nter@21940 | 61 # remove unneeded libraries |
paul@4890 | 62 rm -rf $fs/usr/share/info |
paul@4890 | 63 rm -rf $fs/usr/lib/*.*a |
paul@4890 | 64 rm -rf $fs/usr/lib/speech-dispatcher/*.*a |
paul@4890 | 65 } |