aboutsummaryrefslogtreecommitdiff
path: root/games/oolite
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-12-09 14:36:02 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-10 08:37:40 +0700
commit0d14f4018d72e682df0a4815d2a26afe7f599117 (patch)
treef6365605e9516ff555652fbfe3eb070bf59a0f5b /games/oolite
parent27724f522f623ceea8cf08d278c06fb506769af1 (diff)
games/oolite: Remove espeak dep.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/oolite')
-rw-r--r--games/oolite/oolite.SlackBuild8
-rw-r--r--games/oolite/oolite.info2
2 files changed, 4 insertions, 6 deletions
diff --git a/games/oolite/oolite.SlackBuild b/games/oolite/oolite.SlackBuild
index e93dc5ce54545..9b44ab48a8436 100644
--- a/games/oolite/oolite.SlackBuild
+++ b/games/oolite/oolite.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by the SlackBuilds.org project.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=oolite
@@ -38,9 +40,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
@@ -84,12 +83,11 @@ rm deps/Linux-deps/x86*/lib/*
source /usr/share/GNUstep/Makefiles/GNUstep.sh
export GNUSTEP_MAKEFILES=/usr/share/GNUstep/Makefiles
-## Link to espeak-ng instead of espeak
-# -e "/ADDITIONAL_OBJC_LIBS/s/+= -lespeak/+= -lespeak-ng/" \
sed -i \
-e "/ADDITIONAL_OBJCFLAGS/s/=/= -fobjc-exceptions ${SLKCFLAGS}/" \
-e "s/-mtune=generic//g" \
-e "s/ -lpng / -l:libpng14.so.14 /g" \
+ -e "/ADDITIONAL_OBJC_LIBS/s/+= -lespeak/+= -lespeak-ng/" \
GNUmakefile
make -f Makefile ESPEAK=yes use_deps=no debug=no release
diff --git a/games/oolite/oolite.info b/games/oolite/oolite.info
index d83bfa7d1847f..1b6acc66daf1c 100644
--- a/games/oolite/oolite.info
+++ b/games/oolite/oolite.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/OoliteProject/oolite/releases/download/1.90/oolite-
MD5SUM="c34c6f88606be75c90cc52c5a4173611"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="espeak gnustep-base"
+REQUIRES="gnustep-base"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds@schoepfer.info"