public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-emulation/sdlmame/, games-emulation/sdlmame/files/
@ 2016-02-18 18:30 Michael Sterrett
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett @ 2016-02-18 18:30 UTC (permalink / raw
  To: gentoo-commits

commit:     fa416fb520e9ac382eb63baf9ce98b5cee5680ab
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 18 18:28:40 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Thu Feb 18 18:29:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa416fb5

games-emulation/sdlmame: clean old; dropping support for ppc

Package-Manager: portage-2.2.26

 games-emulation/sdlmame/Manifest                   |   4 -
 games-emulation/sdlmame/files/mame-0.139.ini.in    | 270 ---------------------
 .../sdlmame/files/sdlmame-0.144-makefile.patch     |  79 ------
 .../sdlmame/files/sdlmame-0.144-no-opengl.patch    |  11 -
 .../sdlmame/files/sdlmame-0.148_p1-makefile.patch  | 177 --------------
 .../sdlmame/files/sdlmame-0.148_p1-no-opengl.patch |  12 -
 .../sdlmame/files/sdlmame-0.149-QA.patch           | 191 ---------------
 .../files/sdlmame-0.149-debugger-linking.patch     |  28 ---
 .../sdlmame/files/sdlmame-0.149-no-opengl.patch    |  19 --
 .../sdlmame/files/sdlmame-0.149-system-lua.patch   |  33 ---
 games-emulation/sdlmame/sdlmame-0.148_p1-r1.ebuild | 186 --------------
 games-emulation/sdlmame/sdlmame-0.149.ebuild       | 194 ---------------
 12 files changed, 1204 deletions(-)

diff --git a/games-emulation/sdlmame/Manifest b/games-emulation/sdlmame/Manifest
index 80dcd95..27c42ad 100644
--- a/games-emulation/sdlmame/Manifest
+++ b/games-emulation/sdlmame/Manifest
@@ -1,5 +1 @@
 DIST mame-0.168.zip 82770536 SHA256 f91e014c3d3bf3da790284a25437f231a84228a6adbf42db35ca34a57f8a3092 SHA512 14b0519682f8aeb2379cd29b9e0ad8f3c54866296ac158876435425b79c3bf19a2dc520df7a44fe301a8e8cbbc335185602f4998edf6e95324f527c50c72411e WHIRLPOOL 41ddbe191423e3653a52f7734cc85088f1c663fd9aefdbd00ceefbe86f27bde190d14505be7fa69f76c7a39c6bbb5ab196685c2e001c8517cb90f4f7f27e8a51
-DIST mame0148s.zip 33822494 SHA256 78d8a68ba53934fdfc895f450c08682dada81f7ec3e74a98fb042539506d9321 SHA512 a520115e2e82b2da3200ffa1fa56f668f95c3e26a927bcdb30a34e73053e55d26a6a6c1ec95eae1237bce1d2d0cd276b84466705fd5f53ac77827d06ea04bc03 WHIRLPOOL c6de71c198396977475110ab5840b7eaa6e5074519adffc286dd539ab916ea951fa1c307218b0d144cdc8aeeb096216106a3c21a6d53b42c04dc75e8103be04a
-DIST mame0149s.zip 35160585 SHA256 0e41b5773bea217d3ca04002903ac5ef569e6f5b67c05c72496d2cd7993b0a6b SHA512 4b8bd72e93f71fdb52c643776ecefb87fe605effe3f8c1724156cf7fafb8107330d92914eb14208a170cd5a0ee2775e7ea8d8edd0b525a35bbb0d5514172c1c3 WHIRLPOOL c5821ffc0f640e93986cd88f9e530be36e5ba0405a5dbc69a5021c828248dc74541340d5d9d49ece19635b5239bbaeeeb93bad2800fc46e9f441d8ffd3751ca5
-DIST sdlmame-ui.bdf.gz 114727 SHA256 f2ec11dd926bbeae8647e68607107516a30790239464939f3e99a0f62fc7f17e SHA512 67ba1bc632c1ac51b97acf8c1061477edd3519fea3d1233951723741c926ff72e259c274babb036abf4db92f217db507c58a6fc6e438db4b14c5fe5789b2ed64 WHIRLPOOL 2150053b38d8318804bf40cdcd9cdefdd2976c4cfab563c90021f0d9be0a0a57174166ece8b51658d9f2192e07343f198358299667a1db32f146c9fb9c528956
-DIST sdlmame0148u1_diff.zip 3386949 SHA256 27378d09e50f31ca0dd4f39df4c474016671946657eb7af9ea5aa0ffbae1d9bb SHA512 f62aa8ebfc3cfa96d2fd5e58c921cc2adfbe3704a745ef49bc247060ecd3333ecc12e1a3add810c6237f3f7a1946cf1b9d46e6d72aeb87baffebadb933de44de WHIRLPOOL 550f2e777363f307b8e56b4ec31f4852abe89434af5ce596bd6e6023f35a728e4078033b1edc4b302e0cf50fa646a190ec02be9329127379405aec2e9b591531

diff --git a/games-emulation/sdlmame/files/mame-0.139.ini.in b/games-emulation/sdlmame/files/mame-0.139.ini.in
deleted file mode 100644
index 7b69f18..0000000
--- a/games-emulation/sdlmame/files/mame-0.139.ini.in
+++ /dev/null
@@ -1,270 +0,0 @@
-#
-# CORE CONFIGURATION OPTIONS
-#
-readconfig                1
-writeconfig               0
-
-#
-# CORE SEARCH PATH OPTIONS
-#
-rompath                   $HOME/.sdlmame/roms;@GAMES_DATADIR@/sdlmame/roms
-samplepath                $HOME/.sdlmame/samples;@GAMES_DATADIR@/sdlmame/samples
-artpath                   $HOME/.sdlmame/artwork;@GAMES_DATADIR@/sdlmame/artwork
-ctrlrpath                 $HOME/.sdlmame/ctrlr;@GAMES_SYSCONFDIR@/sdlmame/ctrlr;@GAMES_DATADIR@/sdlmame/ctrlr
-inipath                   $HOME/.sdlmame;@GAMES_SYSCONFDIR@/sdlmame
-fontpath                  $HOME/.sdlmame;@GAMES_DATADIR@/sdlmame
-cheatpath                 $HOME/.sdlmame/cheats;@GAMES_SYSCONFDIR@/sdlmame/cheats;@GAMES_DATADIR@/sdlmame/cheats
-crosshairpath             $HOME/.sdlmame/crosshair;@GAMES_DATADIR@/sdlmame/crosshair
-
-#
-# CORE OUTPUT DIRECTORY OPTIONS
-#
-cfg_directory             $HOME/.sdlmame/cfg
-nvram_directory           $HOME/.sdlmame/nvram
-memcard_directory         $HOME/.sdlmame/memcard
-input_directory           $HOME/.sdlmame/inp
-state_directory           $HOME/.sdlmame/sta
-snapshot_directory        $HOME/.sdlmame/snap
-diff_directory            $HOME/.sdlmame/diff
-comment_directory         $HOME/.sdlmame/comments
-
-#
-# CORE STATE/PLAYBACK OPTIONS
-#
-state                     
-autosave                  0
-playback                  
-record                    
-mngwrite                  
-aviwrite                  
-wavwrite                  
-snapname                  %g/%i
-snapsize                  auto
-snapview                  internal
-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
-
-#
-# CORE SCREEN OPTIONS
-#
-brightness                1.0
-contrast                  1.0
-gamma                     1.0
-pause_brightness          0.65
-
-#
-# 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                     0
-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
-uimodekey                 auto
-
-#
-# 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
-
-#
-# DEBUGGING OPTIONS
-#
-oslog                     0
-
-#
-# PERFORMANCE OPTIONS
-#
-multithreading            0
-numprocessors             auto
-sdlvideofps               0
-
-#
-# VIDEO OPTIONS
-#
-video                     soft
-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             3
-
-#
-# SDL KEYBOARD MAPPING
-#
-keymap                    0
-keymap_file               $HOME/.sdlmame/keymap.dat
-#keymap_file               @GAMES_DATADIR@/sdlmame/keymaps/km-be.txt
-#keymap_file               @GAMES_DATADIR@/sdlmame/keymaps/km-ch.txt
-#keymap_file               @GAMES_DATADIR@/sdlmame/keymaps/km-de.txt
-#keymap_file               @GAMES_DATADIR@/sdlmame/keymaps/km-fr.txt
-#keymap_file               @GAMES_DATADIR@/sdlmame/keymaps/km_it.txt
-
-#
-# 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 LOWLEVEL DRIVER OPTIONS
-#
-videodriver               auto
-audiodriver               auto
-gl_lib                    auto

diff --git a/games-emulation/sdlmame/files/sdlmame-0.144-makefile.patch b/games-emulation/sdlmame/files/sdlmame-0.144-makefile.patch
deleted file mode 100644
index f69cfe4..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.144-makefile.patch
+++ /dev/null
@@ -1,79 +0,0 @@
---- work.orig/makefile	2011-11-09 22:40:30.000000000 -0500
-+++ work/makefile	2011-11-16 19:24:24.615419949 -0500
-@@ -435,9 +435,6 @@
- CPPONLYFLAGS += -x c++ -std=gnu++98
- COBJFLAGS += -x objective-c++
- 
--# this speeds it up a bit by piping between the preprocessor/compiler/assembler
--CCOMFLAGS += -pipe
--
- # add -g if we need symbols, and ensure we have frame pointers
- ifdef SYMBOLS
- CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer
-@@ -442,7 +442,6 @@
- 
- # add -v if we need verbose build information
- ifdef VERBOSE
--CCOMFLAGS += -v
- endif
- 
- # add profiling information for the compiler
-@@ -453,23 +450,6 @@
- CCOMFLAGS += -pg
- endif
- 
--# add the optimization flag
--CCOMFLAGS += -O$(OPTIMIZE)
--
--# if we are optimizing, include optimization options
--# and make all errors into warnings
--ifneq ($(OPTIMIZE),0)
--ifneq ($(TARGETOS),os2)
--ifndef NOWERROR
--CCOMFLAGS += -Werror -fno-strict-aliasing $(ARCHOPTS)
--else
--CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS)
--endif
--else
--CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS)
--endif
--endif
--
- # add a basic set of warnings
- CCOMFLAGS += \
- 	-Wall \
-@@ -524,20 +504,6 @@
- endif
- 
- 
--#-------------------------------------------------
--# linking flags
--#-------------------------------------------------
--
--# LDFLAGS are used generally; LDFLAGSEMULATOR are additional
--# flags only used when linking the core emulator
--LDFLAGS =
--ifneq ($(TARGETOS),macosx)
--ifneq ($(TARGETOS),os2)
--ifneq ($(TARGETOS),solaris)
--LDFLAGS = -Wl,--warn-common
--endif
--endif
--endif
- LDFLAGSEMULATOR =
- 
- # add profiling information for the linker
-@@ -545,13 +511,6 @@
- LDFLAGS += -pg
- endif
- 
--# strip symbols and other metadata in non-symbols and non profiling builds
--ifndef SYMBOLS
--ifneq ($(TARGETOS),macosx)
--LDFLAGS += -s
--endif
--endif
--
- # output a map file (emulator only)
- ifdef MAP
- LDFLAGSEMULATOR += -Wl,-Map,$(FULLNAME).map

