summaryrefslogtreecommitdiffstats
path: root/games/mame
diff options
context:
space:
mode:
Diffstat (limited to 'games/mame')
-rw-r--r--games/mame/README5
-rw-r--r--games/mame/gm0251sr002o.diff.xzbin0 -> 109476 bytes
-rw-r--r--games/mame/gm0254sr002s.diff.xzbin0 -> 114340 bytes
-rw-r--r--games/mame/gm0256sr002u.diff.xzbin0 -> 114420 bytes
-rw-r--r--games/mame/gm0260sr002w.diff.xzbin0 -> 114820 bytes
-rw-r--r--games/mame/mame.SlackBuild24
-rw-r--r--games/mame/mame.info6
7 files changed, 25 insertions, 10 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/gm0251sr002o.diff.xz b/games/mame/gm0251sr002o.diff.xz
new file mode 100644
index 0000000000..311bccaf20
--- /dev/null
+++ b/games/mame/gm0251sr002o.diff.xz
Binary files differ
diff --git a/games/mame/gm0254sr002s.diff.xz b/games/mame/gm0254sr002s.diff.xz
new file mode 100644
index 0000000000..1fe10da69c
--- /dev/null
+++ b/games/mame/gm0254sr002s.diff.xz
Binary files differ
diff --git a/games/mame/gm0256sr002u.diff.xz b/games/mame/gm0256sr002u.diff.xz
new file mode 100644
index 0000000000..0ddc6ba37c
--- /dev/null
+++ b/games/mame/gm0256sr002u.diff.xz
Binary files differ
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 93169adc9c..3526c37b91 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -9,6 +9,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240330 bkw: Updated for v0.264.
+# 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.
+# 20220205 bkw: Updated for v0.240.
+
# 20211115 bkw:
# - updated for v0.237 on -current aka 15.0rc1.
# - new-style icons.
@@ -41,7 +48,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mame
-VERSION=${VERSION:-0.240}
+VERSION=${VERSION:-0.264}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -60,23 +67,19 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-${PRGNAM}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# NB nonstandard flags here. Upstream defaults to -O3, so we'll leave
# that as-is. Only the arch-specific stuff goes here.
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS=""
- LIBDIRSUFFIX=""
fi
# Source extracts to e.g. mame-mame0175/
@@ -243,6 +246,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"
@@ -271,6 +279,7 @@ make USE_QTDEBUG=$QTOPT \
TOOLS=1 \
TARGET=$PRGNAM \
$PACOPT \
+ $WAYLOPT \
SUBTARGET=$PRGNAM
# No 'make install' target, do it manually.
@@ -340,8 +349,9 @@ rm -f docs/CONTRIBUTING.md docs/update.sh
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
# can't just "cp docs/* ..." because man/ is a dir, set -e kills the script
+# 20240330 bkw: docs/swlist is gone in 0.264.
cp docs/L* docs/*.* $PKGDOC
-cp -a docs/swlist docs/legal $PKGDOC
+cp -a docs/legal $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
# in case someone finds these useful...
diff --git a/games/mame/mame.info b/games/mame/mame.info
index c80b5c4b7c..097637f713 100644
--- a/games/mame/mame.info
+++ b/games/mame/mame.info
@@ -1,8 +1,8 @@
PRGNAM="mame"
-VERSION="0.240"
+VERSION="0.264"
HOMEPAGE="http://mamedev.org/"
-DOWNLOAD="https://github.com/mamedev/mame/archive/mame0240/mame-mame0240.tar.gz"
-MD5SUM="5609b262862e6d12b11cec50323d1fd1"
+DOWNLOAD="https://github.com/mamedev/mame/archive/mame0264/mame-mame0264.tar.gz"
+MD5SUM="0624990754203ff1f67e18de3b3cd9e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""