34 lines
779 B
Plaintext
34 lines
779 B
Plaintext
# Description: Vulkan tools
|
|
# URL: https://www.khronos.org/vulkan/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: glslang vulkan-loader
|
|
|
|
name=vulkan-tools
|
|
version=1.1.114.0
|
|
release=1
|
|
source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-$version/Vulkan-Tools-sdk-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Vulkan-Tools-sdk-$version
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DGLSLANG_INSTALL_DIR=/usr \
|
|
-DBUILD_CUBE=True \
|
|
-DBUILD_VULKANINFO=True \
|
|
-DCUBE_WSI_SELECTION='XCB' \
|
|
-DBUILD_WSI_XCB_SUPPORT=True \
|
|
-DBUILD_WSI_XLIB_SUPPORT=True \
|
|
-DBUILD_WSI_WAYLAND_SUPPORT=OFF \
|
|
-DBUILD_ICD=OFF \
|
|
-GNinja
|
|
|
|
ninja -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja install
|
|
}
|