diff --git a/games-emulation/sdlmame/files/sdlmame-0.144-no-opengl.patch b/games-emulation/sdlmame/files/sdlmame-0.144-no-opengl.patch
deleted file mode 100644
index 87eeae5..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.144-no-opengl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./src/osd/sdl/osdsdl.h.orig
-+++ ./src/osd/sdl/osdsdl.h
-@@ -225,6 +225,8 @@
- 	const char *audio_driver() const { return value(SDLOPTION_AUDIODRIVER); }
- #if USE_OPENGL
- 	const char *gl_lib() const { return value(SDLOPTION_GL_LIB); }
-+#else
-+	const char *gl_lib() const { return NULL; }
- #endif
- 
- private:

diff --git a/games-emulation/sdlmame/files/sdlmame-0.148_p1-makefile.patch b/games-emulation/sdlmame/files/sdlmame-0.148_p1-makefile.patch
deleted file mode 100644
index 7ba5969..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.148_p1-makefile.patch
+++ /dev/null
@@ -1,177 +0,0 @@
---- makefile
-+++ makefile
-@@ -314,13 +314,14 @@
- endif
- 
- # compiler, linker and utilities
--AR = @ar
--CC = @gcc
--LD = @g++
-+AR ?= @ar
-+CC ?= @gcc
-+CXX ?= @g++
-+LD = $(CXX)
- MD = -mkdir$(EXE)
- RM = @rm -f
- OBJDUMP = @objdump
--PYTHON = @python
-+PYTHON ?= @python
- 
- 
- #-------------------------------------------------
-@@ -455,7 +456,7 @@
- 
- # CFLAGS is defined based on C or C++ targets
- # (remember, expansion only happens when used, so doing it here is ok)
--CFLAGS = $(CCOMFLAGS) $(CPPONLYFLAGS)
-+CFLAGS += $(CCOMFLAGS) $(CPPONLYFLAGS)
- 
- # we compile C-only to C89 standard with GNU extensions
- # we compile C++ code to C++98 standard with GNU extensions
-@@ -463,9 +464,6 @@
- CPPONLYFLAGS += -x c++ -std=gnu++98
- COBJFLAGS += -x objective-c++
- 
--# this speeds it up a bit by piping between the preprocessor/compiler/assembler
--CCOMFLAGS += -pipe
--
- # add -g if we need symbols, and ensure we have frame pointers
- ifdef SYMBOLS
- CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer
-@@ -479,19 +477,6 @@
- # add profiling information for the compiler
- ifdef PROFILE
- CCOMFLAGS += -pg
--endif
--
--# add the optimization flag
--CCOMFLAGS += -O$(OPTIMIZE)
--
--# add the error warning flag
--ifndef NOWERROR
--CCOMFLAGS += -Werror
--endif
--
--# if we are optimizing, include optimization options
--ifneq ($(OPTIMIZE),0)
--CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS)
- endif
- 
- # add a basic set of warnings
-@@ -565,26 +550,11 @@
- 
- # LDFLAGS are used generally; LDFLAGSEMULATOR are additional
- # flags only used when linking the core emulator
--LDFLAGS =
--ifneq ($(TARGETOS),macosx)
--ifneq ($(TARGETOS),os2)
--ifneq ($(TARGETOS),solaris)
--LDFLAGS = -Wl,--warn-common
--endif
--endif
--endif
- LDFLAGSEMULATOR =
- 
- # add profiling information for the linker
- ifdef PROFILE
- LDFLAGS += -pg
--endif
--
--# strip symbols and other metadata in non-symbols and non profiling builds
--ifndef SYMBOLS
--ifneq ($(TARGETOS),macosx)
--LDFLAGS += -s
--endif
- endif
- 
- # output a map file (emulator only)
---- src/osd/sdl/sdl.mak
-+++ src/osd/sdl/sdl.mak
-@@ -24,6 +24,8 @@
- # uncomment and edit next line to specify a distribution
- # supported debian-stable, ubuntu-intrepid
- 
-+PKG_CONFIG ?= pkg-config
-+
- # DISTRO = debian-stable
- # DISTRO = ubuntu-intrepid
- # DISTRO = gcc44-generic
-@@ -91,9 +93,9 @@
- endif
- 
- ifdef SDL_INSTALL_ROOT
--SDL_CONFIG = $(SDL_INSTALL_ROOT)/bin/$(SDL_LIBVER)-config
-+SDL_CONFIG ?= $(SDL_INSTALL_ROOT)/bin/$(SDL_LIBVER)-config
- else
--SDL_CONFIG = $(SDL_LIBVER)-config
-+SDL_CONFIG ?= $(SDL_LIBVER)-config
- endif
- 
- ifeq ($(SDL_LIBVER),sdl2)
-@@ -190,8 +192,8 @@
- SDL_NETWORK = taptun
- 
- ifndef NO_USE_MIDI
--INCPATH += `pkg-config --cflags alsa`
--LIBS += `pkg-config --libs alsa`
-+INCPATH += $(shell $(PKG_CONFIG) --cflags alsa)
-+LIBS += $(shell $(PKG_CONFIG) --libs alsa)
- endif
- 
- endif
-@@ -476,10 +478,10 @@
- # Remove the "/SDL" component from the include path so that we can compile
- # files (header files are #include "SDL/something.h", so the extra "/SDL"
- # causes a significant problem)
--INCPATH += `sdl-config --cflags | sed 's:/SDL::'`
-+INCPATH += $(shell $(SDL_CONFIG) --cflags | sed 's:/SDL::')
- CCOMFLAGS += -DNO_SDL_GLEXT
- # Remove libSDLmain, as its symbols conflict with SDLMain_tmpl.m
--LIBS += `sdl-config --libs | sed 's/-lSDLmain//'` -lpthread
-+LIBS += $(shell $(SDL_CONFIG) --libs | sed 's/-lSDLmain//') -lpthread
- DEFS += -DMACOSX_USE_LIBSDL
- endif   # MACOSX_USE_LIBSDL
- 
-@@ -532,8 +534,8 @@
- endif
- endif
- 
--INCPATH += `pkg-config --cflags fontconfig`
--LIBS += `pkg-config --libs fontconfig`
-+INCPATH += $(shell $(PKG_CONFIG) --cflags fontconfig)
-+LIBS += $(shell $(PKG_CONFIG) --libs fontconfig)
- 
- ifeq ($(SDL_LIBVER),sdl2)
- LIBS += -lSDL2_ttf
-@@ -616,8 +618,8 @@
- 
- ifeq ($(BASE_TARGETOS),os2)
- 
--INCPATH += `sdl-config --cflags`
--LIBS += `sdl-config --libs`
-+INCPATH += $(shell $(SDL_CONFIG) --cflags)
-+LIBS += $(shell $(SDL_CONFIG) --libs)
- 
- endif # OS2
- 
-@@ -690,15 +692,15 @@
- 
- # the new debugger relies on GTK+ in addition to the base SDLMAME needs
- # Non-X11 builds can not use the debugger
--INCPATH += `pkg-config --cflags-only-I gtk+-2.0` `pkg-config --cflags-only-I gconf-2.0`
--CCOMFLAGS += `pkg-config --cflags-only-other gtk+-2.0` `pkg-config --cflags-only-other gconf-2.0`
--LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --libs gconf-2.0`
-+INCPATH += $(shell $(PKG_CONFIG) --cflags-only-I gtk+-2.0 gconf-2.0)
-+CCOMFLAGS += $(shell $(PKG_CONFIG) --cflags-only-other gtk+-2.0 gconf-2.0)
-+LIBS += $(shell $(PKG_CONFIG) --libs gtk+-2.0 gconf-2.0)
- #CCOMFLAGS += -DGTK_DISABLE_DEPRECATED
- 
- # The newer debugger uses QT
- ifdef USE_QTDEBUG
--INCPATH += `pkg-config QtGui --cflags`
--LIBS += `pkg-config QtGui --libs`
-+INCPATH += $(shell $(PKG_CONFIG) QtGui --cflags)
-+LIBS += $(shell $(PKG_CONFIG) QtGui --libs)
- endif
- 
- # some systems still put important things in a different prefix

diff --git a/games-emulation/sdlmame/files/sdlmame-0.148_p1-no-opengl.patch b/games-emulation/sdlmame/files/sdlmame-0.148_p1-no-opengl.patch
deleted file mode 100644
index 7b339ba..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.148_p1-no-opengl.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur a/src/osd/sdl/osdsdl.h b/src/osd/sdl/osdsdl.h
---- a/src/osd/sdl/osdsdl.h	2012-07-11 20:49:55.070264487 +0200
-+++ b/src/osd/sdl/osdsdl.h	2012-07-11 20:51:45.976264395 +0200
-@@ -216,6 +216,8 @@
- 	const char *audio_driver() const { return value(SDLOPTION_AUDIODRIVER); }
- #if USE_OPENGL
- 	const char *gl_lib() const { return value(SDLOPTION_GL_LIB); }
-+#else
-+    const char *gl_lib() const { return NULL; }
- #endif
- 
- private:

diff --git a/games-emulation/sdlmame/files/sdlmame-0.149-QA.patch b/games-emulation/sdlmame/files/sdlmame-0.149-QA.patch
deleted file mode 100644
index 97e4b8f..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.149-QA.patch
+++ /dev/null
@@ -1,191 +0,0 @@
-commit 938cfdf1f01bcc9ac736249ee6458a774d560738
-Author: hasufell <hasufell@gentoo.org>
-Date:   Tue Jun 25 23:48:02 2013 +0200
-
-    QA: respect several environment variables
-    
-    such as CC,CFLAGS,PKG_CONFIG...
-
-diff --git a/makefile b/makefile
-index ad6ae2d..dd4598d 100644
---- a/makefile
-+++ b/makefile
-@@ -317,13 +317,15 @@ BUILD_EXE = $(EXE)
- endif
- 
- # compiler, linker and utilities
--AR = @ar
--CC = @gcc
--LD = @g++
-+AR ?= @ar
-+CC ?= @gcc
-+CXX ?= @g++
-+LD = $(CXX)
- MD = -mkdir$(EXE)
- RM = @rm -f
- OBJDUMP = @objdump
--PYTHON = @python
-+PYTHON ?= @python
-+PKG_CONFIG ?= pkg-config
- 
- 
- #-------------------------------------------------
-@@ -458,7 +460,7 @@ CPPONLYFLAGS =
- 
- # CFLAGS is defined based on C or C++ targets
- # (remember, expansion only happens when used, so doing it here is ok)
--CFLAGS = $(CCOMFLAGS) $(CPPONLYFLAGS)
-+CFLAGS += $(CCOMFLAGS) $(CPPONLYFLAGS)
- 
- # we compile C-only to C89 standard with GNU extensions
- # we compile C++ code to C++98 standard with GNU extensions
-@@ -466,9 +468,6 @@ CONLYFLAGS += -std=gnu89
- CPPONLYFLAGS += -x c++ -std=gnu++98
- COBJFLAGS += -x objective-c++
- 
--# this speeds it up a bit by piping between the preprocessor/compiler/assembler
--CCOMFLAGS += -pipe
--
- # add -g if we need symbols, and ensure we have frame pointers
- ifdef SYMBOLS
- CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer
-@@ -484,19 +483,6 @@ ifdef PROFILE
- CCOMFLAGS += -pg
- endif
- 
--# add the optimization flag
--CCOMFLAGS += -O$(OPTIMIZE)
--
--# add the error warning flag
--ifndef NOWERROR
--CCOMFLAGS += -Werror
--endif
--
--# if we are optimizing, include optimization options
--ifneq ($(OPTIMIZE),0)
--CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS)
--endif
--
- # add a basic set of warnings
- CCOMFLAGS += \
- 	-Wall \
-@@ -576,14 +562,6 @@ endif
- 
- # LDFLAGS are used generally; LDFLAGSEMULATOR are additional
- # flags only used when linking the core emulator
--LDFLAGS =
--ifneq ($(TARGETOS),macosx)
--ifneq ($(TARGETOS),os2)
--ifneq ($(TARGETOS),solaris)
--LDFLAGS = -Wl,--warn-common
--endif
--endif
--endif
- LDFLAGSEMULATOR =
- 
- # add profiling information for the linker
-@@ -591,13 +569,6 @@ ifdef PROFILE
- LDFLAGS += -pg
- endif
- 
--# strip symbols and other metadata in non-symbols and non profiling builds
--ifndef SYMBOLS
--ifneq ($(TARGETOS),macosx)
--LDFLAGS += -s
--endif
--endif
--
- # output a map file (emulator only)
- ifdef MAP
- LDFLAGSEMULATOR += -Wl,-Map,$(FULLNAME).map
-diff --git a/src/osd/sdl/sdl.mak b/src/osd/sdl/sdl.mak
-index 84332ef..36655d3 100644
---- a/src/osd/sdl/sdl.mak
-+++ b/src/osd/sdl/sdl.mak
-@@ -24,6 +24,8 @@
- # uncomment and edit next line to specify a distribution
- # supported debian-stable, ubuntu-intrepid
- 
-+PKG_CONFIG ?= pkg-config
-+
- # DISTRO = debian-stable
- # DISTRO = ubuntu-intrepid
- # DISTRO = gcc44-generic
-@@ -88,9 +90,9 @@ SDL_LIBVER = sdl
- endif
- 
- ifdef SDL_INSTALL_ROOT
--SDL_CONFIG = $(SDL_INSTALL_ROOT)/bin/$(SDL_LIBVER)-config
-+SDL_CONFIG ?= $(SDL_INSTALL_ROOT)/bin/$(SDL_LIBVER)-config
- else
--SDL_CONFIG = $(SDL_LIBVER)-config
-+SDL_CONFIG ?= $(SDL_LIBVER)-config
- endif
- 
- ifeq ($(SDL_LIBVER),sdl2)
-@@ -187,8 +189,8 @@ SYNC_IMPLEMENTATION = tc
- SDL_NETWORK = taptun
- 
- ifndef NO_USE_MIDI
--INCPATH += `pkg-config --cflags alsa`
--LIBS += `pkg-config --libs alsa`
-+INCPATH += $(shell $(PKG_CONFIG) --cflags alsa)
-+LIBS += $(shell $(PKG_CONFIG) --libs alsa)
- endif
- 
- endif
-@@ -478,10 +480,10 @@ else
- # Remove the "/SDL" component from the include path so that we can compile
- # files (header files are #include "SDL/something.h", so the extra "/SDL"
- # causes a significant problem)
--INCPATH += `sdl-config --cflags | sed 's:/SDL::'`
-+INCPATH += $(shell $(SDL_CONFIG) --cflags | sed 's:/SDL::')
- CCOMFLAGS += -DNO_SDL_GLEXT
- # Remove libSDLmain, as its symbols conflict with SDLMain_tmpl.m
--LIBS += `sdl-config --libs | sed 's/-lSDLmain//'` -lpthread
-+LIBS += $(shell $(SDL_CONFIG) --libs | sed 's/-lSDLmain//') -lpthread
- DEFS += -DMACOSX_USE_LIBSDL
- endif   # MACOSX_USE_LIBSDL
- 
-@@ -534,8 +536,8 @@ INCPATH += -I$(SDL_INSTALL_ROOT)/include/directfb
- endif
- endif
- 
--INCPATH += `pkg-config --cflags fontconfig`
--LIBS += `pkg-config --libs fontconfig`
-+INCPATH += $(shell $(PKG_CONFIG) --cflags fontconfig)
-+LIBS += $(shell $(PKG_CONFIG) --libs fontconfig)
- 
- ifeq ($(SDL_LIBVER),sdl2)
- LIBS += -lSDL2_ttf
-@@ -620,8 +622,8 @@ endif   # Win32
- 
- ifeq ($(BASE_TARGETOS),os2)
- 
--INCPATH += `sdl-config --cflags`
--LIBS += `sdl-config --libs`
-+INCPATH += $(shell $(SDL_CONFIG) --cflags)
-+LIBS += $(shell $(SDL_CONFIG) --libs)
- 
- endif # OS2
- 
-@@ -696,14 +698,14 @@ LIBS += -lX11 -lXinerama
- 
- # The newer debugger uses QT
- ifndef NO_USE_QTDEBUG
--INCPATH += `pkg-config QtGui --cflags`
--LIBS += `pkg-config QtGui --libs`
-+INCPATH += $(shell $(PKG_CONFIG) QtGui --cflags)
-+LIBS += $(shell $(PKG_CONFIG) QtGui --libs)
- else
- # the old-new debugger relies on GTK+ in addition to the base SDLMAME needs
- # Non-X11 builds can not use the debugger
--INCPATH += `pkg-config --cflags-only-I gtk+-2.0` `pkg-config --cflags-only-I gconf-2.0`
--CCOMFLAGS += `pkg-config --cflags-only-other gtk+-2.0` `pkg-config --cflags-only-other gconf-2.0`
--LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --libs gconf-2.0`
-+INCPATH += $(shell $(PKG_CONFIG) --cflags-only-I gtk+-2.0 gconf-2.0)
-+CCOMFLAGS += $(shell $(PKG_CONFIG) --cflags-only-other gtk+-2.0 gconf-2.0)
-+LIBS += $(shell $(PKG_CONFIG) --libs gtk+-2.0 gconf-2.0)
- endif
- 
- # some systems still put important things in a different prefix

