Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : mame | name : mame | ||||
| version : '0.207' | version : '0.209' | ||||
| release : 9 | release : 10 | ||||
| source : | source : | ||||
| - https://github.com/mamedev/mame/archive/mame0207.tar.gz : 69c29533d2128345c59fbf23fabc3af696322a77a6c1d7a7bd7f5a2ee57adafb | - https://github.com/mamedev/mame/archive/mame0209.tar.gz : 9442e88bd87cfe407eb093a2ecb42a3850cabe31cd52c4efdef1bf7f584a8eab | ||||
| license : | license : | ||||
| - BSD-3-Clause | - BSD-3-Clause | ||||
| - CC0-1.0 # Localization files and other things | - CC0-1.0 # Localization files and other things | ||||
| - GPL-2.0-or-later | - GPL-2.0-or-later | ||||
| - MIT # 'console' and 'json' plugins | - MIT # 'console' and 'json' plugins | ||||
| - WTFPL # 'hiscore' plugin | - WTFPL # 'hiscore' plugin | ||||
| component : games.emulator | component : games.emulator | ||||
| summary : Emulator for several hardware platforms to keep old games playable | summary : Emulator for several hardware platforms to keep old games playable | ||||
| Show All 10 Lines | builddeps : | ||||
| - pkgconfig(portaudiocpp) | - pkgconfig(portaudiocpp) | ||||
| - pkgconfig(Qt5Gui) | - pkgconfig(Qt5Gui) | ||||
| - pkgconfig(RapidJSON) | - pkgconfig(RapidJSON) | ||||
| - pkgconfig(SDL2_ttf) | - pkgconfig(SDL2_ttf) | ||||
| - pkgconfig(sqlite3) | - pkgconfig(sqlite3) | ||||
| - pkgconfig(xinerama) | - pkgconfig(xinerama) | ||||
| - portmidi-devel | - portmidi-devel | ||||
| - pugixml-devel | - pugixml-devel | ||||
| rundeps : | |||||
| - python3 | |||||
| build : | | build : | | ||||
| # -g2 flag is removed because it's bloating mame64 executable file | # -g2 flag is removed because it's bloating mame64 executable file | ||||
| # AFAIK every 64-bit processor supports SSE2, so I'm enabling it | # AFAIK every 64-bit processor supports SSE2, so I'm enabling it | ||||
| # Using bundled utf8proc library because it's not in Solus repository | # Using bundled utf8proc library because it's not in Solus repository | ||||
| export CFLAGS="${CFLAGS/-g2/}" | export CFLAGS="${CFLAGS/-g2/}" | ||||
| export CXXFLAGS="${CXXFLAGS/-g2/}" | export CXXFLAGS="${CXXFLAGS/-g2/}" | ||||
| %make NOWERROR=1 \ | %make NOWERROR=1 \ | ||||
| OPTIMIZE=2 \ | OPTIMIZE=2 \ | ||||
| PYTHON_EXECUTABLE=python3 \ | PYTHON_EXECUTABLE=python3 \ | ||||
| REGENIE=1 \ | REGENIE=1 \ | ||||
| SDL_INI_PATH=/usr/share/defaults/mame \ | |||||
| SSE2=1 \ | SSE2=1 \ | ||||
| TOOLS=0 \ | TOOLS=0 \ | ||||
| USE_SYSTEM_LIB_EXPAT=1 \ | USE_SYSTEM_LIB_EXPAT=1 \ | ||||
| USE_SYSTEM_LIB_FLAC=1 \ | USE_SYSTEM_LIB_FLAC=1 \ | ||||
| USE_SYSTEM_LIB_GLM=1 \ | USE_SYSTEM_LIB_GLM=1 \ | ||||
| USE_SYSTEM_LIB_JPEG=1 \ | USE_SYSTEM_LIB_JPEG=1 \ | ||||
| USE_SYSTEM_LIB_LUA=1 \ | USE_SYSTEM_LIB_LUA=1 \ | ||||
| USE_SYSTEM_LIB_PORTAUDIO=1 \ | USE_SYSTEM_LIB_PORTAUDIO=1 \ | ||||
| USE_SYSTEM_LIB_PORTMIDI=1 \ | USE_SYSTEM_LIB_PORTMIDI=1 \ | ||||
| USE_SYSTEM_LIB_PUGIXML=1 \ | USE_SYSTEM_LIB_PUGIXML=1 \ | ||||
| USE_SYSTEM_LIB_RAPIDJSON=1 \ | USE_SYSTEM_LIB_RAPIDJSON=1 \ | ||||
| USE_SYSTEM_LIB_SQLITE3=1 \ | USE_SYSTEM_LIB_SQLITE3=1 \ | ||||
| USE_SYSTEM_LIB_ZLIB=1 | USE_SYSTEM_LIB_ZLIB=1 | ||||
| install : | | install : | | ||||
| # Install executable files with proper filenames | # Install executable files with proper filenames | ||||
| install -Dm00755 ./mame64 $installdir/usr/share/mame/mame | 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 | # File cleanup | ||||
| find . -name dir.txt -o \ | find . -name dir.txt -o \ | ||||
| -name "LICENSE*" -o \ | -name "LICENSE*" -o \ | ||||
| -name *.po -o \ | -name *.po -o \ | ||||
| -iname "readme*" | xargs rm -f | -iname "readme*" | xargs rm -f | ||||
| rm -rf bgfx/shaders/{dx11,dx9,essl,metal} | rm -rf bgfx/shaders/{dx11,dx9,essl,metal} | ||||
| # Install data directories | # 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 | install -dm00755 $installdir/usr/share/mame/$folder_name | ||||
| cp -a $folder_name/* $installdir/usr/share/mame/$folder_name/ | cp -a $folder_name/* $installdir/usr/share/mame/$folder_name/ | ||||
| done | 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 manual | ||||
| install -Dm00644 docs/man/*.1 -t $installdir/usr/share/man/man1/ | 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/*.6 -t $installdir/usr/share/man/man6 | ||||
| # Copy config file | # Copy config file | ||||
| install -m00644 $pkgfiles/mame.ini $installdir/usr/share/mame | install -Dm00644 $pkgfiles/mame.ini -t $installdir/usr/share/defaults/mame | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.