cegui: unbreak arm + aarch64
This commit is contained in:
parent
fc6a4a75db
commit
03930095bc
@ -1,7 +1,7 @@
|
||||
# Template file for 'cegui'
|
||||
pkgname=cegui
|
||||
version=0.8.7
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=cmake
|
||||
hostmakedepends="graphviz doxygen dejavu-fonts-ttf gd glm perl pkg-config"
|
||||
makedepends="libxml2-devel boost-devel glu-devel glew-devel glfw-devel
|
||||
@ -23,26 +23,21 @@ build_options="gtk irrlicht ogre python"
|
||||
desc_option_gtk="Enable support for GTK2"
|
||||
desc_option_irrlicht="Enable support for Irrlicht"
|
||||
desc_option_ogre="Enable support for Ogre"
|
||||
build_options_default="gtk irrlicht"
|
||||
build_options_default="gtk irrlicht ogre"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
# XXX: boost-python is not available when cross building
|
||||
build_options_default+=" python"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
aarch64*) broken="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/2416/steps/shell_3/logs/stdio"
|
||||
;;
|
||||
arm*) # No ogre support for arm* (libogre for armv6l is broken)
|
||||
;;
|
||||
*) build_options_default+=" ogre"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
# Use /usr/lib instead of /usr/lib64 or /usr/lib32
|
||||
sed -i ${wrksrc}/CMakeLists.txt \
|
||||
-e "s;lib64;lib;g" \
|
||||
-e "s;lib32;lib;g"
|
||||
|
||||
# cmake sets standard to c++03 (which doesn’t know int16_t)
|
||||
sed -i -e "s/-std=c++03//" CMakeLists.txt
|
||||
}
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user