diff --git a/games-emulation/sdlmame/files/sdlmame-0.149-debugger-linking.patch b/games-emulation/sdlmame/files/sdlmame-0.149-debugger-linking.patch
deleted file mode 100644
index 6c7cd5d..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.149-debugger-linking.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-commit ec92ac2b0180b101c30748e62eb8b76cdf0cb439
-Author: hasufell <hasufell@gentoo.org>
-Date:   Wed Jun 26 14:33:01 2013 +0200
-
-    remove unneeded linking
-    
-    if we don't build the debugger, we don't want gtk+ linking
-
-diff --git a/src/osd/sdl/sdl.mak b/src/osd/sdl/sdl.mak
-index 36655d3..2089707 100644
---- a/src/osd/sdl/sdl.mak
-+++ b/src/osd/sdl/sdl.mak
-@@ -696,6 +696,7 @@ else
- DEFS += -DSDLMAME_X11
- LIBS += -lX11 -lXinerama
- 
-+ifneq ($(NO_DEBUGGER),1)
- # The newer debugger uses QT
- ifndef NO_USE_QTDEBUG
- INCPATH += $(shell $(PKG_CONFIG) QtGui --cflags)
-@@ -707,6 +708,7 @@ INCPATH += $(shell $(PKG_CONFIG) --cflags-only-I gtk+-2.0 gconf-2.0)
- CCOMFLAGS += $(shell $(PKG_CONFIG) --cflags-only-other gtk+-2.0 gconf-2.0)
- LIBS += $(shell $(PKG_CONFIG) --libs gtk+-2.0 gconf-2.0)
- endif
-+endif # NO_DEBUGGER
- 
- # some systems still put important things in a different prefix
- LIBS += -L/usr/X11/lib -L/usr/X11R6/lib -L/usr/openwin/lib

