Update mame to 0.218.

This commit is contained in:
fcambus 2020-02-03 22:00:01 +00:00
parent b4ad5db0ec
commit 698e588b66
5 changed files with 31 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.35 2020/01/29 20:29:21 naddy Exp $
# $OpenBSD: Makefile,v 1.36 2020/02/03 22:00:01 fcambus Exp $
BROKEN-i386 = broken on 32-bit; enum in src/frontend/mame/ui/videoopt.h starting at 0x80000000
ONLY_FOR_ARCHS = amd64 i386
@ -7,9 +7,11 @@ USE_WXNEEDED = Yes
COMMENT = Multiple Arcade Machine Emulator
V = 217
DISTNAME = mame0${V}s
PKGNAME = mame-0.${V}
V = 218
GH_ACCOUNT = mamedev
GH_PROJECT = mame
GH_TAGNAME = mame0${V}
DISTNAME = mame-0.${V}
CATEGORIES = emulators
@ -17,8 +19,6 @@ HOMEPAGE = https://mamedev.org/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
PATCHORIG = .orig.port
# GPLv2+
PERMIT_PACKAGE = Yes
@ -28,10 +28,6 @@ WANTLIB += sqlite3 util z
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES = https://github.com/mamedev/mame/releases/download/mame0${V}/
EXTRACT_SUFX = .zip
MODULES = lang/lua \
lang/python
@ -73,7 +69,6 @@ MAKE_FILE = makefile
NO_TEST = Yes
post-extract:
@${UNZIP} -oq ${WRKDIR}/mame.zip -d ${WRKSRC}
@mv ${WRKSRC}/3rdparty/genie/build/gmake.freebsd \
${WRKSRC}/3rdparty/genie/build/gmake.bsd
@sed -i 's,"lua","lua${MODLUA_VERSION}",g' ${WRKSRC}/scripts/extlib.lua

View File

@ -1,2 +1,2 @@
SHA256 (mame0217s.zip) = FsyXT6dzHpzMRUcXsoAf/oBaYK8hFc6WpDTh9dJB5dk=
SIZE (mame0217s.zip) = 172974418
SHA256 (mame-0.218.tar.gz) = yFXSpTlW1+zGstApdHSVJ4zXAdx4XFBUjw8g/6ZzuR8=
SIZE (mame-0.218.tar.gz) = 183049156

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-makefile,v 1.11 2019/10/30 14:31:07 fcambus Exp $
$OpenBSD: patch-makefile,v 1.12 2020/02/03 22:00:01 fcambus Exp $
- Disable hardcoded -O3 optimizations
- Fix GCC_VERSION and CLANG_VERSION detection
@ -6,7 +6,7 @@ $OpenBSD: patch-makefile,v 1.11 2019/10/30 14:31:07 fcambus Exp $
Index: makefile
--- makefile.orig
+++ makefile
@@ -208,7 +208,7 @@ GENIEOS := freebsd
@@ -207,7 +207,7 @@ GENIEOS := freebsd
endif
ifeq ($(firstword $(filter OpenBSD,$(UNAME))),OpenBSD)
OS := openbsd
@ -15,7 +15,7 @@ Index: makefile
endif
ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin)
OS := macosx
@@ -589,11 +589,6 @@ PROFILER =
@@ -588,11 +588,6 @@ PROFILER =
SYMBOLS = 1
endif
@ -27,7 +27,7 @@ Index: makefile
# set the symbols level
ifdef SYMBOLS
PARAMS += --SYMBOLS='$(SYMBOLS)'
@@ -958,8 +953,8 @@ endif
@@ -953,8 +948,8 @@ endif
ifeq ($(OS),windows)
ifeq (posix,$(SHELLTYPE))
@ -38,7 +38,7 @@ Index: makefile
PYTHON_AVAILABLE := $(shell $(PYTHON) --version > /dev/null 2>&1 && echo python)
GIT_AVAILABLE := $(shell git --version > /dev/null 2>&1 && echo git)
else
@@ -1014,9 +1009,9 @@ else
@@ -1009,9 +1004,9 @@ else
$(info Clang $(CLANG_VERSION) detected)
ifneq ($(TARGETOS),asmjs)
ifeq ($(ARCHITECTURE),_x64)

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-scripts_genie_lua,v 1.13 2019/12/25 15:17:33 fcambus Exp $
$OpenBSD: patch-scripts_genie_lua,v 1.14 2020/02/03 22:00:01 fcambus Exp $
- Set OPT_FLAGS even when OPTIMIZE is unset, to allow passing CXXFLAGS
- Remove broken GCC version detection
@ -6,7 +6,7 @@ $OpenBSD: patch-scripts_genie_lua,v 1.13 2019/12/25 15:17:33 fcambus Exp $
Index: scripts/genie.lua
--- scripts/genie.lua.orig
+++ scripts/genie.lua
@@ -846,17 +846,19 @@ if _OPTIONS["NOWERROR"]==nil then
@@ -830,17 +830,19 @@ if _OPTIONS["NOWERROR"]==nil then
}
end
@ -31,7 +31,7 @@ Index: scripts/genie.lua
if _OPTIONS["LTO"]=="1" then
buildoptions {
-- windows native mingw GCC 5.2 fails with -flto=x with x > 1. bug unfixed as of this commit
@@ -1071,53 +1073,6 @@ end
@@ -1055,53 +1057,6 @@ end

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2018/08/25 06:44:18 fcambus Exp $
@comment $OpenBSD: PLIST,v 1.3 2020/02/03 22:00:01 fcambus Exp $
@conflict sdlmame-*
@conflict sdlmame-tools-*
@conflict sdlmess-*
@ -57,6 +57,20 @@ share/mame/artwork/bgfx/chains/crt-geom/slot_3_7x6_rgb.png
share/mame/artwork/bgfx/chains/hq2x.png
share/mame/artwork/bgfx/chains/hq3x.png
share/mame/artwork/bgfx/chains/hq4x.png
share/mame/artwork/chess/
share/mame/artwork/chess/README.md
share/mame/artwork/chess/bb.png
share/mame/artwork/chess/bk.png
share/mame/artwork/chess/bn.png
share/mame/artwork/chess/bp.png
share/mame/artwork/chess/bq.png
share/mame/artwork/chess/br.png
share/mame/artwork/chess/wb.png
share/mame/artwork/chess/wk.png
share/mame/artwork/chess/wn.png
share/mame/artwork/chess/wp.png
share/mame/artwork/chess/wq.png
share/mame/artwork/chess/wr.png
share/mame/artwork/dir.txt
share/mame/artwork/monochrome-chessboard.png
share/mame/artwork/monochrome-matrix.png