aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/espeak/README7
-rw-r--r--accessibility/espeak/espeak.SlackBuild40
-rw-r--r--accessibility/espeak/espeak.info8
3 files changed, 27 insertions, 28 deletions
diff --git a/accessibility/espeak/README b/accessibility/espeak/README
index 56692a035289..7ecea9503a2b 100644
--- a/accessibility/espeak/README
+++ b/accessibility/espeak/README
@@ -7,10 +7,9 @@ quite different. It's perhaps not as natural or "smooth", but some find
the articulation clearer and easier to listen to for long periods. It
can run as a command line program to speak text from a file or from stdin.
-portaudio is optional but highly recommended: To actually produce
-audio output, this package requires portaudio V19 (available on
-slackbuilds.org). Without portaudio, espeak will only be able to render
-speech to a wav file (which may still be useful to you).
+portaudio is optional but highly recommended: To actually produce audio
+output, this package requires portaudio. Without it, espeak will only be
+able to render speech to a wav file (which may still be useful to you).
To build without portaudio support, set WAVONLY=yes in the script's
environment.
diff --git a/accessibility/espeak/espeak.SlackBuild b/accessibility/espeak/espeak.SlackBuild
index e642695de008..b91222a81e61 100644
--- a/accessibility/espeak/espeak.SlackBuild
+++ b/accessibility/espeak/espeak.SlackBuild
@@ -5,7 +5,7 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=espeak
-VERSION=${VERSION:-1.44.05}
+VERSION=${VERSION:-1.45.04}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,26 +62,26 @@ patch -p1 < $CWD/makefile.patch
# installs "espeak" (which is how other distros do it, too).
cd src
-
-if [ "${WAVONLY:-no}" = "yes" ]; then
- EXTRAMAKEFLAGS="AUDIO=none"
-else
- # Let this script die due to "set -e" if no portaudio installed...
- pkg-config --modversion portaudio-2.0
- # portaudio version *should* be 19, but support 18 just in case...
- rm -f portaudio.h
- ln -s portaudio$( pkg-config --modversion portaudio-2.0 ).h portaudio.h
-fi
-
-make LIBDIR=/usr/lib$LIBDIRSUFFIX CXXFLAGS="$SLKCFLAGS" $EXTRAMAKEFLAGS
-make install LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG $EXTRAMAKEFLAGS
-rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a # guidelines say no static libs
-find $PKG/usr/share -type f -print0 | xargs -0 chmod 644
-
+ if [ "${WAVONLY:-no}" = "yes" ]; then
+ EXTRAMAKEFLAGS="AUDIO=none"
+ else
+ # Let this script die due to "set -e" if no portaudio installed...
+ pkg-config --modversion portaudio-2.0
+ # portaudio version *should* be 19, but support 18 just in case...
+ rm -f portaudio.h
+ ln -s portaudio$( pkg-config --modversion portaudio-2.0 ).h portaudio.h
+ fi
+
+ make LIBDIR=/usr/lib$LIBDIRSUFFIX CXXFLAGS="$SLKCFLAGS" $EXTRAMAKEFLAGS
+ make install LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG $EXTRAMAKEFLAGS
+ rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a # guidelines say no static libs
+ find $PKG/usr/share -type f -print0 | xargs -0 chmod 644
cd ..
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -r ReadMe *.txt docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
# Man page from Debian
mkdir -p $PKG/usr/man/man1
@@ -90,9 +90,9 @@ gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
if [ "${WAVONLY:-no}" = "yes" ]; then
- sed -i \
- '19s/:/: This package lacks audio support (wav file output only)/' \
- $PKG/install/slack-desc
+ sed -i \
+ '19s/:/: This package lacks audio support (wav file output only)/' \
+ $PKG/install/slack-desc
fi
cd $PKG
diff --git a/accessibility/espeak/espeak.info b/accessibility/espeak/espeak.info
index 40ada2360a3f..ab3791e9c887 100644
--- a/accessibility/espeak/espeak.info
+++ b/accessibility/espeak/espeak.info
@@ -1,10 +1,10 @@
PRGNAM="espeak"
-VERSION="1.44.05"
+VERSION="1.45.04"
HOMEPAGE="http://espeak.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/espeak/espeak-1.44.05-source.zip"
-MD5SUM="603b3e5fc8510a82b76f51a94cb3c7a1"
+DOWNLOAD="http://downloads.sourceforge.net/espeak/espeak-1.45.04-source.zip"
+MD5SUM="6e810d2786b55cddb34f31b3eb813507"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
-APPROVED="Erik Hanson,Niels Horn"
+APPROVED="rworkman"