diff options
author | Taner Tas <taner76@gmail.com> | 2019-02-02 04:28:31 +0300 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2019-02-03 00:02:05 +0200 |
commit | 71cd3eb78b20628de1f8fc9d44997e40c9a99e62 (patch) | |
tree | eb1500bd2667cb2f4098a36ccd5c6c432cb3eae4 /testing/mame | |
parent | 84a0e7fd7b1f6c5d781ecab775612becad4376e2 (diff) | |
download | aports-71cd3eb78b20628de1f8fc9d44997e40c9a99e62.tar.bz2 aports-71cd3eb78b20628de1f8fc9d44997e40c9a99e62.tar.xz |
testing/mame: upgrade to 0.206
* Use default compiler for armhf.
Diffstat (limited to 'testing/mame')
-rw-r--r-- | testing/mame/APKBUILD | 42 | ||||
-rw-r--r-- | testing/mame/SubtargetArcade_0200u0.diff | 20 |
2 files changed, 25 insertions, 37 deletions
diff --git a/testing/mame/APKBUILD b/testing/mame/APKBUILD index a70d8d171a..d0ca411d8b 100644 --- a/testing/mame/APKBUILD +++ b/testing/mame/APKBUILD @@ -1,12 +1,12 @@ # Contributor: Taner Tas <taner76@gmail.com> # Maintainer: Taner Tas <taner76@gmail.com> pkgname=mame -pkgver=0.205 +pkgver=0.206 _pkgver=${pkgver/.} -pkgrel=1 +pkgrel=0 pkgdesc="Multi Arcade Machine Emulator with GroovyMAME/Switchres/No-nag patchset." url="https://mamedev.org" -arch="all !armhf" # fails with clang 5 https://github.com/alpinelinux/aports/pull/6042#issuecomment-455065598 +arch="all" license="GPL-2.0-or-later" depends="$pkgname-common" makedepends=" @@ -48,14 +48,13 @@ subpackages=" _groovymame_patch=groovymame-$pkgver.diff source=" https://github.com/mamedev/mame/archive/$pkgname$_pkgver.tar.gz - $_groovymame_patch::https://drive.google.com/uc?export=download&id=1jROC9Otq7OcjbtERWAA40ewKYxIT4cdX + $_groovymame_patch::https://drive.google.com/uc?export=download&id=1HEA5y8rmupXH9uNI6TbiQ8nNsigThFVg mame.ini midi.conf fix-musl.patch m68000_archopts.patch nonag.patch fix-ppc64le-float.patch - SubtargetArcade_0200u0.diff " options="!check" # No test suite builddir="$srcdir"/$pkgname-$pkgname${pkgver/.} @@ -70,27 +69,37 @@ prepare() { } build() { - #clang builds have better benchmark score and smaller size - export OVERRIDE_CC=clang - export OVERRIDE_CXX=clang++ - - export CFLAGS="$CFLAGS -I/usr/include/lua5.3 -DBX_CRT_MUSL -Wno-everything" - export CXXFLAGS="$CFLAGS" - export LDFLAGS="$LDFLAGS -L/usr/lib/lua5.3" - case "$CARCH" in x86|armhf) _PTR64=0 _SYMBOLS=0;; *) _PTR64=1 _SYMBOLS=1;; esac + case "$CARCH" in x86_64|x86) _NOASM=0 ;; *) _NOASM=1 ;; esac + case "$CARCH" in s390x) _BIGENDIAN=1 ;; *) _BIGENDIAN=0 ;; esac + case "$CARCH" in + armhf) + # clang segfaults on armhf + true + ;; + *) + # clang builds have better benchmark score and smaller size + export OVERRIDE_CC=clang + export OVERRIDE_CXX=clang++ + ;; + esac + + export CFLAGS="$CFLAGS -I/usr/include/lua5.3 -Wno-everything" + export CXXFLAGS="$CFLAGS" + export LDFLAGS="$LDFLAGS -L/usr/lib/lua5.3" + _build="make TARGETOS=linux NOWERROR=1 @@ -216,12 +225,11 @@ lang() { mkdir -p "$subpkgdir"/usr/share/$pkgname cp -r language "$subpkgdir"/usr/share/$pkgname/ } -sha512sums="fa0831eed3e6ef5a42b7e2efc8ed96b120c7e089139a4237771e8f3abd17d18369a1c1e865376ccbc828b6685070b3f0365b5132d48faa22c523d193d46ff3b6 mame0205.tar.gz -89d7d5b35d5d1eb025259c9dda3b8a9cc8dfcee3f5055d6c676fcf4329cb8d0e1e498e580af933fafe35a5f257a94020a89c04f5b9d733bd0595dceae9588787 groovymame-0.205.diff +sha512sums="d7f69565a3b4f7ff53caed76d7d241c204bfb76adcd8cf5be8aec5d8beef46ed0e610bc3200a4f3f5d8f98191ac05cb29e3e2bf4e054c61dc9f9946037fb8c90 mame0206.tar.gz +5bc2a0b399c116b5d0c51af9a26de4d57c7294c068efc5e28e03f0c4cda63cc383b3f5854eafa9189275fd28e07c0615a4fd7753485d309a7aaa09347f730103 groovymame-0.206.diff dc008245cbea0b94f58d83e09bf5fd3fff04ac0e2f3a36b910a8b7633c5377419fc67a1fd366ef268e283f744d9a8d29928cfacf456b3edaa2d0b1a11d46a701 mame.ini 8f83ff5a916f4ff8e86c5afbdfe4475f7780bb36c20c78d6d029d0eb0dafd77b3471faa538aca384001d2049dc94c4df3429c67d743adde9fd6329c91e6d19a2 midi.conf 75bba366aebb37de7758368fbf7418194a18d535e61c1768e6c2c5cf4b3b7a2f625ef687cb8278c03daa9e308951df4c0bdcc944dfcc4ce5305f5ac83e5e049b fix-musl.patch a4d628d4648d28b9ae95f27ecba4a70b999ef11ffde31b31ca3ce2ed2fd4cfcab82ec78e2602309952518fac8c549d0b8b4294f6aa34c1acaa77f012ea13de9e m68000_archopts.patch 864816a55f35f9d485ccd143a1e0acd76d47239a6d5344be2a76b50fd4efbdfb4f3e45318d7dfda67faa63c0a52022f2e8313f058965a1eba60e6ca4677a519b nonag.patch -daa915d08b61e3828b28144f1934fd1fa9fe04da00b3536f86b984035f1a1bc81da498e1bc8632bc5f9c8b86533b70814a91318627fcafc3f05ebda59e303cc4 fix-ppc64le-float.patch -3796c725efb886f953c372b947a84dd6e09d59d0be9abc3c3c73625beeb7f3bdcc6e8c8057c3f59e297ed92fd5077b52a69a2de6dacb005b21cf552e4e641a4a SubtargetArcade_0200u0.diff" +daa915d08b61e3828b28144f1934fd1fa9fe04da00b3536f86b984035f1a1bc81da498e1bc8632bc5f9c8b86533b70814a91318627fcafc3f05ebda59e303cc4 fix-ppc64le-float.patch" diff --git a/testing/mame/SubtargetArcade_0200u0.diff b/testing/mame/SubtargetArcade_0200u0.diff deleted file mode 100644 index 0f3db9a500..0000000000 --- a/testing/mame/SubtargetArcade_0200u0.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- a/scripts/target/mame/arcade.lua -+++ b/scripts/target/mame/arcade.lua -@@ -626,6 +626,17 @@ - MACHINES["ADC0844"] = true - MACHINES["GEN_FIFO"] = true - MACHINES["Z80DAISY"] = true -+--MACHINES["PS2DMAC"] = true -+MACHINES["PS2INTC"] = true -+--MACHINES["PS2MC"] = true -+--MACHINES["PS2PAD"] = true -+--MACHINES["PS2SIF"] = true -+--MACHINES["PS2TIMER"] = true -+--MACHINES["IOPCDVD"] = true -+--MACHINES["IOPDMA"] = true -+--MACHINES["IOPINTC"] = true -+--MACHINES["IOPSIO2"] = true -+--MACHINES["IOPTIMER"] = true - - -------------------------------------------------- - -- specify available bus cores |