mame: update to 0.218
This commit is contained in:
parent
3509efbc2e
commit
23e1a4d4c1
13
srcpkgs/mame/patches/make-4.3.patch
Normal file
13
srcpkgs/mame/patches/make-4.3.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- 3rdparty/genie/src/actions/make/make_cpp.lua
|
||||
+++ 3rdparty/genie/src/actions/make/make_cpp.lua
|
||||
@@ -73,8 +73,8 @@
|
||||
if (prj.kind == "StaticLib" and prj.options.ArchiveSplit) then
|
||||
_p('define max_args')
|
||||
_p('\t$(eval _args:=)')
|
||||
- _p('\t$(foreach obj,$3,$(eval _args+=$(obj))$(if $(word $2,$(_args)),$1$(_args)$(EOL)$(eval _args:=)))')
|
||||
- _p('\t$(if $(_args),$1$(_args))')
|
||||
+ _p('\t$(foreach obj,$3,$(eval _args+=$(obj))$(if $(word $2,$(_args)),$1 $(_args)$(EOL)$(eval _args:=)))')
|
||||
+ _p('\t$(if $(_args),$1 $(_args))')
|
||||
_p('endef')
|
||||
_p('')
|
||||
_p('define EOL')
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'mame'
|
||||
pkgname=mame
|
||||
version=0217
|
||||
version=0218
|
||||
revision=1
|
||||
wrksrc="mame-mame${version}"
|
||||
short_desc="Multiple Arcade Machine Emulator"
|
||||
@ -8,9 +8,9 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://mamedev.org"
|
||||
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
|
||||
checksum=b38873459a781d3b464a0f2c978690e3bdf12bdfee5de5e36fc5b45a32914abe
|
||||
checksum=c855d2a53956d7ecc6b2d029747495278cd701dc785c50548f0f20ffa673b91f
|
||||
|
||||
hostmakedepends="perl pkg-config python"
|
||||
hostmakedepends="pkg-config python tar xz which"
|
||||
makedepends="SDL2_ttf-devel glm libgomp-devel libjpeg-turbo-devel
|
||||
libutf8proc-devel libuv-devel lua-devel portaudio-devel portmidi-devel
|
||||
pugixml-devel rapidjson $(vopt_if qt 'qt5-devel')"
|
||||
@ -63,6 +63,10 @@ do_build() {
|
||||
# Doesn't work yet
|
||||
opts+=" TOOLCHAIN=${XBPS_CROSS_TRIPLET}"
|
||||
fi
|
||||
make ${opts} genie
|
||||
cd 3rdparty/genie
|
||||
bin/linux/genie embed
|
||||
cd ${wrksrc}
|
||||
make ${opts} ${makejobs}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user