mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
mame: update to 0.229
This commit is contained in:
parent
ded223d9e8
commit
58160de235
1 changed files with 13 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'mame'
|
# Template file for 'mame'
|
||||||
pkgname=mame
|
pkgname=mame
|
||||||
version=0228
|
version=0229
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="mame-mame${version}"
|
wrksrc="mame-mame${version}"
|
||||||
hostmakedepends="pkg-config python3 qt5-host-tools tar xz which"
|
hostmakedepends="pkg-config python3 qt5-host-tools tar xz which"
|
||||||
|
@ -13,7 +13,7 @@ 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=1d8e6f20491492f8b15892ff958f9b067c48eb90cc2fc974b08bde297e657244
|
checksum=414921771ada0804a8c7f3540e33338e8495e16a3bca78a5a2b355abafa51e6a
|
||||||
nodebug=yes
|
nodebug=yes
|
||||||
replaces="sdlmame>=0 sdlmess>=0"
|
replaces="sdlmame>=0 sdlmess>=0"
|
||||||
|
|
||||||
|
@ -71,21 +71,21 @@ do_configure() {
|
||||||
grep -rlw -- -m64 | xargs sed -i "s;-m64;;"
|
grep -rlw -- -m64 | xargs sed -i "s;-m64;;"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
make ${makejobs} ${_options} \
|
CC="$CC_host"
|
||||||
CC="$CC_host" \
|
CXX="$CXX_host"
|
||||||
CXX="$CXX_host" \
|
LD="$CXX_host"
|
||||||
LD="$CXX_host" \
|
CFLAGS="$CFLAGS_host"
|
||||||
CFLAGS="$CFLAGS_host" \
|
CXXFLAGS="$CXXFLAGS_host"
|
||||||
CXXFLAGS="$CXXFLAGS_host" \
|
LDFLAGS="$LDFLAGS_host"
|
||||||
LDFLAGS="$LDFLAGS_host" \
|
|
||||||
genie
|
|
||||||
else
|
|
||||||
make ${makejobs} ${_options} genie
|
|
||||||
fi
|
fi
|
||||||
|
make CC="$CC" CXX="$CXX" LD="$CXX" \
|
||||||
|
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" \
|
||||||
|
${makejobs} ${_options} genie
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# The build sometimes fails due to parallelism but the 2nd try then passes.
|
# The build sometimes fails due to parallelism and generated files
|
||||||
|
# not being ready but the 2nd try then passes.
|
||||||
make OVERRIDE_CC="$CC" OVERRIDE_CXX="$CXX" OVERRIDE_LD="$CXX" ${makejobs} ${_options} || \
|
make OVERRIDE_CC="$CC" OVERRIDE_CXX="$CXX" OVERRIDE_LD="$CXX" ${makejobs} ${_options} || \
|
||||||
make OVERRIDE_CC="$CC" OVERRIDE_CXX="$CXX" OVERRIDE_LD="$CXX" ${makejobs} ${_options}
|
make OVERRIDE_CC="$CC" OVERRIDE_CXX="$CXX" OVERRIDE_LD="$CXX" ${makejobs} ${_options}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue