31 lines
665 B
TOML
31 lines
665 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DCMAKE_SKIP_INSTALL_RPATH=ON",
|
|
"-G Ninja",
|
|
]
|
|
post_install = [ "python -m compileall -d /usr $DESTDIR/usr", "python -O -m compileall -d /usr $DESTDIR/usr" ]
|
|
skip_tests = true # broken, installs to /
|
|
|
|
[dependencies]
|
|
build = [
|
|
"cmake",
|
|
"ninja",
|
|
"python",
|
|
]
|
|
optional = ["python"]
|
|
|
|
[package]
|
|
description = "Vulkan header files and API registry"
|
|
homepage = "https://www.vulkan.org/"
|
|
license = "Apache-2.0 OR MIT"
|
|
name = "vulkan-headers"
|
|
version = "1.4.341.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
url = "https://github.com/KhronosGroup/Vulkan-Headers#vulkan-sdk-$version"
|