diff options
Diffstat (limited to 'games/mame/mame.SlackBuild')
-rw-r--r-- | games/mame/mame.SlackBuild | 16 |
1 files changed, 13 insertions, 3 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 |