community/mame to 0.216-2

This commit is contained in:
Kevin Mihelich 2019-12-17 00:48:21 +00:00
parent b4be151b13
commit 54e71197e1
3 changed files with 35 additions and 3 deletions

View file

@ -10,7 +10,7 @@ highmem=1
pkgname=mame
pkgver=0.216
pkgrel=1
pkgrel=2
pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
url="https://mamedev.org/"
license=(GPL2)
@ -19,9 +19,12 @@ depends=(sdl2_ttf qt5-base lua libutf8proc pugixml portmidi portaudio)
makedepends=(nasm python asio rapidjson glm libxinerama)
conflicts=(sdlmame)
replaces=(sdlmame)
source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz" mame.sh)
source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz"
mame.sh mame.desktop mame.svg)
sha256sums=('cc69e56ebbabbd6cf197d4910de0904f5709844a81f0117ce5d922f702429fc8'
'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba')
'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba'
'6beb883c8efed5b7466d43d0658b47c3e4a9928b5d0245ed56446b230e28306b'
'17c442c933d764175e4ce1de50a80c0c2ddd5d733caf09c3cd5e6ba697ac43f4')
prepare() {
@ -74,4 +77,8 @@ package() {
install -d "$pkgdir"/usr/share/man/man{1,6}
install -m644 docs/man/*.1* "$pkgdir"/usr/share/man/man1/
install -m644 docs/man/*.6* "$pkgdir"/usr/share/man/man6/
# install desktop file and icon
install -Dm644 "$srcdir"/mame.desktop -t "$pkgdir"/usr/share/applications
install -Dm644 "$srcdir"/mame.svg -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps
}

View file

@ -0,0 +1,20 @@
[Desktop Entry]
Name=MAME Arcade Emulator
Name[ca]=Emulador de jocs arcade MAME
Name[fr]=Emulateur arcade MAME
Name[it]=Emulatore di giochi arcade MAME
GenericName=Arcade Emulator
GenericName[ca]=Emulador de jocs arcade
GenericName[fr]=Emulateur arcade
GenericName[it]=Emulatore di giochi arcade
Comment=Play vintage arcade games using the MAME emulator
Comment[ca]=Jugueu a jocs d'arcade antics emprant l'emulador MAME
Comment[fr]=Jugueu a jocs d'arcade antics emprant l'emulador MAME
Comment[it]=Gioca ai vecchi arcade con l'emulatore MAME
Exec=/usr/bin/mame
Icon=mame
Terminal=false
Type=Application
Categories=Game;Emulator;
Keywords=Game;Emulator;Arcade;

5
community/mame/mame.svg Normal file
View file

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" version="1.1" viewBox="0 0 32 32">
<path style="opacity:0.2;fill-rule:evenodd" d="M 21,7 1.9999996,26 H 10 l 8,-8 v 8 l 8,-8 v 8 l 4,-4 V 7.1 L 21,17 Z"/>
<path style="fill:#2b87d8;fill-rule:evenodd" d="M 21,6 2,25 h 8 l 8,-8 v 8 l 8,-8 v 8 l 4,-4 V 7 l -9,9 z"/>
<path style="opacity:0.2;fill:#ffffff;fill-rule:evenodd" d="M 21,6 2,25 H 3 L 21,7 Z m 9,1 -9,9 v 1 l 9,-9 z"/>
</svg>

After

Width:  |  Height:  |  Size: 449 B