Add TOOLS=1 to build options and install chdman tool after build

This commit is contained in:
icenine451 2024-03-19 15:07:15 -04:00
parent 57db7b4eec
commit 8905c6db1b

View file

@ -51,10 +51,12 @@ modules:
CFLAGS+=-Wno-error=restrict CFLAGS+=-Wno-error=restrict
USE_QTDEBUG=0 USE_QTDEBUG=0
USE_WAYLAND=1 USE_WAYLAND=1
TOOLS=1
USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_FLAC=1
SDL_INI_PATH='$$HOME/.APP_NAME;/app/share/APP_NAME/ini' SDL_INI_PATH='$$HOME/.APP_NAME;/app/share/APP_NAME/ini'
LDOPTS=-Wl,-s LDOPTS=-Wl,-s
- install -Dm 0755 mame ${FLATPAK_DEST}/bin/mame - install -Dm 0755 mame ${FLATPAK_DEST}/bin/mame
- install -Dm 0755 chdman ${FLATPAK_DEST}/bin/chdman
- cp COPYING ${FLATPAK_DEST}/bin/ - cp COPYING ${FLATPAK_DEST}/bin/
- cp uismall.bdf ${FLATPAK_DEST}/bin/ - cp uismall.bdf ${FLATPAK_DEST}/bin/
- mkdir -p ${FLATPAK_DEST}/share/mame/ - mkdir -p ${FLATPAK_DEST}/share/mame/
@ -83,4 +85,4 @@ modules:
- type: patch - type: patch
path: mame-patches/sound.patch path: mame-patches/sound.patch
- type: patch - type: patch
path: mame-patches/ym3802.patch path: mame-patches/ym3802.patch