mame: bump to 0.281 (#12959)

This commit is contained in:
Alex Brown
2025-09-27 06:38:37 +01:00
committed by GitHub
parent ac9ee8d2d6
commit 8d6373ab2a
2 changed files with 26 additions and 14 deletions

View File

@@ -13,9 +13,9 @@ calculators, in addition to the arcade video games that were its initial focus."
HOMEPAGE="https://www.mamedev.org/"
COPYRIGHT="1997-2024 MAMEDev and contributors"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/mamedev/mame/archive/mame${portVersion/./}.tar.gz"
CHECKSUM_SHA256="ffebdf23f2e3b3628e86e1bf9a217343c7c0462b94e3a201f20e3ebc848bd578"
CHECKSUM_SHA256="8d648b43b0072b3efabc30290c1767a3c22a46ca3c4111a2f456b9f5d2a08319"
SOURCE_FILENAME="mame-$portVersion.tar.gz"
SOURCE_DIR="mame-mame${portVersion/./}"
PATCHES="mame-$portVersion.patchset"

View File

@@ -1,4 +1,4 @@
From fc27a62112e35b9543f525ba0a37deadfe612745 Mon Sep 17 00:00:00 2001
From 8156faf857f7695ee92396c7073ac121bb4a1ac2 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Wed, 10 Jun 2020 22:35:16 +1000
Subject: Haiku patches
@@ -676,7 +676,7 @@ index f0782db..5a3a636 100644
#define PLATFORM_WINDOWS (1)
#define PLATFORM_STRING "windows"
diff --git a/makefile b/makefile
index b67fde0..cca46e0 100644
index fbd91c9..54c9cdf 100644
--- a/makefile
+++ b/makefile
@@ -231,6 +231,7 @@ OS := macosx
@@ -802,7 +802,7 @@ index fa12045..5f8418d 100644
2.50.1
From 88acbdece74602e57462ad02c7ff2c7bc068ae52 Mon Sep 17 00:00:00 2001
From ab576d6c3c05aaa070afd902dea60e5fdffe6280 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 11 Jun 2020 08:59:34 +1000
Subject: Use stat Haiku
@@ -843,7 +843,7 @@ index dab8620..ceb2263 100644
2.50.1
From fe871431566f6d7630a395f34b54e85149fc4c51 Mon Sep 17 00:00:00 2001
From ccc871f62377f4b6d106a6db7a1bd517cafeae1e Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Thu, 11 Jun 2020 09:00:11 +1000
Subject: Disable ptty
@@ -866,7 +866,7 @@ index 5f8418d..8838b2a 100644
2.50.1
From 2a10d06838bd3ccd1c8a6df40651cc52d2871c18 Mon Sep 17 00:00:00 2001
From ce1016d552584f7b6ef56163fe1bd5f38cd22ddb Mon Sep 17 00:00:00 2001
From: PulkoMandy <pulkomandy@pulkomandy.tk>
Date: Fri, 5 Aug 2022 19:24:12 +0200
Subject: Allow use of Qt Debugger on Haiku
@@ -905,7 +905,7 @@ index 86a7272..d79abe7 100644
2.50.1
From a60df982c0c127fd0b281a0f724269605e0b6544 Mon Sep 17 00:00:00 2001
From 1d8439d7a59399efb15a0446561aef6dca83ddcb Mon Sep 17 00:00:00 2001
From: Alex Brown <mail@alexbrown.info>
Date: Sat, 14 Oct 2023 11:26:57 +0100
Subject: toolchain.lua: set targetdir for Haiku
@@ -960,7 +960,7 @@ index c730cd7..5069f04 100644
2.50.1
From 16c63d44ddaf256076f3373eab6f5d4ea29fe43f Mon Sep 17 00:00:00 2001
From 86c21c051aec81d7c9a4fe891d2debb79891e31c Mon Sep 17 00:00:00 2001
From: Alex Brown <mail@alexbrown.info>
Date: Sat, 14 Oct 2023 09:14:19 +0100
Subject: Set LinkSupportCircularDependencies for Haiku
@@ -986,7 +986,7 @@ index 4b3025b..4a156a2 100644
2.50.1
From 6c6a47a11078084d01e61880b779596c6274a673 Mon Sep 17 00:00:00 2001
From 508bb0088b211530de7fcd62cef1a14bcf43f1c4 Mon Sep 17 00:00:00 2001
From: PulkoMandy <pulkomandy@pulkomandy.tk>
Date: Thu, 1 May 2025 09:47:57 +0200
Subject: Fix search for Qt6
@@ -995,18 +995,30 @@ Our Qt6 qmake is located in an unusual place, for some reason not in the bin
directory.
diff --git a/scripts/src/osd/modules.lua b/scripts/src/osd/modules.lua
index 7010d3c..c0efe58 100644
index 4b796a1..0dcbed0 100644
--- a/scripts/src/osd/modules.lua
+++ b/scripts/src/osd/modules.lua
@@ -407,7 +407,7 @@ function qtdebuggerbuild()
@@ -405,9 +405,9 @@ function qtdebuggerbuild()
MOC = "moc"
else
if _OPTIONS["QT_HOME"]~=nil then
MOCTST = backtick(_OPTIONS["QT_HOME"] .. "/bin/moc --version 2>/dev/null")
if (MOCTST=='') then
- local MOCTST = backtick(_OPTIONS["QT_HOME"] .. "/bin/moc --version 2>/dev/null")
+ local MOCTST = backtick(_OPTIONS["QT_HOME"] .. "/moc --version 2>/dev/null")
if MOCTST=='' then
- local qt_host_libexecs = backtick(_OPTIONS["QT_HOME"] .. "/bin/qmake -query QT_HOST_LIBEXECS")
+ local qt_host_libexecs = backtick(_OPTIONS["QT_HOME"] .. "/qmake -query QT_HOST_LIBEXECS")
if not string.starts(qt_host_libexecs,"/") then
qt_host_libexecs = _OPTIONS["QT_HOME"] .. "/libexec"
end
@@ -419,7 +419,7 @@ function qtdebuggerbuild()
MOC = qt_host_libexecs .. "/moc"
end
else
- MOC = _OPTIONS["QT_HOME"] .. "/bin/moc"
+ MOC = _OPTIONS["QT_HOME"] .. "/moc"
end
else
local MOCTST = backtick("which moc-qt5 2>/dev/null")
@@ -461,7 +461,7 @@ function qtdebuggerbuild()
else
if _OPTIONS["QT_HOME"]~=nil then