mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
mame: update to 0.212
Also enable OMP (libgomp) and use system pugixml. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
72b4746f2a
commit
4c0a45663d
1 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'mame'
|
# Template file for 'mame'
|
||||||
pkgname=mame
|
pkgname=mame
|
||||||
version=0211
|
version=0212
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="mame-mame${version}"
|
wrksrc="mame-mame${version}"
|
||||||
short_desc="Multiple Arcade Machine Emulator"
|
short_desc="Multiple Arcade Machine Emulator"
|
||||||
|
@ -8,12 +8,12 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://mamedev.org"
|
homepage="http://mamedev.org"
|
||||||
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
|
distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
|
||||||
checksum=427eacd8f3a1077fa504aacf9d004c2d709a44dc79defb9247fa6f7bb736134b
|
checksum=3d3599c49626b240e98b1433c0813e11e471846154e8d29261d345cc78fc9a21
|
||||||
|
|
||||||
hostmakedepends="perl pkg-config python"
|
hostmakedepends="perl pkg-config python"
|
||||||
makedepends="SDL2_ttf-devel glm libjpeg-turbo-devel libutf8proc-devel
|
makedepends="SDL2_ttf-devel glm libgomp-devel libjpeg-turbo-devel
|
||||||
libuv-devel lua-devel portaudio-devel portmidi-devel rapidjson
|
libutf8proc-devel libuv-devel lua-devel portaudio-devel portmidi-devel
|
||||||
$(vopt_if qt 'qt5-devel')"
|
pugixml-devel rapidjson $(vopt_if qt 'qt5-devel')"
|
||||||
depends="liberation-fonts-ttf"
|
depends="liberation-fonts-ttf"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nodebug=yes
|
nodebug=yes
|
||||||
|
@ -34,6 +34,7 @@ do_build() {
|
||||||
local opts="REGENIE=1"
|
local opts="REGENIE=1"
|
||||||
opts+=" TARGETOS=linux"
|
opts+=" TARGETOS=linux"
|
||||||
opts+=" NOWERROR=1"
|
opts+=" NOWERROR=1"
|
||||||
|
opts+=" OPENMP=1"
|
||||||
opts+=" OPTIMIZE=3"
|
opts+=" OPTIMIZE=3"
|
||||||
opts+=" TOOLS=1"
|
opts+=" TOOLS=1"
|
||||||
opts+=" LTO=0"
|
opts+=" LTO=0"
|
||||||
|
@ -48,6 +49,7 @@ do_build() {
|
||||||
opts+=" USE_SYSTEM_LIB_UTF8PROC=1"
|
opts+=" USE_SYSTEM_LIB_UTF8PROC=1"
|
||||||
opts+=" USE_SYSTEM_LIB_GLM=1"
|
opts+=" USE_SYSTEM_LIB_GLM=1"
|
||||||
opts+=" USE_SYSTEM_LIB_RAPIDJSON=1"
|
opts+=" USE_SYSTEM_LIB_RAPIDJSON=1"
|
||||||
|
opts+=" USE_SYSTEM_LIB_PUGIXML=1"
|
||||||
[ "$build_option_qt" ] && opts+=" USE_QTDEBUG=1"
|
[ "$build_option_qt" ] && opts+=" USE_QTDEBUG=1"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*) # Overcome linker memory exhaustion
|
i686*) # Overcome linker memory exhaustion
|
||||||
|
@ -59,8 +61,7 @@ do_build() {
|
||||||
esac
|
esac
|
||||||
if [ "${CROSS_BUILD}" ]; then
|
if [ "${CROSS_BUILD}" ]; then
|
||||||
# Doesn't work yet
|
# Doesn't work yet
|
||||||
opts+=" CROSS_BUILD=1 TOOLCHAIN=${XBPS_CROSS_TRIPLET}"
|
opts+=" TOOLCHAIN=${XBPS_CROSS_TRIPLET}"
|
||||||
opts+=" OVERRIDE_CC=gcc OVERRIDE_CXX=g++ OVERRIDE_LD=g++"
|
|
||||||
fi
|
fi
|
||||||
make ${opts} ${makejobs}
|
make ${opts} ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue