feat: add wayland related tools

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
2026-09-30 02:22:31 +00:00
parent d510d14bc9
commit 18a226d2a0
20 changed files with 703 additions and 11 deletions
+7 -7
View File
@@ -1,27 +1,27 @@
from lib.make import *
from lib import cpp
version("1.4.357.0")
description("SPIR-V headers")
maintainer("sisungo <[email protected]>")
maintainer("sisungo <[email protected]>")
source_url("https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-1.4.357.0.tar.gz")
builddep("shortcut/cmake")
builddep("shortcut/c")
def build():
cpp.cmake([f"-DCMAKE_INSTALL_PREFIX={get_prefix('spirv-headers')}"])
cpp.ninja()
cpp.ninja_install()
on_build(build)
def pack(composer):
composer.add_dir("include", "include")
composer.add_dir("share", "lib")
package("spirv-headers")
on_pack(pack)