mame: update to 0.169
This commit is contained in:
parent
36b0617363
commit
e08ff396d0
1 changed files with 11 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'mame'
|
||||
pkgname=mame
|
||||
version=0168
|
||||
version=0169
|
||||
revision=1
|
||||
wrksrc="mame-mame${version}"
|
||||
homepage="http://mamedev.org"
|
||||
|
@ -8,23 +8,26 @@ distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz"
|
|||
short_desc="The Multiple Arcade Machine Emulator"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="mame"
|
||||
checksum=3b6db52ddffed867ae171664e327f0b2bade64139d3450dc7166c4f90b6d94e8
|
||||
checksum=3c71d44260899ee01a1f85bd173d57edcc98f2973f8f068e038e30ad4d1ba5dc
|
||||
|
||||
hostmakedepends="perl pkg-config python automoc4"
|
||||
makedepends="SDL2_ttf-devel fontconfig-devel qt-devel lua-devel
|
||||
makedepends="SDL2_ttf-devel fontconfig-devel $(vopt_if qt qt5-devel) lua-devel
|
||||
libjpeg-turbo-devel libflac-devel sqlite-devel portaudio-devel portmidi-devel"
|
||||
depends="liberation-fonts-ttf"
|
||||
nocross=yes
|
||||
repository="nonfree"
|
||||
replaces="sdlmame>=0 sdlmess>=0"
|
||||
|
||||
build_options="qt"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="qt"
|
||||
fi
|
||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3"
|
||||
do_build() {
|
||||
local opts="REGENIE=1"
|
||||
opts+=" NOWERROR=1"
|
||||
opts+=" TOOLS=1"
|
||||
opts+=" OPTIMIZE=3"
|
||||
opts+=" USE_QTDEBUG=1"
|
||||
opts+=" USE_SYSTEM_LIB_EXPAT=1"
|
||||
opts+=" USE_SYSTEM_LIB_ZLIB=1"
|
||||
opts+=" USE_SYSTEM_LIB_JPEG=1"
|
||||
|
@ -33,8 +36,11 @@ do_build() {
|
|||
opts+=" USE_SYSTEM_LIB_SQLITE3=1"
|
||||
opts+=" USE_SYSTEM_LIB_PORTMIDI=1"
|
||||
opts+=" USE_SYSTEM_LIB_PORTAUDIO=1"
|
||||
if [ "$build_option_qt" ]; then
|
||||
opts+=" USE_QTDEBUG=1"
|
||||
fi
|
||||
if [ "${CROSS_BUILD}" ]; then
|
||||
# Doesn't work yet because of qt (which can't be cross compiled)
|
||||
# Doesn't work yet
|
||||
opts+=" CROSS_BUILD=1 OVERRIDE_CC=${CC} OVERRIDE_CXX=${CXX} OVERRIDE_LD=${CC}"
|
||||
fi
|
||||
make ${opts} ${makejobs}
|
||||
|
|
Loading…
Reference in a new issue