aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/sdlmess/Manifest2
-rw-r--r--games-emulation/sdlmess/sdlmess-9999.ebuild17
2 files changed, 9 insertions, 10 deletions
diff --git a/games-emulation/sdlmess/Manifest b/games-emulation/sdlmess/Manifest
index 921c2c1..f45fac2 100644
--- a/games-emulation/sdlmess/Manifest
+++ b/games-emulation/sdlmess/Manifest
@@ -1,3 +1,3 @@
AUX mess.ini.in 6436 RMD160 21963b1485990d63f49a8c21b717ae4fb2a97973 SHA1 fe361e09cdb88b8446f2ea244b08b738bdd18c53 SHA256 7011d36654b763e2b29fc3b0fcd66ef0497b75bf197e7af0b77a66bbc8224bfc
AUX vector.ini.in 119 RMD160 ca72c401ea186bc04da6db12667b0c8e66367c8c SHA1 c805e53b04c3e0df55c564b4863e9d987ffd992b SHA256 c65c4fae86c3a36b877d12c19c81a233ec496a1888380dfcb3171e43f7ad1b16
-EBUILD sdlmess-9999.ebuild 2622 RMD160 dfbc3c85c54bfa15da73a531960419f3b27bdb44 SHA1 bc5072a9890a33f7edcc76dab8099c610fc274de SHA256 ff24fce65c8ef731d8213d2991eb0f0a1854eda335b7bc663e18ca367cd883de
+EBUILD sdlmess-9999.ebuild 2564 RMD160 f930aa52a0e89cc3f301ef92213c011e4c3faf8b SHA1 9155bd2b5714bfd9154eb4cfdd749c526d848ec0 SHA256 7c2be0e8b6d44938f5efa1404e613b43ff57db5d3334a0a724dc875e0fed4611
diff --git a/games-emulation/sdlmess/sdlmess-9999.ebuild b/games-emulation/sdlmess/sdlmess-9999.ebuild
index fe24034..e1d879a 100644
--- a/games-emulation/sdlmess/sdlmess-9999.ebuild
+++ b/games-emulation/sdlmess/sdlmess-9999.ebuild
@@ -49,8 +49,8 @@ src_prepare() {
src_compile() {
local make_opts opts_flags
use opengl || make_opts+=" NO_OPENGL=1"
-
-
+
+
if use debug ; then
ewarn "Building with DEBUG support is not recommended for normal use"
make_opts+="DEBUG=1"
@@ -58,10 +58,10 @@ src_compile() {
make_opts+="SYMBOL=1"
make_opts+="DEBUGGER=1"
fi
-
-
+
+
emake OSD=sdl TARGET=mess NAME="${PN}" \
- OPT_FLAGS='-DINI_PATH=\"\$HOME/.sdlmess\;'"${GAMES_SYSCONFDIR}/${PN}"'\"' \
+ OPT_FLAGS='-DINI_PATH=\"'"${GAMES_SYSCONFDIR}/${PN}"'\"' \
${make_opts} \
all \
|| die "emake failed"
@@ -82,17 +82,16 @@ src_install() { # Thanks to Sabayon ebuild
doins -r hash || die "doins -r keymaps failed"
doins -r keymaps || die "doins -r keymaps failed"
- insinto "${GAMES_SYSCONFDIR}/${PN}"
sed \
-e "s:@VIDEO@:$(use opengl && echo -n opengl || echo -n soft):" \
- "${FILESDIR}"/vector.ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/"vector.ini \
+ "${FILESDIR}"/vector.ini.in > "${ED}/${GAMES_SYSCONFDIR}/${PN}/"vector.ini \
|| die "sed vector.ini.in failed"
-
+
sed \
-e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \
-e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
-e "s:@VIDEO@:$(use opengl && echo -n opengl || echo -n soft):" \
- "${FILESDIR}"/mess.ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/${PN}".ini \
+ "${FILESDIR}"/mess.ini.in > "${ED}/${GAMES_SYSCONFDIR}/${PN}/"mess.ini \
|| die "sed mess.ini.in failed"
dodoc docs/{config,mame,newvideo}.txt *.txt