summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-10-31 20:26:51 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-04 16:41:38 +0700
commit56452f23269153b9e4aeaeaa1372296afe4429ea (patch)
tree74ae59c7bfa2767a5cfc5297dfe86dafcf7f9656
parent7572f316f04a072412a9564d41aaf109cdd586f7 (diff)
downloadslackbuilds-56452f23269153b9e4aeaeaa1372296afe4429ea.tar.gz
slackbuilds-56452f23269153b9e4aeaeaa1372296afe4429ea.tar.xz
games/mame: Updated for version 0.260.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/mame/README5
-rw-r--r--games/mame/gm0260sr002w.diff.xzbin0 -> 114820 bytes
-rw-r--r--games/mame/mame.SlackBuild9
-rw-r--r--games/mame/mame.info6
4 files changed, 16 insertions, 4 deletions
diff --git a/games/mame/README b/games/mame/README
index 01a4351281..6e8fc71d08 100644
--- a/games/mame/README
+++ b/games/mame/README
@@ -21,3 +21,8 @@ set TMP to in the environment).
Optionally, MAME can be built with the GroovyMAME patch. Export
GROOVY=yes in the script's environment. If it doesn't work, see
README_groovy.txt for details.
+
+Optionally, MAME can be build with support for bgfx graphics in
+Wayland. To do this, export WAYLAND=yes in the environment. Note
+that the SlackBuild author doesn't use Wayland and hasn't tested this
+(other than making sure it compiles).
diff --git a/games/mame/gm0260sr002w.diff.xz b/games/mame/gm0260sr002w.diff.xz
new file mode 100644
index 0000000000..492d4b641c
--- /dev/null
+++ b/games/mame/gm0260sr002w.diff.xz
Binary files differ
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index 0371fa0d19..ae1b6e361b 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -9,6 +9,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20231031 bkw: Updated for v0.260, add WAYLAND option.
# 20230710 bkw: Updated for v0.256.
# 20230428 bkw: Updated for v0.254.
# 20230103 bkw: Updated for v0.251.
@@ -46,7 +47,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mame
-VERSION=${VERSION:-0.256}
+VERSION=${VERSION:-0.260}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -248,6 +249,11 @@ if [ "${PACONLY:-no}" = "yes" ]; then
PACOPT="SOURCES=src/mame/drivers/pacman.cpp"
fi
+# 20231031 bkw: build option for wayland, see README
+if [ "${WAYLAND:-no}" = "yes" ]; then
+ WAYLOPT="USE_WAYLAND=1"
+fi
+
# 20211111 bkw: build with ccache by default, now that it works.
if [ "${USE_CCACHE:-yes}" = "yes" ]; then
CC="/usr/bin/ccache /usr/bin/clang"
@@ -276,6 +282,7 @@ make USE_QTDEBUG=$QTOPT \
TOOLS=1 \
TARGET=$PRGNAM \
$PACOPT \
+ $WAYLOPT \
SUBTARGET=$PRGNAM
# No 'make install' target, do it manually.
diff --git a/games/mame/mame.info b/games/mame/mame.info
index cd8f966d04..68f1d96194 100644
--- a/games/mame/mame.info
+++ b/games/mame/mame.info
@@ -1,8 +1,8 @@
PRGNAM="mame"
-VERSION="0.256"
+VERSION="0.260"
HOMEPAGE="http://mamedev.org/"
-DOWNLOAD="https://github.com/mamedev/mame/archive/mame0256/mame-mame0256.tar.gz"
-MD5SUM="5bfafcc5ce205a01a7eafc00a1b6cc81"
+DOWNLOAD="https://github.com/mamedev/mame/archive/mame0260/mame-mame0260.tar.gz"
+MD5SUM="cb88fec1a1b6bec0e4d1a14d1ed4a00e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""