diff --git a/games-emulation/sdlmame/files/sdlmame-0.149-no-opengl.patch b/games-emulation/sdlmame/files/sdlmame-0.149-no-opengl.patch
deleted file mode 100644
index cd32cd3..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.149-no-opengl.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-commit 6ee372b3693857372a7b4855039ad1a94d3aebca
-Author: hasufell <hasufell@gentoo.org>
-Date:   Tue Jun 25 23:51:12 2013 +0200
-
-    fix for disabled opengl
-
-diff --git a/src/osd/sdl/osdsdl.h b/src/osd/sdl/osdsdl.h
-index ed0b66b..03d68f9 100644
---- a/src/osd/sdl/osdsdl.h
-+++ b/src/osd/sdl/osdsdl.h
-@@ -219,6 +219,8 @@ public:
- 	const char *audio_driver() const { return value(SDLOPTION_AUDIODRIVER); }
- #if USE_OPENGL
- 	const char *gl_lib() const { return value(SDLOPTION_GL_LIB); }
-+#else
-+    const char *gl_lib() const { return NULL; }
- #endif
- 
- private:

diff --git a/games-emulation/sdlmame/files/sdlmame-0.149-system-lua.patch b/games-emulation/sdlmame/files/sdlmame-0.149-system-lua.patch
deleted file mode 100644
index 8460497..0000000
--- a/games-emulation/sdlmame/files/sdlmame-0.149-system-lua.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit ea514c9ded266aa365976649d88fa5593ef7ebf5
-Author: hasufell <hasufell@gentoo.org>
-Date:   Tue Jun 25 23:48:26 2013 +0200
-
-    add switch to use system lua
-
-diff --git a/makefile b/makefile
-index dd4598d..bdf22d2 100644
---- a/makefile
-+++ b/makefile
-@@ -228,6 +228,9 @@ BUILD_JPEGLIB = 1
- # uncomment next line to build PortMidi as part of MAME/MESS build
- BUILD_MIDILIB = 1
- 
-+# uncomment next line to build Lua-5.2 as part of MAME/MESS build
-+BUILD_LUA = 1
-+
- # uncomment next line to include the symbols
- # SYMBOLS = 1
- 
-@@ -664,7 +667,12 @@ SOFTFLOAT = $(OBJ)/libsoftfloat.a
- FORMATS_LIB = $(OBJ)/libformats.a
- 
- # add LUA library
-+ifeq ($(BUILD_LUA),1)
- LUA_LIB = $(OBJ)/liblua.a
-+else
-+LIBS += $(shell $(PKG_CONFIG) --libs lua)
-+INCPATH += $(shell $(PKG_CONFIG) --cflags lua)
-+endif
- 
- # add PortMidi MIDI library
- ifeq ($(BUILD_MIDILIB),1)

