godot: update build for ppc64 targets

[ci skip]
This commit is contained in:
q66 2018-12-14 02:47:55 +01:00 committed by Helmut Pozimski
parent 850061b8d3
commit 47c2554580

View file

@ -4,6 +4,9 @@ version=3.0.6
revision=2
wrksrc="${pkgname}-${version}-stable"
build_style=scons
# Godot contains private copies of libraries
# that already have been packaged elsewhere.
make_build_args="use_llvm=yes platform=x11 tools=yes target=release_debug dev=no progress=no pulseaudio=no"
hostmakedepends="pkg-config clang"
makedepends="
alsa-lib-devel freetype-devel glu-devel libXcursor-devel libXi-devel
@ -14,9 +17,6 @@ license="MIT"
homepage="https://www.godotengine.org/"
distfiles="https://github.com/godotengine/${pkgname}/archive/${version}-stable.tar.gz"
checksum=50431e021ee5ec21002cc23435f530f8fde518c6eb7085c9f7f1027abaae2581
# Godot contains private copies of libraries
# that already have been packaged elsewhere.
make_build_args="use_llvm=yes platform=x11 tools=yes target=release_debug dev=no progress=no pulseaudio=no"
nocross=https://build.voidlinux.eu/builders/armv7l_builder/builds/6342/steps/shell_3/logs/stdio
CFLAGS+=" -fPIE -fPIC"
@ -37,7 +37,7 @@ do_install() {
vinstall ${wrksrc}/logo.png 644 /usr/share/pixmaps/ godot.png
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*) vbin bin/godot.x11.opt.tools.64.llvm godot;;
x86_64*|aarch64*|ppc64*) vbin bin/godot.x11.opt.tools.64.llvm godot;;
*) vbin bin/godot.x11.opt.tools.32.llvm godot;;
esac
}