Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F11054812
D1016.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
8 KB
Referenced Files
None
Subscribers
None
D1016.id.diff
View Options
diff --git a/Makefile b/Makefile
new file mode 100644
--- /dev/null
+++ b/Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
diff --git a/abi_used_libs b/abi_used_libs
new file mode 100644
--- /dev/null
+++ b/abi_used_libs
@@ -0,0 +1,25 @@
+ld-linux-x86-64.so.2
+libFLAC.so.8
+libGL.so.1
+libQt5Core.so.5
+libQt5Gui.so.5
+libQt5Widgets.so.5
+libSDL2-2.0.so.0
+libSDL2_ttf-2.0.so.0
+libX11.so.6
+libc.so.6
+libdl.so.2
+libexpat.so.1
+libfontconfig.so.1
+libgcc_s.so.1
+libjpeg.so.8
+liblua.so.5.3
+libm.so.6
+libportaudio.so.2
+libportmidi.so
+libpthread.so.0
+librt.so.1
+libsqlite3.so.0
+libstdc++.so.6
+libutil.so.1
+libz.so.1
diff --git a/files/mame b/files/mame
new file mode 100755
--- /dev/null
+++ b/files/mame
@@ -0,0 +1,2 @@
+#!/bin/sh
+(cd /usr/share/mame && exec ./mame "$@")
diff --git a/files/mame.ini b/files/mame.ini
new file mode 100644
--- /dev/null
+++ b/files/mame.ini
@@ -0,0 +1,34 @@
+# 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
+pluginspath $HOME/.mame/plugins;/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
+
+# Default settings
+video opengl
+autosave 1
+joystick 1
+mouse 1
+
diff --git a/package.yml b/package.yml
new file mode 100644
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,84 @@
+name : mame
+version : '0.191'
+release : 1
+source :
+ - https://github.com/mamedev/mame/archive/mame0191.tar.gz : e1faed5ee39e977d9a4e60e439c4d36d55a476dbe70a3e8fbe6aadb2a63b1e31
+license :
+ - GPL-2.0
+ - BSD-3-Clause
+ - MIT # 'console' and 'json' plugins
+ - WTFPL # 'hiscore' plugin
+ - CC0-1.0 # Localization files and other things
+component : games.emulator
+summary : Emulator for several hardware platforms to keep old games playable
+description: |
+ 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.
+builddeps :
+ - pkgconfig(alsa)
+ - pkgconfig(flac)
+ - pkgconfig(fontconfig)
+ - pkgconfig(gl)
+ - pkgconfig(libjpeg)
+ - pkgconfig(lua)
+ - pkgconfig(portaudiocpp)
+ - pkgconfig(Qt5Gui)
+ - pkgconfig(SDL2_ttf)
+ - pkgconfig(sqlite3)
+ - pkgconfig(xinerama)
+ - portmidi-devel
+build : |
+ # Remove -g2 flag because it's bloating mame64 executable file
+ # AFAIK every 64-bit processor supports SSE2, so I'm enabling it
+ # TODO: Use system utf8proc when it'll be available in repo
+ export CFLAGS=$(echo $CFLAGS | sed 's/-g2//')
+ export CXXFLAGS=$(echo $CXXFLAGS | sed 's/-g2//')
+ %make USE_SYSTEM_LIB_ZLIB=1 \
+ USE_SYSTEM_LIB_JPEG=1 \
+ USE_SYSTEM_LIB_FLAC=1 \
+ USE_SYSTEM_LIB_SQLITE3=1 \
+ USE_SYSTEM_LIB_EXPAT=1 \
+ USE_SYSTEM_LIB_PORTAUDIO=1 \
+ USE_SYSTEM_LIB_PORTMIDI=1 \
+ USE_SYSTEM_LIB_LUA=1 \
+ OPTIMIZE=2 \
+ TOOLS=0 \
+ SSE2=1 \
+ NOWERROR=1 \
+ REGENIE=1 \
+install : |
+ # Install executable files with proper filenames
+ install -Dm00755 ./mame64 $installdir/usr/share/mame/mame
+ install -Dm00755 $pkgfiles/mame $installdir/usr/bin/mame
+
+ # File cleanup
+ find . -name dir.txt -o \
+ -name "LICENSE*" -o \
+ -name *.po -o \
+ -iname "readme*" | xargs rm -f
+ 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
+ install -dm00755 $installdir/usr/share/mame/$folder_name
+ cp -a $folder_name/* $installdir/usr/share/mame/$folder_name/
+ done
+ install -dm00755 $installdir/usr/share/mame/docs/swlist
+ cp -a docs/swlist/* $installdir/usr/share/mame/docs/swlist/
+
+ # Install manual
+ install -dm00755 $installdir/usr/share/man/{man1,man6}
+ for file in docs/man/*.1; do
+ install -m00644 $file $installdir/usr/share/man/man1
+ done
+ for file in docs/man/*.6; do
+ install -m00644 $file $installdir/usr/share/man/man6
+ done
+
+ # Copy config file
+ install -m00644 $pkgfiles/mame.ini $installdir/usr/share/mame
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,52 @@
+<PISI>
+ <Source>
+ <Name>mame</Name>
+ <Packager>
+ <Name>Fabio Forni</Name>
+ <Email>fabio0x@keemail.me</Email>
+ </Packager>
+ <License>GPL-2.0</License>
+ <License>BSD-3-Clause</License>
+ <License>MIT</License>
+ <License>WTFPL</License>
+ <License>CC0-1.0</License>
+ <PartOf>games.emulator</PartOf>
+ <Summary xml:lang="en">Emulator for several hardware platforms to keep old games playable</Summary>
+ <Description xml:lang="en">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.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>mame</Name>
+ <Summary xml:lang="en">Emulator for several hardware platforms to keep old games playable</Summary>
+ <Description xml:lang="en">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.
+</Description>
+ <PartOf>games.emulator</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="data">/usr/share/mame</Path>
+ <Path fileType="man">/usr/share/man</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2017-11-20</Date>
+ <Version>0.191</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Fabio Forni</Name>
+ <Email>fabio0x@keemail.me</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 12, 1:12 AM (3 h, 19 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5815628
Default Alt Text
D1016.id.diff (8 KB)
Attached To
Mode
D1016: Initial commit of mame
Attached
Detach File
Event Timeline
Log In to Comment