summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2015-11-05 22:49:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-06 00:27:35 +0700
commitf6fc084127103cd64070c2363746e86ef94249bf (patch)
treeb867803d11ebb4671b897a860beacafefd663c42 /games
parent2bc1975fb7f510cd0ae9479d77a241831fad51e5 (diff)
downloadslackbuilds-f6fc084127103cd64070c2363746e86ef94249bf.tar.gz
games/mgba: Updated for version 0.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/mgba/README13
-rw-r--r--games/mgba/mgba.SlackBuild6
-rw-r--r--games/mgba/mgba.info6
3 files changed, 19 insertions, 6 deletions
diff --git a/games/mgba/README b/games/mgba/README
index 71b0ed148c..f3535e2251 100644
--- a/games/mgba/README
+++ b/games/mgba/README
@@ -2,9 +2,18 @@ mGBA is an emulator for running Game Boy Advance games. It aims to be
faster and more accurate than many existing Game Boy Advance
emulators, as well as adding features that other emulators lack.
-Optional dependencies are:
+The following optional dependencies will be automatically detected.
-* qt5 (for the GUI)
* SDL2
* libedit (for the command-line debugger)
* ffmpeg
+
+If you have Qt 5 and CMake 3, then you can build mGBA with a GUI:
+
+ QT=on ./mGBA.SlackBuild
+
+As an alternative to running mGBA as an application, you might consider
+running RetroArch with its mGBA core. RetroArch SlackBuilds, including
+one for its mGBA core, are here:
+
+ https://github.com/duganchen/slackware-libretro
diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild
index de302c36de..8b8c65518f 100644
--- a/games/mgba/mgba.SlackBuild
+++ b/games/mgba/mgba.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mgba
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,6 +40,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# Set to on to build the Qt GUI. Requires Qt 5 and CMake 3.
+QT=${QT:-off}
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -77,6 +80,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIBDIR=lib$LIBDIRSUFFIX \
+ -DBUILD_QT=${QT} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/games/mgba/mgba.info b/games/mgba/mgba.info
index 1ecc79d642..6079c34c1e 100644
--- a/games/mgba/mgba.info
+++ b/games/mgba/mgba.info
@@ -1,8 +1,8 @@
PRGNAM="mgba"
-VERSION="0.3.0"
+VERSION="0.3.1"
HOMEPAGE="https://endrift.com/mgba/"
-DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.3.0.tar.gz"
-MD5SUM="56caa5bf92d8549cb64b9e490d62bd42"
+DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.3.1.tar.gz"
+MD5SUM="870f516bd5433f01fec4fa4c26079e0f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""