feat: add wayland related tools
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
from lib.make import *
|
||||
from lib import cpp
|
||||
|
||||
|
||||
version("1.4.357.0")
|
||||
description("Vulkan headers")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/KhronosGroup/Vulkan-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('vulkan-headers')}"])
|
||||
cpp.ninja()
|
||||
cpp.ninja_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
def pack(composer):
|
||||
composer.add("include")
|
||||
composer.add("share", "lib")
|
||||
|
||||
package("vulkan-headers")
|
||||
on_pack(pack)
|
||||
Reference in New Issue
Block a user