[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/mame/mame.desc [COPY] Copyright (C) 2004 - 2026 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Multiple Arcade Machine Emulator [T] Xmame is a port of the Multiple Arcade Machine Emulator (MAME) for UNIX [T] and other POSIX operating systems, which emulates classic arcade games. [U] https://www.mamedev.org/ [A] Mame team [M] Leonel Iván Saafigueroa [C] extra/emulator [L] GPL [V] 0289 [CV-TR] s/\.// [D] cff5dd98c528bfe8c5da249a876e171d671a4715893cd8a7f3ab81e6 mame0288.tar.gz https://github.com/mamedev/mame/archive/ var_append makeopt ' ' "MY_CPU=`echo $arch | arch2uname | sed s/x86_64/amd64/`" var_append GCC_WRAPPER_INSERT ' ' "`pkg-config x11 --cflags --libs-only-L`" var_append GCC_WRAPPER_APPEND ' ' -c?:-lSDL2 makeinstopt= hook_add postmake 5 "install mame $root$bindir/" if atstage cross; then # genie generates the makefiles, build it for the build host first hook_add premake 5 "MAKEFLAGS= make -R -C 3rdparty/genie/build/gmake.linux -f genie.make CC=$BUILDCC" var_append makeopt ' ' 'TARGETOS=linux CROSS_BUILD=1 OVERRIDE_CC=$CC OVERRIDE_CXX=$CXX' [ "$arch_sizeof_char_p" = 8 ] && var_append makeopt ' ' PTR64=1 fi [[ $arch = x86* ]] || var_append makeopt ' ' NOASM=1