24 lines
745 B
Plaintext
24 lines
745 B
Plaintext
# Description: Utility libraries for Vulkan developers
|
|
# URL: https://www.khronos.org/vulkan/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: vulkan-headers
|
|
# Optional:
|
|
|
|
name=vulkan-utility-libraries
|
|
version=1.3.280.0
|
|
_commit=a4140c5fd47dcf3a030726a60b293db61cfb54a3
|
|
release=1
|
|
source=(https://github.com/KhronosGroup/Vulkan-Utility-Libraries/archive/$_commit/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S Vulkan-Utility-Libraries-$_commit -B build -G Ninja \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-Wno-dev
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|