Browse Source
accessibility/espeak: Fix non-portaudio builds.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/82/head
B. Watson
5 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with
6 additions and
2 deletions
-
accessibility/espeak/espeak.SlackBuild
|
|
@ -6,6 +6,10 @@ |
|
|
|
|
|
|
|
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. |
|
|
|
|
|
|
|
# 20200822 bkw: |
|
|
|
# - BUILD=3 |
|
|
|
# - Fix PORTAUDIO=no builds, thanks to timsoft for reporting this. |
|
|
|
|
|
|
|
# 20191218 bkw: |
|
|
|
# - BUILD=2 |
|
|
|
# - Update man page (still using the one from Debian). |
|
|
@ -17,7 +21,7 @@ |
|
|
|
|
|
|
|
PRGNAM=espeak |
|
|
|
VERSION=${VERSION:-1.48.04} |
|
|
|
BUILD=${BUILD:-2} |
|
|
|
BUILD=${BUILD:-3} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
|
|
|
|
if [ -z "$ARCH" ]; then |
|
|
@ -109,7 +113,7 @@ cd src |
|
|
|
LIBDIR=/usr/lib$LIBDIRSUFFIX |
|
|
|
SLKCFLAGS="$SLKCFLAGS -Wno-narrowing" |
|
|
|
make LDFLAGS="-Wl,-s" LIBDIR=$LIBDIR CXXFLAGS="$SLKCFLAGS" AUDIO="$AUDIO" |
|
|
|
make install LIBDIR=$LIBDIR DESTDIR=$PKG |
|
|
|
make install LIBDIR=$LIBDIR DESTDIR=$PKG AUDIO="$AUDIO" |
|
|
|
rm -f $PKG/$LIBDIR/*.a # guidelines say no static libs |
|
|
|
cd .. |
|
|
|
|
|
|
|