parent
1226b07e51
commit
9890b36cde
|
@ -5,6 +5,7 @@ version=3.4.1
|
||||||
revision=10
|
revision=10
|
||||||
wrksrc=OpenSceneGraph-OpenSceneGraph-${version}
|
wrksrc=OpenSceneGraph-OpenSceneGraph-${version}
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
build_helper="qemu"
|
||||||
# don't use /usr/lib64 on 64bit platforms
|
# don't use /usr/lib64 on 64bit platforms
|
||||||
configure_args="-DLIB_POSTFIX= $(vopt_if qt '-DOSG_USE_QT=1' '-DOSG_USE_QT=0')"
|
configure_args="-DLIB_POSTFIX= $(vopt_if qt '-DOSG_USE_QT=1' '-DOSG_USE_QT=0')"
|
||||||
hostmakedepends="pkg-config unzip xrandr"
|
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"
|
distfiles="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${version}.tar.gz"
|
||||||
checksum=930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5
|
checksum=930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
hostmakedepends+=" qemu-user-static"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Append CFLAGS and CXXFLAGS to set work around code which gcc6 would
|
# Append CFLAGS and CXXFLAGS to set work around code which gcc6 would
|
||||||
# otherwise regard as out-of-specification and allow it to produce a
|
# otherwise regard as out-of-specification and allow it to produce a
|
||||||
# working program.
|
# working program.
|
||||||
|
|
Loading…
Reference in New Issue