From 0183fa2c019277e1b357e3a3e1ff86fe0b03cf46 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 5 Jan 2024 17:16:42 +0100 Subject: [PATCH] MAME-MODULE: trying a different approach (2) --- mame-module.yml | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/mame-module.yml b/mame-module.yml index ff86256..9beb1b8 100644 --- a/mame-module.yml +++ b/mame-module.yml @@ -17,6 +17,25 @@ modules: build-options: no-debuginfo: true strip: true + build-commands: + - install -Dm 0755 mame ${FLATPAK_DEST}/bin/mame + - cp COPYING ${FLATPAK_DEST}/bin/ + - cp uismall.bdf ${FLATPAK_DEST}/bin/ + - mkdir -p ${FLATPAK_DEST}/share/mame/ + - cp -r artwork/ ${FLATPAK_DEST}/share/mame/ + - cp -r bgfx/ ${FLATPAK_DEST}/share/mame/ + - cp -r ctrlr/ ${FLATPAK_DEST}/share/mame/ + - mkdir -p ${FLATPAK_DEST}/share/mame/docs/ + - cp -r docs/legal/ ${FLATPAK_DEST}/share/mame/docs/ + - cp -r docs/man/ ${FLATPAK_DEST}/share/mame/docs + - cp -r hash/ ${FLATPAK_DEST}/share/mame/ + - cp -r hlsl/ ${FLATPAK_DEST}/share/mame/ + - cp -r ini/ ${FLATPAK_DEST}/share/mame/ + - install -Dm 0644 mame.ini ${FLATPAK_DEST}/share/mame/ini/mame.ini + - cp -r language/ ${FLATPAK_DEST}/share/mame/ + - cp -r plugins/ ${FLATPAK_DEST}/share/mame/ + - cp -r roms/ ${FLATPAK_DEST}/share/mame/ + - cp -r samples/ ${FLATPAK_DEST}/share/mame/ sources: - type: archive url: https://github.com/mamedev/mame/archive/refs/tags/mame0261.tar.gz @@ -28,24 +47,4 @@ modules: - type: patch path: mame-patches/sound.patch - type: patch - path: mame-patches/ym3802.patch - - type: shell - commands: - - install -Dm 0755 mame ${FLATPAK_DEST}/bin/mame - - cp COPYING ${FLATPAK_DEST}/bin/ - - cp uismall.bdf ${FLATPAK_DEST}/bin/ - - mkdir -p ${FLATPAK_DEST}/share/mame/ - - cp -r artwork/ ${FLATPAK_DEST}/share/mame/ - - cp -r bgfx/ ${FLATPAK_DEST}/share/mame/ - - cp -r ctrlr/ ${FLATPAK_DEST}/share/mame/ - - mkdir -p ${FLATPAK_DEST}/share/mame/docs/ - - cp -r docs/legal/ ${FLATPAK_DEST}/share/mame/docs/ - - cp -r docs/man/ ${FLATPAK_DEST}/share/mame/docs - - cp -r hash/ ${FLATPAK_DEST}/share/mame/ - - cp -r hlsl/ ${FLATPAK_DEST}/share/mame/ - - cp -r ini/ ${FLATPAK_DEST}/share/mame/ - - install -Dm 0644 mame.ini ${FLATPAK_DEST}/share/mame/ini/mame.ini - - cp -r language/ ${FLATPAK_DEST}/share/mame/ - - cp -r plugins/ ${FLATPAK_DEST}/share/mame/ - - cp -r roms/ ${FLATPAK_DEST}/share/mame/ - - cp -r samples/ ${FLATPAK_DEST}/share/mame/ \ No newline at end of file + path: mame-patches/ym3802.patch \ No newline at end of file