summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
author B. Watson2021-12-09 20:23:00 +0100
committer Willy Sudiarto Raharjo2021-12-10 02:37:40 +0100
commit27724f522f623ceea8cf08d278c06fb506769af1 (patch)
tree942410dadff3cb9af5604fee9b47459eca71c542 /accessibility
parent1602affce3527546653a883ec4adb3b962dd5675 (diff)
downloadslackbuilds-27724f522f623ceea8cf08d278c06fb506769af1.tar.gz
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')
-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 b0cb5181b2..575bbcf189 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 10581ac016..a9943542eb 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"