Vulkan-Tools: fix cross
This commit is contained in:
parent
806fca52eb
commit
36c8cc5d94
1 changed files with 9 additions and 2 deletions
|
@ -4,7 +4,8 @@ version=1.1.77.0
|
|||
revision=1
|
||||
wrksrc="${pkgname}-sdk-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DGLSLANG_INSTALL_DIR=/usr"
|
||||
configure_args="-DGLSLANG_INSTALL_DIR=/usr
|
||||
-DVULKAN_HEADERS_INSTALL_DIR=${XBPS_CROSS_BASE}/usr"
|
||||
hostmakedepends="python3 pkg-config glslang"
|
||||
makedepends="Vulkan-Headers vulkan-loader libxcb-devel libxkbcommon-devel
|
||||
wayland-devel libwayland-egl libXrandr-devel"
|
||||
|
@ -14,4 +15,10 @@ license="Apache-2.0"
|
|||
homepage="https://www.khronos.org/vulkan/"
|
||||
distfiles="https://github.com/KhronosGroup/${pkgname}/archive/sdk-${version}.tar.gz"
|
||||
checksum=15eaefa9d9370c58aac3458b3cb67909759fb4e965d737a57e7de6cc108fabc6
|
||||
nocross="refurses to compile if not on the same arch"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# CMake Error at cube/CMakeLists.txt:188 (if):
|
||||
# if given arguments:
|
||||
# "STREQUAL" "x86_64"
|
||||
configure_args+=" -DBUILD_CUBE=OFF"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue