aboutsummaryrefslogtreecommitdiff
path: root/games/mame
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-09-29 02:27:35 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:29:16 +0700
commit2c63e36ab3441a96256fe4d8769523c748eba407 (patch)
treeeed9bfefd404b9dadefa5f4a669928376a18c019 /games/mame
parentf55341b03cc8bfe8e83f3757c95f20900976777d (diff)
games/mame: Updated for version 0.178, add bgfx support.
Diffstat (limited to 'games/mame')
-rw-r--r--games/mame/mame.SlackBuild16
-rw-r--r--games/mame/mame.info6
-rw-r--r--games/mame/mame.ini1
3 files changed, 17 insertions, 6 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index 1b4f181677dac..6fe4cc964e71e 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -37,8 +37,15 @@
# of every month. I doubt I'm going to find time to update this
# script 12 times a year, but maybe...
+# 20160928 bkw:
+# - Updated for v0.178. Sorry, missed a month.
+# - Install artwork/ and bgfx/ so the new bgfx shader stuff will work.
+# - Set bgfx_path in mame.ini. The default is still 'video opengl' but
+# now it's easy to enable bgfx, just by changing to 'video bgfx'.
+# Thanks to Doogster for pointing this out.
+
PRGNAM=mame
-VERSION=${VERSION:-0.176}
+VERSION=${VERSION:-0.178}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -195,10 +202,13 @@ install -m0644 -oroot -groot docs/man/*.6 $PKG/usr/man/man6
gzip -9 $PKG/usr/man/man?/*.?
# Create empty dirs for the user to populate with ROMs and such.
-for i in roms samples artwork ctrlr font cheat; do
- mkdir -p $PKG/usr/share/games/mame/$i
+for i in roms samples ctrlr font cheat; do
+ mkdir -p $PKG/usr/share/games/$PRGNAM/$i
done
+# Install the artwork and bgfx stuff (needed for 'video bgfx' in mame.ini).
+cp -a artwork bgfx $PKG/usr/share/games/$PRGNAM
+
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
# can't just "cp docs/* ..." because man/ is a dir, set -e kills the script
cp docs/L* docs/*.* $PKG/usr/doc/${PRGNAM}-$VERSION
diff --git a/games/mame/mame.info b/games/mame/mame.info
index 1a373a13201fe..4abaddbaef257 100644
--- a/games/mame/mame.info
+++ b/games/mame/mame.info
@@ -1,8 +1,8 @@
PRGNAM="mame"
-VERSION="0.176"
+VERSION="0.178"
HOMEPAGE="http://mamedev.org/"
-DOWNLOAD="https://github.com/mamedev/mame/archive/mame0176.tar.gz"
-MD5SUM="b2aed655e1ea2bccf26bf96f189257ba"
+DOWNLOAD="https://github.com/mamedev/mame/archive/mame0178.tar.gz"
+MD5SUM="89ee2eeb14a990f4d8aeddf6b835a4d5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_ttf"
diff --git a/games/mame/mame.ini b/games/mame/mame.ini
index 8e329f62d2f5d..1d6bf1987be23 100644
--- a/games/mame/mame.ini
+++ b/games/mame/mame.ini
@@ -18,6 +18,7 @@ readconfig 1
rompath $HOME/.mame/roms;/usr/share/games/mame/roms
samplepath $HOME/.mame/samples;/usr/share/games/mame/samples
artpath $HOME/.mame/artwork;/usr/share/games/mame/artwork
+bgfx_path $HOME/.mame/bgfx;/usr/share/games/mame/bgfx
ctrlrpath $HOME/.mame/ctrlr;/usr/share/games/mame/ctrlr
inipath $HOME/.mame;/etc
fontpath $HOME/.mame;/usr/share/games/mame/font