diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-11 19:03:04 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-06-14 01:14:26 +0100 |
commit | cbf7da74731f4f231042ff7de0ebc34dc85df4a6 (patch) | |
tree | 12648e337b72ba316bb347be06217eee29962384 /games/snes9x | |
parent | 4d397314e5916618c463c1a2f0bf160394b7e6b8 (diff) |
games/snes9x: Updated for version 1.56.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/snes9x')
-rw-r--r-- | games/snes9x/README | 19 | ||||
-rw-r--r-- | games/snes9x/snes9x.SlackBuild | 20 | ||||
-rw-r--r-- | games/snes9x/snes9x.info | 8 |
3 files changed, 36 insertions, 11 deletions
diff --git a/games/snes9x/README b/games/snes9x/README index 633fd7ce0e7b..aca2f90e54d0 100644 --- a/games/snes9x/README +++ b/games/snes9x/README @@ -1,11 +1,18 @@ +snes9x (Super Nintendo Entertainment System emulator) + Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) emulator. It basically allows you to play most games designed for the SNES and Super Famicom Nintendo game systems on your PC or Workstation. The games include some real gems that were only ever released in Japan. -This SlackBuild works on both 32-bit and 64-bit Slackware systems, -and builds the GTK+ port of snes9x. This SlackBuild was formerly known -as "snes9x_gtk", but has been renamed to plain "snes9x" because the -(formerly unoffocial) GTK+ port has been integrated into the official -snes9x codebase. If you have the old snes9x_gtk package installed, -remove it before installing this package. +If you're upgrading from snes9x-1.55, you'll have to delete your old +config file: + + rm -rf ~/.snes9x + +Apologies for any inconvenience. + +Also, with 1.56.1, you might notice some user interface differences. This +is because 1.55 used GTK+-3.0, but 1.56 and newer require a version of +GTK+-3.0 that's newer than Slackware 14.2 provides. So, starting with +1.56, this build uses the GTK+-2.0 UI. diff --git a/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild index ff2a557a8dd3..77fb422bb2f8 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 diff --git a/games/snes9x/snes9x.info b/games/snes9x/snes9x.info index 29524dbc2ac5..a4f959525513 100644 --- a/games/snes9x/snes9x.info +++ b/games/snes9x/snes9x.info @@ -1,10 +1,10 @@ PRGNAM="snes9x" -VERSION="1.55" +VERSION="1.56.1" HOMEPAGE="https://github.com/snes9xgit/snes9x" -DOWNLOAD="https://github.com/snes9xgit/snes9x/archive/1.55/snes9x-1.55.tar.gz" -MD5SUM="01cf5f01291ea683f52932bf7eb595a7" +DOWNLOAD="https://github.com/snes9xgit/snes9x/archive/1.56.1/snes9x-1.56.1.tar.gz" +MD5SUM="c0693887e54e775a4f971a27fb4975ab" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="SDL2" MAINTAINER="B. Watson" EMAIL="yalhcru@gmail.com" |