aboutsummaryrefslogtreecommitdiff
path: root/accessibility/espeakup
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-12-09 14:23:00 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-10 08:37:40 +0700
commit27724f522f623ceea8cf08d278c06fb506769af1 (patch)
tree942410dadff3cb9af5604fee9b47459eca71c542 /accessibility/espeakup
parent1602affce3527546653a883ec4adb3b962dd5675 (diff)
accessibility/espeakup: Remove espeak dep.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'accessibility/espeakup')
-rw-r--r--accessibility/espeakup/espeakup.SlackBuild6
-rw-r--r--accessibility/espeakup/espeakup.info2
2 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/espeakup/espeakup.SlackBuild b/accessibility/espeakup/espeakup.SlackBuild
index b0cb5181b2d6f..575bbcf189f80 100644
--- a/accessibility/espeakup/espeakup.SlackBuild
+++ b/accessibility/espeakup/espeakup.SlackBuild
@@ -20,9 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -65,6 +62,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 20211209 bkw: Slackware now ships espeak-ng, use it.
+sed -i 's,-lespeak,&-ng,' Makefile
+
make MANDIR=/usr/man/man8 CFLAGS="$SLKCFLAGS"
make install MANDIR=/usr/man/man8 DESTDIR=$PKG
diff --git a/accessibility/espeakup/espeakup.info b/accessibility/espeakup/espeakup.info
index 10581ac016095..a9943542eb596 100644
--- a/accessibility/espeakup/espeakup.info
+++ b/accessibility/espeakup/espeakup.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/williamh/espeakup/archive/v0.71/espeakup-0.71.tar.g
MD5SUM="9187bad3141ec0764db55dba50325b22"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="espeak"
+REQUIRES=""
MAINTAINER="Didier Spaier"
EMAIL="didier at slint dot fr"