summaryrefslogtreecommitdiff
path: root/games/mame
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-08 13:35:49 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-10 10:47:27 +0700
commit5acd1c8e3c74dcc6ed35e058c7c1a67561bb4557 (patch)
treec6bb363ef80d7d7dda983415107784761ee58252 /games/mame
parent808b1c5e06f86c90b131d47947c6e9434eed396c (diff)
downloadslackbuilds-5acd1c8e3c74dcc6ed35e058c7c1a67561bb4557.tar.gz
games/mame: Updated for version 0.186, speed up build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/mame')
-rw-r--r--games/mame/mame.SlackBuild11
-rw-r--r--games/mame/mame.info6
2 files changed, 12 insertions, 5 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index 466111e92c..b8306d833f 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -9,6 +9,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170607 bkw:
+# - Updated for v0.186.
+# - Link with ld.gold instead of the default ld, which saves *2 hours* of
+# build time on my test box (build is 3x as fast as it was).
+
# 20170428 bkw:
# - Updated for v0.185.
@@ -74,7 +79,7 @@
# - Update .ini file slightly (sound=sdl, not sound=1)
PRGNAM=mame
-VERSION=${VERSION:-0.185}
+VERSION=${VERSION:-0.186}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -203,7 +208,8 @@ if [ -e "$GROOVYDIFF" ]; then
fi
-# Having ARCH set in the env will break the build, hence ARCH=""
+# Having ARCH set in the env will break the build, hence ARCH="".
+# Using ld.gold is *much* faster, and I see no disadvantage to it.
make USE_QTDEBUG=$QTOPT \
USE_SYSTEM_LIB_EXPAT=1 \
@@ -211,6 +217,7 @@ make USE_QTDEBUG=$QTOPT \
USE_SYSTEM_LIB_JPEG=1 \
USE_SYSTEM_LIB_FLAC=1 \
OPT_FLAGS="$SLKCFLAGS" \
+ LDOPTS="-fuse-ld=gold" \
OVERRIDE_CC="$( which gcc )" \
OVERRIDE_CXX="$( which g++ )" \
ARCH="" \
diff --git a/games/mame/mame.info b/games/mame/mame.info
index 5d07498950..ea8be6126a 100644
--- a/games/mame/mame.info
+++ b/games/mame/mame.info
@@ -1,8 +1,8 @@
PRGNAM="mame"
-VERSION="0.185"
+VERSION="0.186"
HOMEPAGE="http://mamedev.org/"
-DOWNLOAD="https://github.com/mamedev/mame/archive/mame0185/mame-mame0185.tar.gz"
-MD5SUM="5eed1512cb8323f03779954b47b80b2e"
+DOWNLOAD="https://github.com/mamedev/mame/archive/mame0186/mame-mame0186.tar.gz"
+MD5SUM="b1366b2313629735ef4433f9bca92e5b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_ttf"