aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-11-14 20:17:11 +0900
committerOphestra <cat@gensokyo.uk>2026-11-14 20:17:11 +0900
commit1bc363aaf9b02930c478e83e46f8f344e07767fd (patch)
tree074163f5ef3cca1e1ab78758e8f9b825ef403c33 /internal
parentfb98e863bd5628bbe3870e69152be7bc78eb45c5 (diff)
internal/rosa/package: vulkan
This is required by wlroots to enable the vulkan renderer. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/package/vulkan.az46
-rw-r--r--internal/rosa/package/wlroots.az7
2 files changed, 52 insertions, 1 deletions
diff --git a/internal/rosa/package/vulkan.az b/internal/rosa/package/vulkan.az
new file mode 100644
index 00000000..4ed197d4
--- /dev/null
+++ b/internal/rosa/package/vulkan.az
@@ -0,0 +1,46 @@
+package vulkan-headers {
+ description = "Vulkan header files and API registry";
+ website = "https://www.vulkan.org";
+ anitya = 393261;
+
+ version# = "1.4.363.0";
+ source = remoteGitHub {
+ suffix = "KhronosGroup/Vulkan-Headers";
+ tag = "vulkan-sdk-"+version;
+ checksum = "7M0IL5Mu_Y2ZsO_lrl1YjLee45eN1UfY5MWj_2ZxBsrlVGYjn0g2UeedPNFiP7jS";
+ };
+
+ exec = cmake {};
+
+ unlikely = true;
+}
+
+package vulkan-loader {
+ description = "Vulkan Loader";
+ website = "https://vulkan.lunarg.com/doc/sdk/latest/linux/LoaderInterfaceArchitecture.html";
+ anitya = 334922;
+
+ version# = "1.4.363.0";
+ source = remoteGitHub {
+ suffix = "KhronosGroup/Vulkan-Loader";
+ tag = "vulkan-sdk-"+version;
+ checksum = "aCGnq0nv2NIWx4eQdyQdv7yVyrfwJcSbv5adOh4IPQMzGvz_FTBQvtfdk697Blzh";
+ };
+ ccommon = true;
+
+ exec = cmake {
+ // upstream has no tests
+ test = nil;
+ };
+
+ inputs = [
+ vulkan-headers,
+ libX11,
+ libXrandr,
+ ];
+ tools = [
+ pkg-config,
+ python,
+ ];
+ runtime = nil;
+}
diff --git a/internal/rosa/package/wlroots.az b/internal/rosa/package/wlroots.az
index 7cfeb261..810d8009 100644
--- a/internal/rosa/package/wlroots.az
+++ b/internal/rosa/package/wlroots.az
@@ -14,7 +14,9 @@ package wlroots {
exec = meson {
setup = {
"xwayland": "enabled";
- "allocators": "gbm";
+ "examples": "false";
+ "renderers": "gles2,vulkan";
+ "allocators": "gbm,udmabuf";
"backends": "drm,libinput";
};
};
@@ -32,6 +34,9 @@ package wlroots {
seatd,
libinput,
libliftoff,
+ vulkan-headers,
+ vulkan-loader,
+ glslang,
kernel-headers,
];