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