32 lines
768 B
Plaintext
32 lines
768 B
Plaintext
# Description: Vulkan Installable Client Driver (ICD) Loader
|
|
# URL: https://www.khronos.org/vulkan/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: vulkan-headers xorg-libxrandr
|
|
|
|
name=vulkan-loader
|
|
version=1.1.114.0
|
|
release=1
|
|
source=(https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-$version/Vulkan-Loader-sdk-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Vulkan-Loader-sdk-$version
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=True \
|
|
-DBUILD_TESTS=False \
|
|
-DBUILD_LOADER=True \
|
|
-DBUILD_WSI_XCB_SUPPORT=True \
|
|
-DBUILD_WSI_XLIB_SUPPORT=True \
|
|
-DBUILD_WSI_WAYLAND_SUPPORT=OFF \
|
|
-GNinja
|
|
|
|
ninja -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja install
|
|
}
|