diff --git a/files/mame b/files/mame --- a/files/mame +++ b/files/mame @@ -1,2 +1,9 @@ #!/bin/sh -(cd /usr/share/mame && exec ./mame "$@") + +mamehome=$HOME/.mame + +mkdir -p $mamehome +if [ $? -eq 0 ]; then + cd $mamehome + /usr/share/mame/mame "$@" +fi diff --git a/files/mame.ini b/files/mame.ini --- a/files/mame.ini +++ b/files/mame.ini @@ -1,34 +1,16 @@ -# MAME default configuration - # Core search paths -artpath $HOME/.mame/artwork;/usr/share/mame/artwork -bgfx_path $HOME/.mame/bgfx;/usr/share/mame/bgfx -cheatpath $HOME/.mame/cheats -crosshairpath $HOME/.mame/crosshair -ctrlrpath $HOME/.mame/ctrlr;/usr/share/mame/ctrlr -fontpath $HOME/.mame/fonts -hashpath $HOME/.mame/hash;/usr/share/mame/hash -languagepath $HOME/.mame/language;/usr/share/mame/language +# List only what we can load from /usr/share/mame +artpath artwork;/usr/share/mame/artwork +bgfx_path bgfx;/usr/share/mame/bgfx +ctrlrpath ctrlr;/usr/share/mame/ctrlr +hashpath hash;/usr/share/mame/hash +inipath .;ini;/usr/share/mame/ini +languagepath language;/usr/share/mame/language pluginspath /usr/share/mame/plugins -rompath $HOME/.mame/roms -samplepath $HOME/.mame/samples;/usr/share/mame/samples - -# Users may override the default configuration -inipath $HOME/.mame/ini;/usr/share/mame - -# Core output directories -cfg_directory $HOME/.mame/cfg -comment_directory $HOME/.mame/comments -diff_directory $HOME/.mame/diff -input_directory $HOME/.mame/inp -memcard_directory $HOME/.mame/memcard -nvram_directory $HOME/.mame/nvram -snapshot_directory $HOME/.mame/snap -state_directory $HOME/.mame/sta +samplepath samples;/usr/share/mame/samples # Default settings -video opengl autosave 1 joystick 1 mouse 1 - +video opengl diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : mame -version : '0.207' -release : 9 +version : '0.209' +release : 10 source : - - https://github.com/mamedev/mame/archive/mame0207.tar.gz : 69c29533d2128345c59fbf23fabc3af696322a77a6c1d7a7bd7f5a2ee57adafb + - https://github.com/mamedev/mame/archive/mame0209.tar.gz : 9442e88bd87cfe407eb093a2ecb42a3850cabe31cd52c4efdef1bf7f584a8eab license : - BSD-3-Clause - CC0-1.0 # Localization files and other things @@ -29,8 +29,6 @@ - pkgconfig(xinerama) - portmidi-devel - pugixml-devel -rundeps : - - python3 build : | # -g2 flag is removed because it's bloating mame64 executable file # AFAIK every 64-bit processor supports SSE2, so I'm enabling it @@ -42,6 +40,7 @@ OPTIMIZE=2 \ PYTHON_EXECUTABLE=python3 \ REGENIE=1 \ + SDL_INI_PATH=/usr/share/defaults/mame \ SSE2=1 \ TOOLS=0 \ USE_SYSTEM_LIB_EXPAT=1 \ @@ -58,7 +57,7 @@ install : | # Install executable files with proper filenames install -Dm00755 ./mame64 $installdir/usr/share/mame/mame - install -Dm00755 $pkgfiles/mame $installdir/usr/bin/mame + install -Dm00755 $pkgfiles/mame -t $installdir/usr/bin # File cleanup find . -name dir.txt -o \ @@ -68,15 +67,15 @@ rm -rf bgfx/shaders/{dx11,dx9,essl,metal} # Install data directories - for folder_name in artwork bgfx ctrlr hash hlsl ini language plugins samples; do + for folder_name in artwork bgfx ctrlr hash ini language plugins samples; do install -dm00755 $installdir/usr/share/mame/$folder_name cp -a $folder_name/* $installdir/usr/share/mame/$folder_name/ done - install -Dm00644 docs/swlist/* -t $installdir/usr/share/mame/docs/swlist/ + install -Dm00644 docs/swlist/* -t $installdir/usr/share/mame/docs/swlist # Install manual - install -Dm00644 docs/man/*.1 -t $installdir/usr/share/man/man1/ - install -Dm00644 docs/man/*.6 -t $installdir/usr/share/man/man6/ + install -Dm00644 docs/man/*.1 -t $installdir/usr/share/man/man1 + install -Dm00644 docs/man/*.6 -t $installdir/usr/share/man/man6 # Copy config file - install -m00644 $pkgfiles/mame.ini $installdir/usr/share/mame + install -Dm00644 $pkgfiles/mame.ini -t $installdir/usr/share/defaults/mame diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -15,7 +15,7 @@ MAME's purpose is to preserve decades of software history. As electronic technology continues to rush forward, MAME prevents this important "vintage" software from being lost and forgotten. This is achieved by documenting the hardware and how it functions. The source code to MAME serves as this documentation. The fact that the software is usable serves primarily to validate the accuracy of the documentation (how else can you prove that you have recreated the hardware faithfully?). Over time, MAME absorbed the sister-project MESS (Multi Emulator Super System), so MAME now documents a wide variety of (mostly vintage) computers, video game consoles and calculators, in addition to the arcade video games that were its initial focus. - https://solus-project.com/sources/README.Solus + https://getsol.us/sources/README.Solus mame @@ -26,6 +26,7 @@ games.emulator /usr/bin/mame + /usr/share/defaults/mame/mame.ini /usr/share/mame/artwork/aperture-grille.png /usr/share/mame/artwork/aperture.png /usr/share/mame/artwork/aperture1x2rb.png @@ -555,6 +556,7 @@ /usr/share/mame/hash/gba_ereader.xml /usr/share/mame/hash/gbcolor.xml /usr/share/mame/hash/genius.xml + /usr/share/mame/hash/ggm.xml /usr/share/mame/hash/gimix.xml /usr/share/mame/hash/gjmovie.xml /usr/share/mame/hash/gl2000.xml @@ -585,6 +587,7 @@ /usr/share/mame/hash/ibmpcjr_cart.xml /usr/share/mame/hash/ibmpcjr_flop.xml /usr/share/mame/hash/icanguit.xml + /usr/share/mame/hash/icanpian.xml /usr/share/mame/hash/intellect02.xml /usr/share/mame/hash/interact.xml /usr/share/mame/hash/interpro.xml @@ -666,6 +669,7 @@ /usr/share/mame/hash/msxr_flop.xml /usr/share/mame/hash/mtx_cart.xml /usr/share/mame/hash/mtx_cass.xml + /usr/share/mame/hash/mtx_flop.xml /usr/share/mame/hash/mtx_rom.xml /usr/share/mame/hash/myvision.xml /usr/share/mame/hash/mz2000_cass.xml @@ -815,6 +819,7 @@ /usr/share/mame/hash/specpls3_flop.xml /usr/share/mame/hash/spectrum_cart.xml /usr/share/mame/hash/spectrum_cass.xml + /usr/share/mame/hash/spectrum_flop_opus.xml /usr/share/mame/hash/squale_cart.xml /usr/share/mame/hash/st_cart.xml /usr/share/mame/hash/st_flop.xml @@ -859,6 +864,7 @@ /usr/share/mame/hash/tvc_cart.xml /usr/share/mame/hash/tvc_cass.xml /usr/share/mame/hash/tvc_flop.xml + /usr/share/mame/hash/tvgogo.xml /usr/share/mame/hash/unichamp.xml /usr/share/mame/hash/ut88.xml /usr/share/mame/hash/uzebox.xml @@ -907,20 +913,6 @@ /usr/share/mame/hash/zorba.xml /usr/share/mame/hash/zx80_cass.xml /usr/share/mame/hash/zx81_cass.xml - /usr/share/mame/hlsl/bloom.fx - /usr/share/mame/hlsl/chroma.fx - /usr/share/mame/hlsl/color.fx - /usr/share/mame/hlsl/deconverge.fx - /usr/share/mame/hlsl/distortion.fx - /usr/share/mame/hlsl/downsample.fx - /usr/share/mame/hlsl/focus.fx - /usr/share/mame/hlsl/ntsc.fx - /usr/share/mame/hlsl/phosphor.fx - /usr/share/mame/hlsl/post.fx - /usr/share/mame/hlsl/prescale.fx - /usr/share/mame/hlsl/primary.fx - /usr/share/mame/hlsl/scanline.fx - /usr/share/mame/hlsl/vector.fx /usr/share/mame/ini/examples/bt601-525.ini /usr/share/mame/ini/examples/bt601-625.ini /usr/share/mame/ini/examples/bt709.ini @@ -993,7 +985,6 @@ /usr/share/mame/language/Ukrainian/strings.mo /usr/share/mame/language/Vietnamese/strings.mo /usr/share/mame/mame - /usr/share/mame/mame.ini /usr/share/mame/plugins/boot.lua /usr/share/mame/plugins/cheat/cheat_json.lua /usr/share/mame/plugins/cheat/cheat_simple.lua @@ -1073,12 +1064,12 @@ - - 2019-03-02 - 0.207 + + 2019-04-26 + 0.209 Packaging update Fabio Forni livingsilver94.solus@redaril.me \ No newline at end of file