summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-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