summaryrefslogtreecommitdiff
path: root/games/snes9x/snes9x.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-06-11 19:03:04 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-14 01:14:26 +0100
commitcbf7da74731f4f231042ff7de0ebc34dc85df4a6 (patch)
tree12648e337b72ba316bb347be06217eee29962384 /games/snes9x/snes9x.SlackBuild
parent4d397314e5916618c463c1a2f0bf160394b7e6b8 (diff)
downloadslackbuilds-cbf7da74731f4f231042ff7de0ebc34dc85df4a6.tar.gz
games/snes9x: Updated for version 1.56.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/snes9x/snes9x.SlackBuild')
-rw-r--r--games/snes9x/snes9x.SlackBuild20
1 files changed, 19 insertions, 1 deletions
diff --git a/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild
index ff2a557a8d..77fb422bb2 100644
--- a/games/snes9x/snes9x.SlackBuild
+++ b/games/snes9x/snes9x.SlackBuild
@@ -6,6 +6,17 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180611 bkw:
+# - update for 1.56.1.
+# - switch the UI from gtk3 to gtk2, as 14.2's gtk3 is too old.
+# - add undocumented PULSE=no build option (in anticipation of 15.0's
+# pure-alsa-system).
+# - add SDL2 to REQUIRES. technically, it's not truly required: snes9x
+# only uses SDL2 to support joysticks. playing with the keyboard/mouse
+# would still work without it. 15.0 is coming soon, and will have SDL2
+# in the core OS, so don't bother me about this decision.
+# - update README, the snes9x_gtk build went away in 2010, no need to
+# mention it now. also add notes about upgrading from 1.55.
# 20171221 bkw: use --without-system-zip to build bundled unzip, instead
# of adding minizip as a dependency.
# 20171213 bkw: update for 1.55.
@@ -14,7 +25,7 @@
# can't build 1.53 any more.
PRGNAM=snes9x
-VERSION=${VERSION:-1.55}
+VERSION=${VERSION:-1.56.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,6 +74,10 @@ find -L . \
cd gtk
./autogen.sh
+if [ "$PULSE" = "no" ] || ! pkg-config --exists libpulse; then
+ PULSEOPT="--without-pulseaudio"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -73,6 +88,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--with-netplay \
--without-system-zip \
+ --with-gtk2 \
+ --without-gtk3 \
+ $PULSEOPT \
--build=$ARCH-slackware-linux
make