diff --git a/games-emulation/sdlmame/sdlmame-0.148_p1-r1.ebuild b/games-emulation/sdlmame/sdlmame-0.148_p1-r1.ebuild
deleted file mode 100644
index bedc691..0000000
--- a/games-emulation/sdlmame/sdlmame-0.148_p1-r1.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-inherit eutils flag-o-matic python-any-r1 games
-
-MY_PV=${PV/.}
-MY_CONF_PN=${PN/sdl}
-MY_P=sdlmame${MY_PV}
-MY_P=${MY_P%%_p*}
-MY_CONF_VER="0.139"
-
-# patches
-SRC_URI="$(for PATCH_VER in $(seq 1 ${PV##*_p}) ; do echo "https://dev.gentoo.org/~hasufell/distfiles/${MY_P}u${PATCH_VER}_diff.zip"; done)"
-
-DESCRIPTION="Multiple Arcade Machine Emulator (SDL)"
-HOMEPAGE="http://mamedev.org/"
-# Upstream doesn't allow fetching with unknown User-Agent such as wget
-SRC_URI="$SRC_URI https://dev.gentoo.org/~hasufell/distfiles/${MY_P/sdl}s.zip"
-if [[ ${PN} == "sdlmame" ]] ; then
-	SRC_URI="$SRC_URI http://www.netswarm.net/misc/sdlmame-ui.bdf.gz"
-fi
-
-LICENSE="XMAME"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="X alsa debug opengl"
-REQUIRED_USE="debug? ( X )"
-
-RDEPEND="dev-libs/expat
-	media-libs/fontconfig
-	media-libs/flac
-	>=media-libs/libsdl-1.2.10[X,sound,joystick,opengl?,video]
-	media-libs/sdl-ttf
-	sys-libs/zlib
-	virtual/jpeg
-	alsa? ( media-libs/alsa-lib )
-	X? (
-		gnome-base/gconf
-		x11-libs/gtk+:2
-		x11-libs/libX11
-		x11-libs/libXinerama
-	)"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	app-arch/unzip
-	media-libs/alsa-lib
-	virtual/pkgconfig
-	X? ( x11-proto/xineramaproto )"
-
-S=${WORKDIR}
-
-# Function to disable a makefile option
-disable_feature() {
-	sed -i \
-		-e "/$1.*=/s:^:# :" \
-		"${S}"/makefile \
-		|| die "sed failed"
-}
-
-# Function to enable a makefile option
-enable_feature() {
-	sed -i \
-		-e "/^#.*$1.*=/s:^#::"  \
-		"${S}"/${2:-makefile} \
-		|| die "sed failed"
-}
-
-pkg_setup() {
-	games_pkg_setup
-	python-any-r1_pkg_setup
-}
-
-src_unpack() {
-	default
-	unpack ./mame.zip
-	rm -f mame.zip
-}
-
-src_prepare() {
-	if [[ $PV == *_p* ]] ; then
-		edos2unix $(find $(grep +++ *diff | awk '{ print $2 }' | sort -u) 2>/dev/null) *diff
-		einfo "Patching release with source updates"
-		epatch ${MY_PV%%_p*}*.diff
-	fi
-	edos2unix src/osd/sdl/osdsdl.h
-
-	epatch \
-		"${FILESDIR}"/${P}-makefile.patch \
-		"${FILESDIR}"/${P}-no-opengl.patch
-
-	# Don't compile zlib and expat
-	einfo "Disabling embedded libraries: expat, flac, jpeg, zlib"
-	disable_feature BUILD_EXPAT
-	disable_feature BUILD_FLAC
-	disable_feature BUILD_JPEG
-	disable_feature BUILD_ZLIB
-
-	if use amd64; then
-		einfo "Enabling 64-bit support"
-		enable_feature PTR64
-	fi
-
-	if use ppc; then
-		einfo "Enabling PPC support"
-		enable_feature BIGENDIAN
-	fi
-
-	if use debug; then
-		einfo "Enabling debug support"
-		enable_feature DEBUG
-	fi
-
-	if ! use opengl ; then
-		einfo "Disabling opengl support"
-		enable_feature NO_OPENGL src/osd/sdl/sdl.mak
-	fi
-
-	if ! use alsa ; then
-		einfo "Disabling alsa midi support"
-		enable_feature NO_USE_MIDI src/osd/sdl/sdl.mak
-	fi
-
-	if ! use X ; then
-		einfo "Disabling X support"
-		enable_feature NO_X11 src/osd/sdl/sdl.mak
-	fi
-}
-
-src_compile() {
-	emake \
-		TARGET="${PN#sdl}" \
-		NAME="${PN}" \
-		OPT_FLAGS='-DINI_PATH=\"\$$HOME/.'${PN}'\;'"${GAMES_SYSCONFDIR}/${PN}"'\"' \
-		NO_DEBUGGER=$(usex debug "0" "1") default
-}
-
-src_install() {
-	newgamesbin ${PN}$(use amd64 && echo 64)$(use debug && echo d) ${PN}
-
-	newman src/osd/sdl/man/${PN#sdl}.6 ${PN}.6
-
-	insinto "${GAMES_DATADIR}/${PN}"
-	doins -r src/osd/sdl/keymaps
-	[[ ${PN} == "sdlmame" ]] && newins sdlmame-ui.bdf ui.bdf
-
-	insinto "${GAMES_SYSCONFDIR}/${PN}"
-	doins "${FILESDIR}"/vector.ini
-
-	sed \
-		-e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \
-		-e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
-		"${FILESDIR}/${MY_CONF_PN}-${MY_CONF_VER}".ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/${MY_CONF_PN}".ini \
-		|| die "sed failed"
-
-	dodoc docs/{config,mame,newvideo}.txt
-	if [[ ${PN} == "sdlmame" ]] ; then
-		dodoc whatsnew*.txt
-	else
-		dodoc messnew*.txt
-	fi
-
-	keepdir \
-		"${GAMES_DATADIR}/${PN}"/{ctrlr,cheats,roms,samples,artwork,crosshair} \
-		"${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheats}
-
-	prepgamesdirs
-}
-
-pkg_postinst() {
-	games_pkg_postinst
-
-	elog "optional dependencies:"
-	elog "  games-emulation/sdlmametools (development tools)"
-	echo
-	elog "It's strongly recommended that you change either the system-wide"
-	elog "${MY_CONF_PN}.ini at \"${GAMES_SYSCONFDIR}/${PN}\" or use a per-user setup at \$HOME/.${PN}"
-
-	if use opengl; then
-		echo
-		elog "You built ${PN} with opengl support and should set"
-		elog "\"video\" to \"opengl\" in ${MY_CONF_PN}.ini to take advantage of that"
-	fi
-}

diff --git a/games-emulation/sdlmame/sdlmame-0.149.ebuild b/games-emulation/sdlmame/sdlmame-0.149.ebuild
deleted file mode 100644
index 5ee488b..0000000
--- a/games-emulation/sdlmame/sdlmame-0.149.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-inherit eutils flag-o-matic python-any-r1 games
-
-MY_PV=${PV/.}
-MY_CONF_PN=${PN/sdl}
-MY_P=sdlmame${MY_PV}
-MY_P=${MY_P%%_p*}
-MY_CONF_VER="0.139"
-
-# patches
-SRC_URI="$(for PATCH_VER in $(seq 1 ${PV##*_p}) ; do echo "https://dev.gentoo.org/~hasufell/distfiles/${MY_P}u${PATCH_VER}_diff.zip"; done)"
-
-DESCRIPTION="Multiple Arcade Machine Emulator (SDL)"
-HOMEPAGE="http://mamedev.org/"
-# Upstream doesn't allow fetching with unknown User-Agent such as wget
-SRC_URI="$SRC_URI https://dev.gentoo.org/~hasufell/distfiles/${MY_P/sdl}s.zip"
-if [[ ${PN} == "sdlmame" ]] ; then
-	SRC_URI="$SRC_URI http://www.netswarm.net/misc/sdlmame-ui.bdf.gz"
-fi
-
-LICENSE="XMAME"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="X alsa debug opengl"
-REQUIRED_USE="debug? ( X )"
-
-RDEPEND=">=dev-lang/lua-5.2
-	dev-libs/expat
-	media-libs/fontconfig
-	media-libs/flac
-	>=media-libs/libsdl-1.2.10[sound,joystick,opengl?,video]
-	media-libs/sdl-ttf
-	sys-libs/zlib
-	virtual/jpeg
-	alsa? ( media-libs/alsa-lib )
-	debug? (
-		x11-libs/gtk+:2
-		gnome-base/gconf
-	)
-	X? (
-		x11-libs/libX11
-		x11-libs/libXinerama
-	)"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	app-arch/unzip
-	virtual/pkgconfig
-	X? ( x11-proto/xineramaproto )"
-
-S=${WORKDIR}
-
-# Function to disable a makefile option
-disable_feature() {
-	sed -i \
-		-e "/$1.*=/s:^:# :" \
-		"${S}"/${2:-makefile} \
-		|| die "sed failed"
-}
-
-# Function to enable a makefile option
-enable_feature() {
-	sed -i \
-		-e "/^#.*$1.*=/s:^#::"  \
-		"${S}"/${2:-makefile} \
-		|| die "sed failed"
-}
-
-pkg_setup() {
-	games_pkg_setup
-	python-any-r1_pkg_setup
-}
-
-src_unpack() {
-	default
-	unpack ./mame.zip
-	rm -f mame.zip
-}
-
-src_prepare() {
-	if [[ $PV == *_p* ]] ; then
-		edos2unix $(find $(grep +++ *diff | awk '{ print $2 }' | sort -u) 2>/dev/null) *diff
-		einfo "Patching release with source updates"
-		epatch ${MY_PV%%_p*}*.diff
-	fi
-	edos2unix makefile src/osd/sdl/{osdsdl.h,sdl.mak}
-
-	epatch \
-		"${FILESDIR}"/${P}-QA.patch \
-		"${FILESDIR}"/${P}-system-lua.patch \
-		"${FILESDIR}"/${P}-no-opengl.patch \
-		"${FILESDIR}"/${P}-debugger-linking.patch
-
-	# Don't compile zlib and expat
-	einfo "Disabling embedded libraries: expat, flac, jpeg, zlib, lua"
-	disable_feature BUILD_EXPAT
-	disable_feature BUILD_FLAC
-	disable_feature BUILD_JPEG
-	disable_feature BUILD_ZLIB
-	disable_feature BUILD_LUA
-
-	if use amd64; then
-		einfo "Enabling 64-bit support"
-		enable_feature PTR64
-	fi
-
-	if use ppc; then
-		einfo "Enabling PPC support"
-		enable_feature BIGENDIAN
-	fi
-
-	if use debug; then
-		einfo "Enabling debug support"
-		enable_feature DEBUG
-		enable_feature DEBUG src/osd/sdl/sdl.mak
-	fi
-
-	enable_feature NO_USE_QTDEBUG src/osd/sdl/sdl.mak
-
-	if ! use opengl ; then
-		einfo "Disabling opengl support"
-		enable_feature NO_OPENGL src/osd/sdl/sdl.mak
-	fi
-
-	if ! use alsa ; then
-		einfo "Disabling alsa midi support"
-		enable_feature NO_USE_MIDI src/osd/sdl/sdl.mak
-	fi
-
-	if ! use X ; then
-		einfo "Disabling X support"
-		enable_feature NO_X11 src/osd/sdl/sdl.mak
-	fi
-}
-
-src_compile() {
-	emake \
-		TARGET="${PN#sdl}" \
-		NAME="${PN}" \
-		OPT_FLAGS='-DINI_PATH=\"\$$HOME/.'${PN}'\;'"${GAMES_SYSCONFDIR}/${PN}"'\"' \
-		NO_DEBUGGER=$(usex debug "0" "1") default
-}
-
-src_install() {
-	newgamesbin ${PN}$(use amd64 && echo 64)$(use debug && echo d) ${PN}
-
-	newman src/osd/sdl/man/${PN#sdl}.6 ${PN}.6
-
-	insinto "${GAMES_DATADIR}/${PN}"
-	doins -r src/osd/sdl/keymaps
-	[[ ${PN} == "sdlmame" ]] && newins sdlmame-ui.bdf ui.bdf
-
-	insinto "${GAMES_SYSCONFDIR}/${PN}"
-	doins "${FILESDIR}"/vector.ini
-
-	sed \
-		-e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \
-		-e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
-		"${FILESDIR}/${MY_CONF_PN}-${MY_CONF_VER}".ini.in > "${D}/${GAMES_SYSCONFDIR}/${PN}/${MY_CONF_PN}".ini \
-		|| die "sed failed"
-
-	dodoc docs/{config,mame,newvideo}.txt
-	if [[ ${PN} == "sdlmame" ]] ; then
-		dodoc whatsnew*.txt
-	else
-		dodoc messnew*.txt
-	fi
-
-	keepdir \
-		"${GAMES_DATADIR}/${PN}"/{ctrlr,cheats,roms,samples,artwork,crosshair} \
-		"${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheats}
-
-	prepgamesdirs
-}
-
-pkg_postinst() {
-	games_pkg_postinst
-
-	elog "optional dependencies:"
-	elog "  games-emulation/sdlmametools (development tools)"
-	echo
-	elog "It's strongly recommended that you change either the system-wide"
-	elog "${MY_CONF_PN}.ini at \"${GAMES_SYSCONFDIR}/${PN}\" or use a per-user setup at \$HOME/.${PN}"
-
-	if use opengl; then
-		echo
-		elog "You built ${PN} with opengl support and should set"
-		elog "\"video\" to \"opengl\" in ${MY_CONF_PN}.ini to take advantage of that"
-	fi
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/sdlmame/, games-emulation/sdlmame/files/
@ 2016-05-03 17:58 Michael Sterrett
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett @ 2016-05-03 17:58 UTC (permalink / raw
  To: gentoo-commits

commit:     9cd74b65b74cc8dade5eedb5f4cbc6a1385eb752
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue May  3 17:58:21 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue May  3 17:58:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd74b65

games-emulation/sdlmame: fix compile when qt5 isn't installed (bug #581972)

Package-Manager: portage-2.2.26

 .../sdlmame/files/sdlmame-0.173-qt.patch           | 29 ++++++++++++++++++++++
 games-emulation/sdlmame/sdlmame-0.173.ebuild       |  1 +
 2 files changed, 30 insertions(+)

diff --git a/games-emulation/sdlmame/files/sdlmame-0.173-qt.patch b/games-emulation/sdlmame/files/sdlmame-0.173-qt.patch
new file mode 100644
index 0000000..f9c384d
--- /dev/null
+++ b/games-emulation/sdlmame/files/sdlmame-0.173-qt.patch
@@ -0,0 +1,29 @@
+No point in adding qt-related things to the compile line unless the qt debugger is wanted
+
+--- scripts/src/osd/sdl_cfg.lua.orig
++++ scripts/src/osd/sdl_cfg.lua
+@@ -115,14 +115,16 @@
+ 	configuration { }
+ 
+ elseif _OPTIONS["targetos"]=="linux" then
+-	if _OPTIONS["QT_HOME"]~=nil then
+-		buildoptions {
+-			"-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
+-		}
+-	else
+-		buildoptions {
+-			backtick("pkg-config --cflags Qt5Widgets"),
+-		}
++	if _OPTIONS["USE_QTDEBUG"]=="1" then
++		if _OPTIONS["QT_HOME"]~=nil then
++			buildoptions {
++				"-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
++			}
++		else
++			buildoptions {
++				backtick("pkg-config --cflags Qt5Widgets"),
++			}
++		end
+ 	end
+ elseif _OPTIONS["targetos"]=="macosx" then
+ 	defines {

diff --git a/games-emulation/sdlmame/sdlmame-0.173.ebuild b/games-emulation/sdlmame/sdlmame-0.173.ebuild
index adc1cb7..7fa0a7c 100644
--- a/games-emulation/sdlmame/sdlmame-0.173.ebuild
+++ b/games-emulation/sdlmame/sdlmame-0.173.ebuild
@@ -73,6 +73,7 @@ src_unpack() {
 }
 
 src_prepare() {
+	epatch "${FILESDIR}"/${P}-qt.patch
 	# Disable using bundled libraries
 	enable_feature USE_SYSTEM_LIB_EXPAT
 	enable_feature USE_SYSTEM_LIB_FLAC


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/sdlmame/, games-emulation/sdlmame/files/
@ 2016-05-10  7:11 Michael Sterrett
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Sterrett @ 2016-05-10  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     d612d994f4d12ea0c6f8624e10564deedf68b020
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue May 10 07:11:05 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue May 10 07:11:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d612d994

games-emulation/sdlmame: fix buildins with gcc-4.9.3 with patch from Alexander Miller (bug #582576)

Package-Manager: portage-2.2.26

 .../sdlmame/files/sdlmame-0.173-cxx14.patch        | 28 ++++++++++++++++++++++
 games-emulation/sdlmame/sdlmame-0.173.ebuild       |  4 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/games-emulation/sdlmame/files/sdlmame-0.173-cxx14.patch b/games-emulation/sdlmame/files/sdlmame-0.173-cxx14.patch
new file mode 100644
index 0000000..bd88cb4
--- /dev/null
+++ b/games-emulation/sdlmame/files/sdlmame-0.173-cxx14.patch
@@ -0,0 +1,28 @@
+# work around gcc-4.9.3's implementation of cxx14
+# bug  582576 with patch from Alexander Miller
+# https://bugs.gentoo.org/show_bug.cgi?id=582576
+
+--- a/src/lib/util/strformat.h
++++ b/src/lib/util/strformat.h
+@@ -185,9 +185,8 @@
+ #include <type_traits>
+ #include <utility>
+ 
+-#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413)
+-namespace std
+-{
++namespace std {
++namespace mame_cxx14_compat {
+ template<class _Container>
+ 	inline constexpr auto
+ 	cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont)))-> decltype(std::begin(__cont))
+@@ -198,7 +197,8 @@
+ 	cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))-> decltype(std::end(__cont))
+ 	{ return std::end(__cont); }
+ }
+-#endif
++using namespace mame_cxx14_compat;
++}
+ 
+ namespace util {
+ namespace detail {

diff --git a/games-emulation/sdlmame/sdlmame-0.173.ebuild b/games-emulation/sdlmame/sdlmame-0.173.ebuild
index e5d5a0e..edac5fe 100644
--- a/games-emulation/sdlmame/sdlmame-0.173.ebuild
+++ b/games-emulation/sdlmame/sdlmame-0.173.ebuild
@@ -73,7 +73,9 @@ src_unpack() {
 }
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-qt.patch
+	epatch \
+		"${FILESDIR}"/${P}-qt.patch \
+		"${FILESDIR}"/${P}-cxx14.patch
 	# Disable using bundled libraries
 	enable_feature USE_SYSTEM_LIB_EXPAT
 	enable_feature USE_SYSTEM_LIB_FLAC


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-emulation/sdlmame/, games-emulation/sdlmame/files/
@ 2018-04-29 13:06 Pacho Ramos
  0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2018-04-29 13:06 UTC (permalink / raw
  To: gentoo-commits

commit:     1391afa6a2e870fd035808bbe23f382853e03788
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 29 13:06:10 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr 29 13:06:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1391afa6

Remove masked for removal package

 games-emulation/sdlmame/Manifest                   |   1 -
 .../sdlmame/files/sdlmame-0.174-cxx14.patch        |  28 ---
 .../sdlmame/files/sdlmame-0.174-qt.patch           |  29 ---
 games-emulation/sdlmame/files/vector.ini           |   9 -
 games-emulation/sdlmame/metadata.xml               |  34 ---
 games-emulation/sdlmame/sdlmame-0.174.ebuild       | 234 ---------------------
 6 files changed, 335 deletions(-)

diff --git a/games-emulation/sdlmame/Manifest b/games-emulation/sdlmame/Manifest
deleted file mode 100644
index 8b36828499a..00000000000
--- a/games-emulation/sdlmame/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mame-0.174.zip 95944685 BLAKE2B e97027edf7be293e599499bd428c663c1fc13498e2fe10ee356aa56ef8ba85d6ea003ba65a8cbc41d1159246eed354585fc18bf9507b47dc1774b87f5737b48d SHA512 9db4d98fb5f5373529808f3bc41fddefa65ebbf7c26d946ebf886cab25e5abf7c4d539d96dfd6af5e62f4366b2bb0b0b59d40fe7a722698f3707eb8ea4c12a0b

diff --git a/games-emulation/sdlmame/files/sdlmame-0.174-cxx14.patch b/games-emulation/sdlmame/files/sdlmame-0.174-cxx14.patch
deleted file mode 100644
index bd88cb476e8..00000000000
--- a/games-emulation/sdlmame/files/sdlmame-0.174-cxx14.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-# work around gcc-4.9.3's implementation of cxx14
-# bug  582576 with patch from Alexander Miller
-# https://bugs.gentoo.org/show_bug.cgi?id=582576
-
---- a/src/lib/util/strformat.h
-+++ b/src/lib/util/strformat.h
-@@ -185,9 +185,8 @@
- #include <type_traits>
- #include <utility>
- 
--#if defined(__GLIBCXX__) && (__GLIBCXX__ < 20150413)
--namespace std
--{
-+namespace std {
-+namespace mame_cxx14_compat {
- template<class _Container>
- 	inline constexpr auto
- 	cbegin(const _Container& __cont) noexcept(noexcept(std::begin(__cont)))-> decltype(std::begin(__cont))
-@@ -198,7 +197,8 @@
- 	cend(const _Container& __cont) noexcept(noexcept(std::end(__cont)))-> decltype(std::end(__cont))
- 	{ return std::end(__cont); }
- }
--#endif
-+using namespace mame_cxx14_compat;
-+}
- 
- namespace util {
- namespace detail {

diff --git a/games-emulation/sdlmame/files/sdlmame-0.174-qt.patch b/games-emulation/sdlmame/files/sdlmame-0.174-qt.patch
deleted file mode 100644
index f9c384d91cf..00000000000
--- a/games-emulation/sdlmame/files/sdlmame-0.174-qt.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-No point in adding qt-related things to the compile line unless the qt debugger is wanted
-
---- scripts/src/osd/sdl_cfg.lua.orig
-+++ scripts/src/osd/sdl_cfg.lua
-@@ -115,14 +115,16 @@
- 	configuration { }
- 
- elseif _OPTIONS["targetos"]=="linux" then
--	if _OPTIONS["QT_HOME"]~=nil then
--		buildoptions {
--			"-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
--		}
--	else
--		buildoptions {
--			backtick("pkg-config --cflags Qt5Widgets"),
--		}
-+	if _OPTIONS["USE_QTDEBUG"]=="1" then
-+		if _OPTIONS["QT_HOME"]~=nil then
-+			buildoptions {
-+				"-I" .. backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_INSTALL_HEADERS"),
-+			}
-+		else
-+			buildoptions {
-+				backtick("pkg-config --cflags Qt5Widgets"),
-+			}
-+		end
- 	end
- elseif _OPTIONS["targetos"]=="macosx" then
- 	defines {

diff --git a/games-emulation/sdlmame/files/vector.ini b/games-emulation/sdlmame/files/vector.ini
deleted file mode 100644
index d4906e34ccd..00000000000
--- a/games-emulation/sdlmame/files/vector.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Specific options file for vector games
-#
-
-#
-# VIDEO OPTIONS
-#
-video               soft
-yuvmode             yv12

diff --git a/games-emulation/sdlmame/metadata.xml b/games-emulation/sdlmame/metadata.xml
deleted file mode 100644
index d94f41033e1..00000000000
--- a/games-emulation/sdlmame/metadata.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-  <maintainer type="project">
-    <email>games@gentoo.org</email>
-    <name>Gentoo Games Project</name>
-  </maintainer>
-  <longdescription>
-SDLMAME is a port of the popular MAME[tm].
-
-There are a few principles that guide its development:
-
-1) run on Linux/Unix, Mac OS X, and other SDL supported operating systems with
-as few changes as possible to the base Win32 code. This means we can track
-changes faster than larger more conventional ports such as MacMAME, and we also
-maintain what I call "Firefox compatibility" where learning a major app only
-needs to be done once per application, and it then applies across many
-operating systems. If you can use the command-line Win32 MAME, you already know
-how to use SDLMAME on any platform you may encounter it on.
-
-2) MAME developers are important. By keeping quickly up to date, we make it
-easy for people on non-Windows platforms to make and submit changes to the core
-MAME code, and we offer native implementations of MAME's multi-window GUI
-debugger on both Linux/Unix and Mac OS X.
-  </longdescription>
-  <use>
-    <flag name="arcade">Enable the Multiple Arcade Machine Emulator for arcade games support</flag>
-    <flag name="tools">Build development tools shared between sdlmame and sdlmess</flag>
-    <flag name="mess">Enable the Multi Emulator Super System for game system support</flag>
-  </use>
-  <upstream>
-    <remote-id type="github">mamedev/mame</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/games-emulation/sdlmame/sdlmame-0.174.ebuild b/games-emulation/sdlmame/sdlmame-0.174.ebuild
deleted file mode 100644
index d1f61aaf4ed..00000000000
--- a/games-emulation/sdlmame/sdlmame-0.174.ebuild
+++ /dev/null
@@ -1,234 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-any-r1 toolchain-funcs qmake-utils games
-
-MY_PV="${PV/.}"
-
-DESCRIPTION="Multiple Arcade Machine Emulator + Multi Emulator Super System (MESS)"
-HOMEPAGE="http://mamedev.org/"
-SRC_URI="https://github.com/mamedev/mame/releases/download/mame${MY_PV}/mame${MY_PV}s.zip -> mame-${PV}.zip"
-
-LICENSE="GPL-2+ BSD-2 MIT CC0-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa +arcade debug +mess opengl openmp tools"
-REQUIRED_USE="|| ( arcade mess )"
-
-# MESS (games-emulation/sdlmess) has been merged into MAME upstream since mame-0.162 (see below)
-#  MAME/MESS build combined (default)	+arcade +mess	(mame)
-#  MAME build only			+arcade -mess	(mamearcade)
-#  MESS build only			-arcade +mess	(mess)
-# games-emulation/sdlmametools is dropped and enabled instead by the 'tools' useflag
-RDEPEND="!games-emulation/sdlmametools
-	!games-emulation/sdlmess
-	dev-db/sqlite:3
-	dev-libs/expat
-	media-libs/fontconfig
-	media-libs/flac
-	media-libs/libsdl2[joystick,opengl?,sound,video,X]
-	media-libs/portaudio
-	media-libs/sdl2-ttf
-	sys-libs/zlib
-	virtual/jpeg:0
-	virtual/opengl
-	alsa? ( media-libs/alsa-lib
-		media-libs/portmidi )
-	debug? ( dev-qt/qtcore:5
-		dev-qt/qtgui:5
-		dev-qt/qtwidgets:5 )
-	x11-libs/libX11
-	x11-libs/libXinerama
-	${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}
-	app-arch/unzip
-	virtual/pkgconfig
-	x11-proto/xineramaproto"
-
-S=${WORKDIR}
-
-# Function to disable a makefile option
-disable_feature() {
-	sed -i -e "/^[ 	]*$1.*=/s:^:# :" makefile || die
-}
-
-# Function to enable a makefile option
-enable_feature() {
-	sed -i -e "/^#.*$1.*=/s:^#[ 	]*::"  makefile || die
-}
-
-pkg_setup() {
-	games_pkg_setup
-	python-any-r1_pkg_setup
-}
-
-src_unpack() {
-	default
-	unpack ./mame.zip
-	rm -f mame.zip || die
-}
-
-src_prepare() {
-	epatch \
-		"${FILESDIR}"/${P}-qt.patch \
-		"${FILESDIR}"/${P}-cxx14.patch
-	# Disable using bundled libraries
-	enable_feature USE_SYSTEM_LIB_EXPAT
-	enable_feature USE_SYSTEM_LIB_FLAC
-	enable_feature USE_SYSTEM_LIB_JPEG
-# Use bundled lua for now to ensure correct compilation (ref. b.g.o #407091)
-#	enable_feature USE_SYSTEM_LIB_LUA
-	enable_feature USE_SYSTEM_LIB_PORTAUDIO
-	enable_feature USE_SYSTEM_LIB_SQLITE3
-	enable_feature USE_SYSTEM_LIB_ZLIB
-
-	# Disable warnings being treated as errors and enable verbose build output
-	enable_feature NOWERROR
-	enable_feature VERBOSE
-
-	use amd64 && enable_feature PTR64
-	use debug && enable_feature DEBUG
-	use tools && enable_feature TOOLS
-	disable_feature NO_X11 # bgfx needs X
-	use openmp && enable_feature OPENMP
-
-	if use alsa ; then
-		enable_feature USE_SYSTEM_LIB_PORTMIDI
-	else
-		enable_feature NO_USE_MIDI
-	fi
-
-	sed -i \
-		-e 's/-Os//' \
-		-e '/^\(CC\|CXX\|AR\) /s/=/?=/' \
-		3rdparty/genie/build/gmake.linux/genie.make || die
-}
-
-src_compile() {
-	local targetargs
-	local qtdebug=$(usex debug 1 0)
-
-	use arcade && ! use mess && targetargs="SUBTARGET=arcade"
-	! use arcade && use mess && targetargs="SUBTARGET=mess"
-
-	function my_emake() {
-		# Workaround conflicting $ARCH variable used by both Gentoo's
-		# portage and by Mame's build scripts
-		PYTHON_EXECUTABLE=${PYTHON} \
-		OVERRIDE_CC=$(tc-getCC) \
-		OVERRIDE_CXX=$(tc-getCXX) \
-		OVERRIDE_LD=$(tc-getCXX) \
-		QT_HOME="$(qt5_get_libdir)/qt5" \
-		ARCH= \
-			emake "$@" \
-				AR=$(tc-getAR)
-	}
-	my_emake -j1 generate
-
-	my_emake ${targetargs} \
-		SDL_INI_PATH="\$\$\$\$HOME/.sdlmame;${GAMES_SYSCONFDIR}/${PN}" \
-		USE_QTDEBUG=${qtdebug}
-
-	if use tools ; then
-		my_emake -j1 TARGET=ldplayer USE_QTDEBUG=${qtdebug}
-	fi
-}
-
-src_install() {
-	local MAMEBIN
-	local suffix="$(use amd64 && echo 64)$(use debug && echo d)"
-	local f
-
-	function mess_install() {
-		dosym ${MAMEBIN} "${GAMES_BINDIR}"/mess${suffix}
-		dosym ${MAMEBIN} "${GAMES_BINDIR}"/sdlmess
-		newman docs/man/mess.6 sdlmess.6
-		doman docs/man/mess.6
-	}
-	if use arcade ; then
-		if use mess ; then
-			MAMEBIN="mame${suffix}"
-			mess_install
-		else
-			MAMEBIN="mamearcade${suffix}"
-		fi
-		doman docs/man/mame.6
-		newman docs/man/mame.6 ${PN}.6
-	elif use mess ; then
-		MAMEBIN="mess${suffix}"
-		mess_install
-	fi
-	dogamesbin ${MAMEBIN}
-	dosym ${MAMEBIN} "${GAMES_BINDIR}/${PN}"
-
-	insinto "${GAMES_DATADIR}/${PN}"
-	doins -r keymaps $(use mess && echo hash)
-
-	# Create default mame.ini and inject Gentoo settings into it
-	#  Note that '~' does not work and '$HOME' must be used
-	./${MAMEBIN} -noreadconfig -showconfig > "${T}/mame.ini" || die
-	# -- Paths --
-	for f in {rom,hash,sample,art,font,crosshair} ; do
-		sed -i \
-			-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;${GAMES_DATADIR}/${PN}/\2:" \
-			"${T}/mame.ini" || die
-	done
-	for f in {ctrlr,cheat} ; do
-		sed -i \
-			-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;${GAMES_SYSCONFDIR}/${PN}/\2;${GAMES_DATADIR}/${PN}/\2:" \
-			"${T}/mame.ini" || die
-	done
-	# -- Directories
-	for f in {cfg,nvram,memcard,input,state,snapshot,diff,comment} ; do
-		sed -i \
-			-e "s:\(${f}_directory\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
-			"${T}/mame.ini" || die
-	done
-	# -- Keymaps --
-	sed -i \
-		-e "s:\(keymap_file\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
-		"${T}/mame.ini" || die
-	for f in keymaps/km*.map ; do
-		sed -i \
-			-e "/^keymap_file/a \#keymap_file \t\t${GAMES_DATADIR}/${PN}/keymaps/${f##*/}" \
-			"${T}/mame.ini" || die
-	done
-	insinto "${GAMES_SYSCONFDIR}/${PN}"
-	doins "${T}/mame.ini"
-
-	insinto "${GAMES_SYSCONFDIR}/${PN}"
-	doins "${FILESDIR}/vector.ini"
-
-	dodoc docs/{config,mame,newvideo}.txt
-	keepdir \
-		"${GAMES_DATADIR}/${PN}"/{ctrlr,cheat,roms,samples,artwork,crosshair} \
-		"${GAMES_SYSCONFDIR}/${PN}"/{ctrlr,cheat}
-
-	if use tools ; then
-		for f in castool chdman floptool imgtool jedutil ldresample ldverify romcmp ; do
-			newgamesbin ${f} ${PN}-${f}
-			newman docs/man/${f}.1 ${PN}-${f}.1
-		done
-		newgamesbin ldplayer${suffix} ${PN}-ldplayer
-		newman docs/man/ldplayer.1 ${PN}-ldplayer.1
-	fi
-
-	prepgamesdirs
-}
-
-pkg_postinst() {
-	games_pkg_postinst
-
-	elog "It is strongly recommended to change either the system-wide"
-	elog "  ${GAMES_SYSCONFDIR}/${PN}/mame.ini or use a per-user setup at ~/.${PN}/mame.ini"
-	elog
-	if use opengl ; then
-		elog "You built ${PN} with opengl support and should set"
-		elog "\"video\" to \"opengl\" in mame.ini to take advantage of that"
-		elog
-		elog "For more info see http://wiki.mamedev.org"
-	fi
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-29 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-29 13:06 [gentoo-commits] repo/gentoo:master commit in: games-emulation/sdlmame/, games-emulation/sdlmame/files/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2016-05-10  7:11 Michael Sterrett
2016-05-03 17:58 Michael Sterrett
2016-02-18 18:30 Michael Sterrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox