Index: Makefile =================================================================== --- /dev/null +++ Makefile @@ -0,0 +1 @@ +include ../Makefile.common Index: abi_used_libs =================================================================== --- /dev/null +++ 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 Index: package.yml =================================================================== --- /dev/null +++ package.yml @@ -0,0 +1,86 @@ +name : mame +version : '0.190' +release : 1 +source : + - https://github.com/mamedev/mame/archive/mame0190.tar.gz : ea9604a5c586f1a0fa3ca431e6fb35f39b71eb1a6f0464b4dd7fc6379231ed74 +license : GPL-2.0 +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) + - 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 + 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 executables + install -Dm00755 ./mame64 ${installdir}/usr/share/mame/mame + install -Dm00755 ${pkgfiles}/mame ${installdir}/usr/bin/mame + + # Install data files + install -dm00755 ${installdir}/usr/share/mame/{artwork,bgfx,ctrlr,hash,keymaps,language} + cp -R artwork ${installdir}/usr/share/mame + chmod 00644 -R ${installdir}/usr/share/mame/artwork + install -m00644 ctrlr/* ${installdir}/usr/share/mame/ctrlr/ + install -m00644 hash/* ${installdir}/usr/share/mame/hash/ + install -m00644 keymaps/*LINUX.map ${installdir}/usr/share/mame/keymaps/ + install -d ${installdir}/usr/share/mame/bgfx/{chains,effects,layouts} + install -d ${installdir}/usr/share/mame/bgfx/shaders/glsl + cp -R bgfx/chains ${installdir}/usr/share/mame/bgfx + cp -R bgfx/effects ${installdir}/usr/share/mame/bgfx + cp -R bgfx/layouts ${installdir}/usr/share/mame/bgfx + cp -R bgfx/shaders/glsl ${installdir}/usr/share/mame/bgfx/shaders + chmod 00644 -R ${installdir}/usr/share/mame/bgfx + cp -R plugins ${installdir}/usr/share/mame/ + chmod 00644 -R ${installdir}/usr/share/mame/plugins + # Delete language source files, keep only compiled files + find language/ -name "*.po" | xargs rm -rf + cp -R language ${installdir}/usr/share/mame/ + chmod 00644 -R ${installdir}/usr/share/mame/language + # Delete every README and LICENSE file copied so far + find ${installdir} -name "LICENSE" | xargs rm -rf + find ${installdir} -name "README.md" | xargs rm -rf + + + # Install manual + install -dm00755 ${installdir}/usr/share/man/{man1,man6} + for file in docs/man/*.1; do + install -m00755 $file ${installdir}/usr/share/man/man1 + done + for file in docs/man/*.6; do + install -m00755 $file ${installdir}/usr/share/man/man6 + done Index: pspec_x86_64.xml =================================================================== --- /dev/null +++ pspec_x86_64.xml @@ -0,0 +1,48 @@ + + + mame + + Fabio Forni + fabio94xx@gmail.com + + GPL-2.0 + games.emulator + Emulator for several hardware platforms to keep old games playable + 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 + + + mame + Emulator for several hardware platforms to keep old games playable + 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. + + games.emulator + + /usr/bin + /usr/share/mame + /usr/share/man + + + + + 2017-10-04 + 0.190 + Packaging update + Fabio Forni + fabio94xx@gmail.com + + + \ No newline at end of file