2019-08-30 11:08:58 +02:00
|
|
|
# Description: Vulkan Header files and API registry
|
2019-04-28 05:05:46 +02:00
|
|
|
# URL: https://www.khronos.org/vulkan/
|
2023-08-18 16:23:26 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2019-04-28 05:05:46 +02:00
|
|
|
|
|
|
|
name=vulkan-headers
|
2023-11-11 19:29:15 +01:00
|
|
|
_name=Vulkan-Headers
|
|
|
|
version=1.3.268.0
|
|
|
|
_version=vulkan-sdk-$version
|
2021-04-20 13:27:44 +02:00
|
|
|
release=1
|
2022-05-22 12:21:49 +02:00
|
|
|
source=(https://github.com/KhronosGroup/Vulkan-Headers/archive/$_version/$_name-$version.tar.gz)
|
2019-04-28 05:05:46 +02:00
|
|
|
|
|
|
|
build() {
|
2023-11-11 19:29:15 +01:00
|
|
|
cmake -S $_name-$_version -B build -G Ninja \
|
2021-04-05 07:23:04 +02:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release
|
2019-04-28 05:05:46 +02:00
|
|
|
|
2020-06-07 10:00:11 +02:00
|
|
|
cmake --build build
|
2020-07-08 15:14:57 +02:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2019-04-28 05:05:46 +02:00
|
|
|
}
|