diff options
author | 2011-06-18 19:37:15 +0200 | |
---|---|---|
committer | 2011-06-18 19:37:15 +0200 | |
commit | 0747900c1bc3c7c525f8973828c8b346131373cf (patch) | |
tree | ffd99cef1b40ecd0d6ea64642fb204d4fb73cc6b | |
parent | dev-libs/klibc: Minor updates (diff) | |
download | sardemff7-0747900c1bc3c7c525f8973828c8b346131373cf.tar.gz sardemff7-0747900c1bc3c7c525f8973828c8b346131373cf.tar.bz2 sardemff7-0747900c1bc3c7c525f8973828c8b346131373cf.zip |
games-emulation/sdlmess: rethink config file
The config file should only override Gentoo-specific values:
- paths
- opengl (USE-flag)
- keymaps
-rw-r--r-- | games-emulation/sdlmess/Manifest | 6 | ||||
-rw-r--r-- | games-emulation/sdlmess/files/mess.ini.in | 231 | ||||
-rw-r--r-- | games-emulation/sdlmess/files/vector.ini.in | 1 | ||||
-rw-r--r-- | games-emulation/sdlmess/sdlmess-9999.ebuild | 6 |
4 files changed, 7 insertions, 237 deletions
diff --git a/games-emulation/sdlmess/Manifest b/games-emulation/sdlmess/Manifest index e328b98..a4863f0 100644 --- a/games-emulation/sdlmess/Manifest +++ b/games-emulation/sdlmess/Manifest @@ -1,3 +1,3 @@ -AUX mess.ini.in 6808 RMD160 42b31d49c637b35d01329c4f864103838c88bc2e SHA1 1b7c8ceca62339dca1cc7c055ae64b949fc43bd6 SHA256 1ef234b7ab0707387b6079f871cd0664a08cc3f1becc7dc76be530e0a7e8b428 -AUX vector.ini.in 119 RMD160 ca72c401ea186bc04da6db12667b0c8e66367c8c SHA1 c805e53b04c3e0df55c564b4863e9d987ffd992b SHA256 c65c4fae86c3a36b877d12c19c81a233ec496a1888380dfcb3171e43f7ad1b16 -EBUILD sdlmess-9999.ebuild 2601 RMD160 36fe88f762a7330b5dcab07bc127ba44687101c7 SHA1 d17e722f79a164dc3123db4ac1cdbf7b068c51d7 SHA256 25d88d7d13f610aa73b96368f61215f6cf93a1c8f5297f9481abcefc6327566c +AUX mess.ini.in 1825 RMD160 8b8f8ee1f4c2bc920cb644baa59a8c7f500d5f8e SHA1 6e1e31b987877d79ac80aa662fd0d7311df42e88 SHA256 f7b292267c1903a3f2c2e2a0c3fe762dc6adebb34ef6d0416e507ecb44a0258d +AUX vector.ini.in 94 RMD160 1ad6969672da69f425501d74850e9089a8e58e89 SHA1 75f7e4fce9b45e7c80e87df0c13eab7d844b5d9e SHA256 be48e02550bc78c3b2c5eac2e9e6f0856a1a3bb57726417af61daec969fcb3f4 +EBUILD sdlmess-9999.ebuild 2573 RMD160 30097f42ce3eb70dd2152d559bc9aa1a1daaa51b SHA1 8c0e3cd8485a6a9578a8a221819ac1eed98eaa49 SHA256 00db56292fcb4ee65f709b383824cef2197435db343863720e6bea5464564ef6 diff --git a/games-emulation/sdlmess/files/mess.ini.in b/games-emulation/sdlmess/files/mess.ini.in index 9f7f9e7..fcde210 100644 --- a/games-emulation/sdlmess/files/mess.ini.in +++ b/games-emulation/sdlmess/files/mess.ini.in @@ -30,219 +30,9 @@ diff_directory $HOME/.sdlmess/diff comment_directory $HOME/.sdlmess/comments # -# CORE STATE/PLAYBACK OPTIONS -# -state -autosave 0 -playback -record -mngwrite -wavwrite -snapname %g/%i -snapsize auto -snapview standard -burnin 0 - -# -# CORE PERFORMANCE OPTIONS -# -autoframeskip 0 -frameskip 0 -seconds_to_run 0 -throttle 1 -sleep 1 -speed 1.0 -refreshspeed 0 - -# -# CORE ROTATION OPTIONS -# -rotate 1 -ror 0 -rol 0 -autoror 0 -autorol 0 -flipx 0 -flipy 0 - -# -# CORE ARTWORK OPTIONS -# -artwork_crop 0 -use_backdrops 1 -use_overlays 1 -use_bezels 1 -use_cpanels 1 -use_marquees 1 - -# -# CORE SCREEN OPTIONS -# -brightness 1.0 -contrast 1.0 -gamma 1.0 -pause_brightness 0.65 -effect none - -# -# CORE VECTOR OPTIONS -# -antialias 1 -beam 1.0 -flicker 0 - -# -# CORE SOUND OPTIONS -# -sound 1 -samplerate 48000 -samples 1 -volume 0 - -# -# CORE INPUT OPTIONS -# -coin_lockout 1 -ctrlr -mouse 1 -joystick 1 -lightgun 0 -multikeyboard 0 -multimouse 0 -steadykey 0 -offscreen_reload 0 -joystick_map auto -joystick_deadzone 0.3 -joystick_saturation 0.85 -natural 0 - -# -# CORE INPUT AUTOMATIC ENABLE OPTIONS -# -paddle_device keyboard -adstick_device keyboard -pedal_device keyboard -dial_device keyboard -trackball_device keyboard -lightgun_device keyboard -positional_device keyboard -mouse_device mouse - -# -# CORE DEBUGGING OPTIONS -# -log 0 -verbose 0 -update_in_pause 0 -debug 0 -debugscript -debug_internal 0 - -# -# CORE MISC OPTIONS -# -bios -cheat 0 -skip_gameinfo 0 -uifont default -ramsize - -# -# DEBUGGING OPTIONS -# -oslog 0 -watchdog 0 - -# -# PERFORMANCE OPTIONS -# -multithreading 0 -numprocessors auto -sdlvideofps 0 -bench 0 - -# # VIDEO OPTIONS # video @VIDEO@ -numscreens 1 -window 0 -maximize 1 -keepaspect 1 -unevenstretch 1 -effect none -centerh 1 -centerv 1 -waitvsync 0 -scalemode none - -# -# OpenGL-SPECIFIC OPTIONS -# -filter 1 -prescale 1 -gl_forcepow2texture 0 -gl_notexturerect 0 -gl_vbo 1 -gl_pbo 1 -gl_glsl 0 -gl_glsl_filter 1 -glsl_shader_mame0 none -glsl_shader_mame1 none -glsl_shader_mame2 none -glsl_shader_mame3 none -glsl_shader_mame4 none -glsl_shader_mame5 none -glsl_shader_mame6 none -glsl_shader_mame7 none -glsl_shader_mame8 none -glsl_shader_mame9 none -glsl_shader_screen0 none -glsl_shader_screen1 none -glsl_shader_screen2 none -glsl_shader_screen3 none -glsl_shader_screen4 none -glsl_shader_screen5 none -glsl_shader_screen6 none -glsl_shader_screen7 none -glsl_shader_screen8 none -glsl_shader_screen9 none -gl_glsl_vid_attr 1 - -# -# PER-WINDOW VIDEO OPTIONS -# -screen auto -aspect auto -resolution auto -view auto -screen0 auto -aspect0 auto -resolution0 auto -view0 auto -screen1 auto -aspect1 auto -resolution1 auto -view1 auto -screen2 auto -aspect2 auto -resolution2 auto -view2 auto -screen3 auto -aspect3 auto -resolution3 auto -view3 auto - -# -# FULL SCREEN OPTIONS -# -switchres 0 -useallheads 0 - -# -# SOUND OPTIONS -# -audio_latency 2 # # SDL KEYBOARD MAPPING @@ -255,24 +45,3 @@ keymap 0 #keymap_file @GAMES_DATADIR@/sdlmess/keymaps/km_de_LINUX.txt #keymap_file @GAMES_DATADIR@/sdlmess/keymaps/km_fr_LINUX.txt #keymap_file @GAMES_DATADIR@/sdlmess/keymaps/km_it_LINUX.txt -uimodekey SCRLOCK - -# -# SDL JOYSTICK MAPPING -# -joy_idx1 auto -joy_idx2 auto -joy_idx3 auto -joy_idx4 auto -joy_idx5 auto -joy_idx6 auto -joy_idx7 auto -joy_idx8 auto -sixaxis 0 - -# -# SDL LOW-LEVEL DRIVER OPTIONS -# -videodriver auto -audiodriver auto -gl_lib auto diff --git a/games-emulation/sdlmess/files/vector.ini.in b/games-emulation/sdlmess/files/vector.ini.in index fa3fb82..a28173a 100644 --- a/games-emulation/sdlmess/files/vector.ini.in +++ b/games-emulation/sdlmess/files/vector.ini.in @@ -6,4 +6,3 @@ # VIDEO OPTIONS # video @VIDEO@ -yuvmode yv12 diff --git a/games-emulation/sdlmess/sdlmess-9999.ebuild b/games-emulation/sdlmess/sdlmess-9999.ebuild index bc5f659..d13dbfa 100644 --- a/games-emulation/sdlmess/sdlmess-9999.ebuild +++ b/games-emulation/sdlmess/sdlmess-9999.ebuild @@ -83,15 +83,17 @@ src_install() { # Thanks to Sabayon ebuild doins -r keymaps || die "doins -r keymaps failed" insinto "${GAMES_SYSCONFDIR}/${PN}" + local video="soft" + use opengl && video="opengl" sed \ - -e "s:@VIDEO@:$(use opengl && echo -n opengl || echo -n soft):" \ + -e "s:@VIDEO@:${video}:" \ "${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):" \ + -e "s:@VIDEO@:${video}:" \ "${FILESDIR}"/mess.ini.in > "${ED}/${GAMES_SYSCONFDIR}/${PN}/"mess.ini \ || die "sed mess.ini.in failed" |