org.mamedev.MAME/org.mamedev.MAME.yaml

63 lines
2 KiB
YAML
Raw Normal View History

2022-06-27 21:35:28 +00:00
id: org.mamedev.MAME
runtime: org.kde.Platform
runtime-version: 5.15-21.08
sdk: org.kde.Sdk
command: mame
separate-locales: false
finish-args:
- --device=all
- --persist=.mame
- --filesystem=home
2022-06-27 21:35:28 +00:00
- --filesystem=host:ro
- --share=network
- --share=ipc
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
- --allow=bluetooth
modules:
- name: mame
buildsystem: simple
build-options:
no-debuginfo: true
strip: true
build-commands:
- make -j ${FLATPAK_BUILDER_N_JOBS}
2022-06-27 21:35:28 +00:00
- install -Dm 0755 mame /app/bin/mame
- install -Dm 0644 ${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop
- install -Dm 0644 ${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
2022-06-28 19:52:51 +00:00
- install -Dm 0644 mame128x128.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -Dm 0644 mame.ini /app/bin/mame.ini
2022-06-27 21:35:28 +00:00
- cp COPYING /app/bin/
- cp uismall.bdf /app/bin/
- mkdir -p /app/share/mame/
- cp -r artwork/ /app/share/mame/
- cp -r bgfx/ /app/share/mame/
- cp -r ctrlr/ /app/share/mame/
- mkdir -p /app/share/mame/docs/
- cp -r docs/legal/ /app/share/mame/docs/
- cp -r docs/man/ /app/share/mame/docs
- cp -r hash/ /app/share/mame/
- cp -r hlsl/ /app/share/mame/
- cp -r ini/ /app/share/mame/
- cp -r language/ /app/share/mame/
- cp -r plugins/ /app/share/mame/
- cp -r roms/ /app/share/mame/
- cp -r samples/ /app/share/mame/
2022-06-28 19:52:51 +00:00
sources:
- type: archive
url: https://github.com/mamedev/mame/archive/refs/tags/mame0246.tar.gz
sha256: 293c8f4b550694e0f6aa21165d7f7be9aa3a5284d957265c4e7469159a71b5d5
2022-06-28 19:52:51 +00:00
- type: file
path: mame128x128.png
- type: file
path: org.mamedev.MAME.desktop
- type: file
path: org.mamedev.MAME.metainfo.xml
- type: file
path: mame.ini
2022-06-28 19:52:51 +00:00
- type: patch
path: use-system-lib-flac.patch
- type: patch
path: ldopts.patch