games/snes9x: Strip binary.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-06-22 00:08:40 -04:00 committed by Willy Sudiarto Raharjo
parent e3ba2857c9
commit 929bebe629
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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