diff options
author | B. Watson <yalhcru@gmail.com> | 2016-09-29 02:27:35 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-01 07:29:16 +0700 |
commit | 2c63e36ab3441a96256fe4d8769523c748eba407 (patch) | |
tree | eed9bfefd404b9dadefa5f4a669928376a18c019 /games/mame/mame.SlackBuild | |
parent | f55341b03cc8bfe8e83f3757c95f20900976777d (diff) |
games/mame: Updated for version 0.178, add bgfx support.
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 |