Merge pull request #3 from flathub/247-2
Fix up make command line, add some additional logo sizes
|
@ -26,8 +26,6 @@ An explanation for some of the options included in the `org.mamedev.MAME.yaml' m
|
|||
|
||||
`--filesystem=host:ro` primarily to be used for external data, roms, samples, etc.
|
||||
|
||||
### Patches
|
||||
### Configuring
|
||||
|
||||
Currently these are the patches applied:
|
||||
|
||||
`inipath.patch` default ini paths include the home '~/.mame' directory and two relative paths '.' and 'ini'. The relative paths are not helpful inside the sandbox, and the '~/.mame' contents shouldn't be overwritten with each new MAME release. Instead the default ini search path is patched to '$HOME/.mame;/app/share/mame/ini'. This will allow a default base ini in '/app/share/mame/ini/mame.ini' and can be overridden in '~/.mame/mame.ini'.
|
||||
Default ini paths include the home '\~/.mame' directory and two relative paths '.' and 'ini'. The relative paths are not helpful inside the sandbox, and the '\~/.mame' contents shouldn't be overwritten with each new MAME release. Instead the default ini search path is patched to '$HOME/.mame;/app/share/mame/ini'. This will allow a default base ini in '/app/share/mame/ini/mame.ini' and can be overridden in '\~/.mame/mame.ini'.
|
||||
|
|
BIN
mame128x128.png
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
BIN
mame16x16.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
mame24x24.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
mame256x256.png
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
BIN
mame32x32.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
mame48x48.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
mame64x64.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
|
@ -22,10 +22,15 @@ modules:
|
|||
no-debuginfo: true
|
||||
strip: true
|
||||
build-commands:
|
||||
- make -j ${FLATPAK_BUILDER_N_JOBS} CFLAGS="-DUSE_SYSTEM_LIB_FLAC=1 -DLDOPTS=-Wl,-s"
|
||||
- make -j ${FLATPAK_BUILDER_N_JOBS} USE_SYSTEM_LIB_FLAC=1 LDOPTS=-Wl,-s
|
||||
- install -Dm 0755 mame ${FLATPAK_DEST}/bin/mame
|
||||
- install -Dm 0644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
||||
- install -Dm 0644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
|
||||
- install -Dm 0644 mame16x16.png ${FLATPAK_DEST}/share/icons/hicolor/16x16/apps/${FLATPAK_ID}.png
|
||||
- install -Dm 0644 mame24x24.png ${FLATPAK_DEST}/share/icons/hicolor/24x24/apps/${FLATPAK_ID}.png
|
||||
- install -Dm 0644 mame32x32.png ${FLATPAK_DEST}/share/icons/hicolor/32x32/apps/${FLATPAK_ID}.png
|
||||
- install -Dm 0644 mame48x48.png ${FLATPAK_DEST}/share/icons/hicolor/48x48/apps/${FLATPAK_ID}.png
|
||||
- install -Dm 0644 mame64x64.png ${FLATPAK_DEST}/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png
|
||||
- install -Dm 0644 mame128x128.png ${FLATPAK_DEST}/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
|
||||
- install -Dm 0644 mame256x256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
|
||||
- cp COPYING ${FLATPAK_DEST}/bin/
|
||||
|
@ -49,6 +54,16 @@ modules:
|
|||
- type: archive
|
||||
url: https://github.com/mamedev/mame/archive/refs/tags/mame0247.tar.gz
|
||||
sha256: a2486d34b15f13c3d7028436f7da373d37c7fd47f34a2ea19ff48cf57daf29e1
|
||||
- type: file
|
||||
path: mame16x16.png
|
||||
- type: file
|
||||
path: mame24x24.png
|
||||
- type: file
|
||||
path: mame32x32.png
|
||||
- type: file
|
||||
path: mame48x48.png
|
||||
- type: file
|
||||
path: mame64x64.png
|
||||
- type: file
|
||||
path: mame128x128.png
|
||||
- type: file
|
||||
|
|