diff --git a/README.md b/README.md index d51b639..0ea308c 100644 --- a/README.md +++ b/README.md @@ -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'. diff --git a/mame128x128.png b/mame128x128.png index 34aa1cf..38d6e00 100644 Binary files a/mame128x128.png and b/mame128x128.png differ diff --git a/mame16x16.png b/mame16x16.png new file mode 100644 index 0000000..d3b62b7 Binary files /dev/null and b/mame16x16.png differ diff --git a/mame24x24.png b/mame24x24.png new file mode 100644 index 0000000..3c998e2 Binary files /dev/null and b/mame24x24.png differ diff --git a/mame256x256.png b/mame256x256.png index 5951324..09e4a26 100644 Binary files a/mame256x256.png and b/mame256x256.png differ diff --git a/mame32x32.png b/mame32x32.png new file mode 100644 index 0000000..aeaab3b Binary files /dev/null and b/mame32x32.png differ diff --git a/mame48x48.png b/mame48x48.png new file mode 100644 index 0000000..c802dcd Binary files /dev/null and b/mame48x48.png differ diff --git a/mame64x64.png b/mame64x64.png new file mode 100644 index 0000000..8a2aaa5 Binary files /dev/null and b/mame64x64.png differ diff --git a/org.mamedev.MAME.yaml b/org.mamedev.MAME.yaml index 59ee591..68f6d07 100644 --- a/org.mamedev.MAME.yaml +++ b/org.mamedev.MAME.yaml @@ -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