mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/mame: upgrade to 0.242
This commit is contained in:
parent
86ae7e5db0
commit
0ca943c720
@ -1,9 +1,9 @@
|
||||
# Contributor: Taner Tas <taner76@gmail.com>
|
||||
# Maintainer: Taner Tas <taner76@gmail.com>
|
||||
pkgname=mame
|
||||
pkgver=0.224
|
||||
pkgver=0.242
|
||||
_pkgver=${pkgver/.}
|
||||
pkgrel=1
|
||||
_groovymame=gm0242sr002h
|
||||
pkgrel=0
|
||||
pkgdesc="Multi Arcade Machine Emulator with GroovyMAME/Switchres/No-nag patchset."
|
||||
url="https://mamedev.org/"
|
||||
# riscv64: takes forever to build and constantly fails
|
||||
@ -27,6 +27,7 @@ makedepends="
|
||||
nasm
|
||||
portaudio-dev
|
||||
portmidi-dev
|
||||
pulseaudio-dev
|
||||
python3-dev
|
||||
py3-sphinx
|
||||
rapidjson-dev
|
||||
@ -47,10 +48,10 @@ subpackages="
|
||||
"
|
||||
source="
|
||||
https://github.com/mamedev/mame/archive/mame$_pkgver.tar.gz
|
||||
$_groovymame.patch::https://github.com/antonioginer/GroovyMAME/releases/download/$_groovymame/GroovyMAME${pkgver#*.}.patch
|
||||
mame.ini
|
||||
midi.conf
|
||||
fix-musl.patch
|
||||
groovymame.patch
|
||||
nonag.patch
|
||||
"
|
||||
options="!check" # No test suite
|
||||
@ -58,7 +59,7 @@ builddir="$srcdir"/$pkgname-$pkgname${pkgver/.}
|
||||
|
||||
# temp allow textrels on rv64
|
||||
case $CARCH in
|
||||
riscv64) options="$options textrels" ;;
|
||||
riscv64) options="$options textrels" ;;
|
||||
esac
|
||||
|
||||
build() {
|
||||
@ -78,8 +79,9 @@ build() {
|
||||
esac
|
||||
|
||||
case "$CARCH" in
|
||||
armhf)
|
||||
armhf|x86)
|
||||
# clang segfaults on armhf
|
||||
# x86 seems not compiling with clang anymore
|
||||
true
|
||||
;;
|
||||
*)
|
||||
@ -218,9 +220,11 @@ lang() {
|
||||
mkdir -p "$subpkgdir"/usr/share/$pkgname
|
||||
cp -r language "$subpkgdir"/usr/share/$pkgname/
|
||||
}
|
||||
sha512sums="a5e01dd017cb78a5aea56f48d7bc2375f2c2b8d4c30b47b1e3f543ee74fb9777c01d8e8305655034e28e6929ce8bd82e9b066333f15718b44ded3adcd6df9b5b mame0224.tar.gz
|
||||
sha512sums="
|
||||
fb7a8089bdcb8fb496806c320c4825974cdbd10cd264b5c97e1d9f35880178d938182dfd5a2240063ea8b35112cf8bc14ff7fbec67bd213f33f0b1483db52fd6 mame0242.tar.gz
|
||||
6d4f393739b69d5f78dbb761f579360adac5f2c73df5a850b12f938eb50b138e914fd503d457f008c0a5cfcf4fdb5ccb01c4bc726659e3d25cdc418cf9bda084 gm0242sr002h.patch
|
||||
dc008245cbea0b94f58d83e09bf5fd3fff04ac0e2f3a36b910a8b7633c5377419fc67a1fd366ef268e283f744d9a8d29928cfacf456b3edaa2d0b1a11d46a701 mame.ini
|
||||
8f83ff5a916f4ff8e86c5afbdfe4475f7780bb36c20c78d6d029d0eb0dafd77b3471faa538aca384001d2049dc94c4df3429c67d743adde9fd6329c91e6d19a2 midi.conf
|
||||
75bba366aebb37de7758368fbf7418194a18d535e61c1768e6c2c5cf4b3b7a2f625ef687cb8278c03daa9e308951df4c0bdcc944dfcc4ce5305f5ac83e5e049b fix-musl.patch
|
||||
9107239ea2081cbc5c445559c4f0abf0f6833e6d9df16e4558a2375e5925f789ac749f24744c9d85150fe6822d9ebdafa437cf06419f6bd7beae343040dbf3b4 groovymame.patch
|
||||
b9d0373472807b81f59be1c8c6a90e3c6774e864a3e73ca4336040bf032c04b270182f8f97bcced8b4f345bcde1f97e114568857a258f9ff010d9b575e61f97c nonag.patch"
|
||||
cbb908a274377f15b67f6379eaa48eab7883c3a249cc86764753ef50cadb67b776aa7925395acb1427940cb31ca9ac9452a774bedab898d53fd1877536d84056 fix-musl.patch
|
||||
3e4e1ccfc506d18cd4d78ea477b53bf9854568c1eab64e6dc63bbdc750dcd94a2229635d17dbe9c5ee75b28baffeac5c87850f7c87b0dd400636811a961d8d9d nonag.patch
|
||||
"
|
||||
|
||||
@ -19,3 +19,13 @@
|
||||
|
||||
#include "platform.h"
|
||||
#include "config.h"
|
||||
--- a/src/osd/modules/sound/pulse_sound.cpp
|
||||
+++ b/src/osd/modules/sound/pulse_sound.cpp
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <poll.h>
|
||||
+#include <signal.h>
|
||||
|
||||
#include <thread>
|
||||
#include <pulse/pulseaudio.h>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,11 @@
|
||||
--- a/src/emu/render.cpp
|
||||
+++ b/src/emu/render.cpp
|
||||
@@ -1399,7 +1399,8 @@
|
||||
@@ -1429,7 +1429,7 @@
|
||||
add_element_primitives(list, item_xform, curitem);
|
||||
}
|
||||
|
||||
// if we are not in the running stage, draw an outer box
|
||||
}
|
||||
- else
|
||||
+ // DISABLE WHITE BORDER
|
||||
+ else if ( !m_manager.machine().options().skip_gameinfo() )
|
||||
{
|
||||
// if we are not in the running stage, draw an outer box
|
||||
render_primitive *prim = list.alloc(render_primitive::QUAD);
|
||||
set_render_bounds_xy(prim->bounds, 0.0f, 0.0f, (float)m_width, (float)m_height);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user