summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2022-06-22 06:08:40 +0200
committer Willy Sudiarto Raharjo2022-07-02 04:55:50 +0200
commit929bebe62952931372fed724b50d848c885db035 (patch)
treec376feae83b116be52c05ba1f056bc240be57310
parente3ba2857c94b6183bc0403fd22cedcb9f6395a25 (diff)
downloadslackbuilds-929bebe62952931372fed724b50d848c885db035.tar.gz
games/snes9x: Strip binary.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/snes9x/snes9x.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild
index a29955fd9f..ab3e3e470c 100644
--- a/games/snes9x/snes9x.SlackBuild
+++ b/games/snes9x/snes9x.SlackBuild
@@ -6,6 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220622 bkw, BUILD=2:
+# - strip binary (whoops).
+# - remove mention of retroarch support from README, it FTBFS.
+# sooner or later I'll fix it or remove it entirely.
+# Note: I tried snes9x 1.61 on Slackware 15.0 with all updates, and
+# it still crashes as described below. Also tried latest post-1.61 git
+# and it has the same problem. So staying with 1.59 for now, sorry.
+
# 20211014 bkw: *downgrade* to 1.59, for now at least. 1.60 crashes
# immediately if built with gtk+2 and started with a ROM filename.
# If you pick a ROM from within the app, it'll work sometimes, but
@@ -73,7 +81,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=snes9x
VERSION=${VERSION:-1.59}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -158,7 +166,8 @@ cd build
--localstatedir=/var \
--mandir=/usr/man \
--prefix=/usr \
- --sysconfdir=/etc
+ --sysconfdir=/etc \
+ -Dstrip=true
"${NINJA:=ninja}" -v
DESTDIR=$PKG $NINJA install
mv $PKG/usr/bin $PKG/usr/games