Merge pull request #1 from icenine451/main

Add TOOLS=1 to build options and install chdman tool after build
This commit is contained in:
XargonWan 2024-03-19 20:14:12 +01:00 committed by GitHub
commit fcd9996928
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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