osg: change to qemu build helper

[ci skip]
This commit is contained in:
John 2019-10-19 15:29:09 +02:00 committed by John Zimmermann
parent 1226b07e51
commit 9890b36cde

View file

@ -5,6 +5,7 @@ version=3.4.1
revision=10
wrksrc=OpenSceneGraph-OpenSceneGraph-${version}
build_style=cmake
build_helper="qemu"
# don't use /usr/lib64 on 64bit platforms
configure_args="-DLIB_POSTFIX= $(vopt_if qt '-DOSG_USE_QT=1' '-DOSG_USE_QT=0')"
hostmakedepends="pkg-config unzip xrandr"
@ -23,10 +24,6 @@ homepage="http://www.openscenegraph.org"
distfiles="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${version}.tar.gz"
checksum=930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user-static"
fi
# Append CFLAGS and CXXFLAGS to set work around code which gcc6 would
# otherwise regard as out-of-specification and allow it to produce a
# working program.