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
|
2019-08-31 00:49:16 +10:00
|
|
|
# Depends on: cmake ninja
|
2019-04-28 13:05:46 +10:00
|
|
|
|
|
|
|
name=vulkan-headers
|
2020-10-24 01:56:34 +11:00
|
|
|
version=1.2.154.0
|
2019-04-28 13:05:46 +10:00
|
|
|
release=1
|
2020-10-24 01:56:34 +11:00
|
|
|
source=(https://github.com/KhronosGroup/Vulkan-Headers/archive/sdk-$version/Vulkan-Headers-sdk-$version.tar.gz)
|
2019-04-28 13:05:46 +10:00
|
|
|
|
|
|
|
build() {
|
2020-10-24 01:56:34 +11:00
|
|
|
cmake -SVulkan-Headers-sdk-$version -Bbuild -GNinja \
|
2019-04-28 13:05:46 +10:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-08-30 19:08:58 +10:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2020-06-07 18:00:11 +10:00
|
|
|
-DCMAKE_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
|
|
|
}
|