Update for 0.247

This commit is contained in:
Jason Flatt 2022-08-31 00:53:09 -07:00
parent 47dadd2d42
commit 75b516436b
7 changed files with 19 additions and 56 deletions

View file

@ -31,8 +31,3 @@ An explanation for some of the options included in the `org.mamedev.MAME.yaml' m
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'.
`ldopts.patch` enables an option for the linker to strip debug symbols.
`use-system-lib-flac.patch` works around FORTIFY_SOURCE compiler option that causes errors in the included libflac.

View file

@ -1,13 +0,0 @@
diff --git a/makefile b/makefile
index c5cedbc0..727320e5 100644
--- a/makefile
+++ b/makefile
@@ -60,7 +60,7 @@
# ARCHOPTS_OBJC =
# ARCHOPTS_OBJCXX =
# OPT_FLAGS =
-# LDOPTS =
+LDOPTS = -Wl,-s
# USE_SYSTEM_LIB_ASIO = 1
# USE_SYSTEM_LIB_EXPAT = 1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 12 KiB

BIN
mame256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

@ -8,7 +8,16 @@
MAME is a multi-purpose emulation framework.
</summary>
<description>
<p>MAME&apos;s purpose is to preserve decades of software history. As electronic technology continues to rush forward, MAME prevents this important &quot;vintage&quot; software from being lost and forgotten. This is achieved by documenting the hardware and how it functions. The source code to MAME serves as this documentation. The fact that the software is usable serves primarily to validate the accuracy of the documentation (how else can you prove that you have recreated the hardware faithfully?). Over time, MAME (originally stood for Multiple Arcade Machine Emulator) absorbed the sister-project MESS (Multi Emulator Super System), so MAME now documents a wide variety of (mostly vintage) computers, video game consoles and calculators, in addition to the arcade video games that were its initial focus.</p>
<p>
MAME&apos;s purpose is to preserve decades of software history. As electronic technology continues to rush
forward, MAME prevents this important &quot;vintage&quot; software from being lost and forgotten. This is
achieved by documenting the hardware and how it functions. The source code to MAME serves as this documentation.
The fact that the software is usable serves primarily to validate the accuracy of the documentation (how else
can you prove that you have recreated the hardware faithfully?). Over time, MAME (originally stood for Multiple
Arcade Machine Emulator) absorbed the sister-project MESS (Multi Emulator Super System), so MAME now documents a
wide variety of (mostly vintage) computers, video game consoles and calculators, in addition to the arcade video
games that were its initial focus.
</p>
</description>
<categories>
<category>Game</category>
@ -18,28 +27,14 @@
<url type="homepage">https://www.mamedev.org</url>
<launchable type="desktop-id">org.mamedev.MAME.desktop</launchable>
<releases>
<release version="0.247" date="2022-08-31"/>
<release version="0.246" date="2022-07-31"/>
<release version="0.245" date="2022-06-30"/>
</releases>
<provides>
<binary>mame</binary>
</provides>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">intense</content_attribute>
<content_attribute id="violence-fantasy">intense</content_attribute>
<content_attribute id="violence-realistic">intense</content_attribute>
<content_attribute id="violence-bloodshed">intense</content_attribute>
<content_attribute id="violence-sexual">intense</content_attribute>
<content_attribute id="drugs-alcohol">moderate</content_attribute>
<content_attribute id="drugs-narcotics">moderate</content_attribute>
<content_attribute id="drugs-tobacco">moderate</content_attribute>
<content_attribute id="sex-nudity">intense</content_attribute>
<content_attribute id="sex-themes">intense</content_attribute>
<content_attribute id="language-profanity">intense</content_attribute>
<content_attribute id="language-humor">intense</content_attribute>
<content_attribute id="language-discrimination">intense</content_attribute>
<content_attribute id="money-advertising">moderate</content_attribute>
<content_attribute id="money-gambling">moderate</content_attribute>
</content_rating>
<content_rating type="oars-1.0" />
<screenshots>
<screenshot type="default">
<image type="source" width="1280" height="960">https://upload.wikimedia.org/wikipedia/commons/6/6f/NewMAME.png</image>

View file

@ -22,11 +22,12 @@ modules:
no-debuginfo: true
strip: true
build-commands:
- make -j ${FLATPAK_BUILDER_N_JOBS}
- make -j ${FLATPAK_BUILDER_N_JOBS} CFLAGS="-DUSE_SYSTEM_LIB_FLAC=1 -DLDOPTS=-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 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/
- cp uismall.bdf ${FLATPAK_DEST}/bin/
- mkdir -p ${FLATPAK_DEST}/share/mame/
@ -46,10 +47,12 @@ modules:
- cp -r samples/ ${FLATPAK_DEST}/share/mame/
sources:
- type: archive
url: https://github.com/mamedev/mame/archive/refs/tags/mame0246.tar.gz
sha256: 293c8f4b550694e0f6aa21165d7f7be9aa3a5284d957265c4e7469159a71b5d5
url: https://github.com/mamedev/mame/archive/refs/tags/mame0247.tar.gz
sha256: a2486d34b15f13c3d7028436f7da373d37c7fd47f34a2ea19ff48cf57daf29e1
- type: file
path: mame128x128.png
- type: file
path: mame256x256.png
- type: file
path: org.mamedev.MAME.desktop
- type: file
@ -58,7 +61,3 @@ modules:
path: mame.ini
- type: patch
path: inipath.patch
- type: patch
path: ldopts.patch
- type: patch
path: use-system-lib-flac.patch

View file

@ -1,13 +0,0 @@
diff --git a/makefile b/makefile
index c5cedbc0..797ea027 100644
--- a/makefile
+++ b/makefile
@@ -66,7 +66,7 @@
# USE_SYSTEM_LIB_EXPAT = 1
# USE_SYSTEM_LIB_ZLIB = 1
# USE_SYSTEM_LIB_JPEG = 1
-# USE_SYSTEM_LIB_FLAC = 1
+USE_SYSTEM_LIB_FLAC = 1
# USE_SYSTEM_LIB_LUA = 1
# USE_SYSTEM_LIB_SQLITE3 = 1
# USE_SYSTEM_LIB_PORTMIDI = 1