Page MenuHomeSolus

D5975.diff
No OneTemporary

D5975.diff

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 @@
<Description xml:lang="en">MAME&apos;s purpose is to preserve decades of software history. As electronic technology continues to rush forward, MAME prevents this important &quot;vintage&quot; 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.
</Description>
- <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
</Source>
<Package>
<Name>mame</Name>
@@ -26,6 +26,7 @@
<PartOf>games.emulator</PartOf>
<Files>
<Path fileType="executable">/usr/bin/mame</Path>
+ <Path fileType="data">/usr/share/defaults/mame/mame.ini</Path>
<Path fileType="data">/usr/share/mame/artwork/aperture-grille.png</Path>
<Path fileType="data">/usr/share/mame/artwork/aperture.png</Path>
<Path fileType="data">/usr/share/mame/artwork/aperture1x2rb.png</Path>
@@ -555,6 +556,7 @@
<Path fileType="data">/usr/share/mame/hash/gba_ereader.xml</Path>
<Path fileType="data">/usr/share/mame/hash/gbcolor.xml</Path>
<Path fileType="data">/usr/share/mame/hash/genius.xml</Path>
+ <Path fileType="data">/usr/share/mame/hash/ggm.xml</Path>
<Path fileType="data">/usr/share/mame/hash/gimix.xml</Path>
<Path fileType="data">/usr/share/mame/hash/gjmovie.xml</Path>
<Path fileType="data">/usr/share/mame/hash/gl2000.xml</Path>
@@ -585,6 +587,7 @@
<Path fileType="data">/usr/share/mame/hash/ibmpcjr_cart.xml</Path>
<Path fileType="data">/usr/share/mame/hash/ibmpcjr_flop.xml</Path>
<Path fileType="data">/usr/share/mame/hash/icanguit.xml</Path>
+ <Path fileType="data">/usr/share/mame/hash/icanpian.xml</Path>
<Path fileType="data">/usr/share/mame/hash/intellect02.xml</Path>
<Path fileType="data">/usr/share/mame/hash/interact.xml</Path>
<Path fileType="data">/usr/share/mame/hash/interpro.xml</Path>
@@ -666,6 +669,7 @@
<Path fileType="data">/usr/share/mame/hash/msxr_flop.xml</Path>
<Path fileType="data">/usr/share/mame/hash/mtx_cart.xml</Path>
<Path fileType="data">/usr/share/mame/hash/mtx_cass.xml</Path>
+ <Path fileType="data">/usr/share/mame/hash/mtx_flop.xml</Path>
<Path fileType="data">/usr/share/mame/hash/mtx_rom.xml</Path>
<Path fileType="data">/usr/share/mame/hash/myvision.xml</Path>
<Path fileType="data">/usr/share/mame/hash/mz2000_cass.xml</Path>
@@ -815,6 +819,7 @@
<Path fileType="data">/usr/share/mame/hash/specpls3_flop.xml</Path>
<Path fileType="data">/usr/share/mame/hash/spectrum_cart.xml</Path>
<Path fileType="data">/usr/share/mame/hash/spectrum_cass.xml</Path>
+ <Path fileType="data">/usr/share/mame/hash/spectrum_flop_opus.xml</Path>
<Path fileType="data">/usr/share/mame/hash/squale_cart.xml</Path>
<Path fileType="data">/usr/share/mame/hash/st_cart.xml</Path>
<Path fileType="data">/usr/share/mame/hash/st_flop.xml</Path>
@@ -859,6 +864,7 @@
<Path fileType="data">/usr/share/mame/hash/tvc_cart.xml</Path>
<Path fileType="data">/usr/share/mame/hash/tvc_cass.xml</Path>
<Path fileType="data">/usr/share/mame/hash/tvc_flop.xml</Path>
+ <Path fileType="data">/usr/share/mame/hash/tvgogo.xml</Path>
<Path fileType="data">/usr/share/mame/hash/unichamp.xml</Path>
<Path fileType="data">/usr/share/mame/hash/ut88.xml</Path>
<Path fileType="data">/usr/share/mame/hash/uzebox.xml</Path>
@@ -907,20 +913,6 @@
<Path fileType="data">/usr/share/mame/hash/zorba.xml</Path>
<Path fileType="data">/usr/share/mame/hash/zx80_cass.xml</Path>
<Path fileType="data">/usr/share/mame/hash/zx81_cass.xml</Path>
- <Path fileType="data">/usr/share/mame/hlsl/bloom.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/chroma.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/color.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/deconverge.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/distortion.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/downsample.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/focus.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/ntsc.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/phosphor.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/post.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/prescale.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/primary.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/scanline.fx</Path>
- <Path fileType="data">/usr/share/mame/hlsl/vector.fx</Path>
<Path fileType="data">/usr/share/mame/ini/examples/bt601-525.ini</Path>
<Path fileType="data">/usr/share/mame/ini/examples/bt601-625.ini</Path>
<Path fileType="data">/usr/share/mame/ini/examples/bt709.ini</Path>
@@ -993,7 +985,6 @@
<Path fileType="data">/usr/share/mame/language/Ukrainian/strings.mo</Path>
<Path fileType="data">/usr/share/mame/language/Vietnamese/strings.mo</Path>
<Path fileType="data">/usr/share/mame/mame</Path>
- <Path fileType="data">/usr/share/mame/mame.ini</Path>
<Path fileType="data">/usr/share/mame/plugins/boot.lua</Path>
<Path fileType="data">/usr/share/mame/plugins/cheat/cheat_json.lua</Path>
<Path fileType="data">/usr/share/mame/plugins/cheat/cheat_simple.lua</Path>
@@ -1073,12 +1064,12 @@
</Files>
</Package>
<History>
- <Update release="9">
- <Date>2019-03-02</Date>
- <Version>0.207</Version>
+ <Update release="10">
+ <Date>2019-04-26</Date>
+ <Version>0.209</Version>
<Comment>Packaging update</Comment>
<Name>Fabio Forni</Name>
<Email>livingsilver94.solus@redaril.me</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
May 29 2023, 7:35 AM (10 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5810248
Default Alt Text
D5975.diff (11 KB)

Event Timeline