Timo Aaltonen pushed to branch debian-unstable at X Strike Force / vulkan /
vulkan-validationlayers
Commits:
57d92d86 by Pino Toscano at 2025-12-18T22:36:44+01:00
Enable the build on all the architectures
this source is generally portable, and upstream accepts ports:
- switch the architecture of the binaries from linux-any to any
- Wayland is still Linux-specific, so:
- limit the libwayland-dev build dependency as linux-any
- pass -DBUILD_WSI_WAYLAND_SUPPORT=OFF to cmake on non-Linux
architectures to explicitly disable the Wayland integration
- - - - -
3 changed files:
- debian/changelog
- debian/control
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,16 @@
+vulkan-validationlayers (1.4.335.0-2) UNRELEASED; urgency=medium
+
+ [ Pino Toscano ]
+ * Enable the build on all the architectures, as this source is generally
+ portable, and upstream accepts ports:
+ - switch the architecture of the binaries from linux-any to any
+ - Wayland is still Linux-specific, so:
+ - limit the libwayland-dev build dependency as linux-any
+ - pass -DBUILD_WSI_WAYLAND_SUPPORT=OFF to cmake on non-Linux
+ architectures to explicitly disable the Wayland integration
+
+ -- Debian X Strike Force <[email protected]> Thu, 18 Dec 2025
22:36:12 +0100
+
vulkan-validationlayers (1.4.335.0-1) unstable; urgency=medium
* New upstream release.
=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Build-Depends: debhelper-compat (= 12),
cmake,
glslang-dev (>= 16.1.0),
libvulkan-dev (>= 1.4.335.0),
- libwayland-dev,
+ libwayland-dev [linux-any],
libx11-dev,
libxrandr-dev,
pkg-config,
@@ -21,7 +21,7 @@ Vcs-Git:
https://salsa.debian.org/xorg-team/vulkan/vulkan-validationlayers.git
Vcs-Browser: https://salsa.debian.org/xorg-team/vulkan/vulkan-validationlayers
Package: vulkan-validationlayers
-Architecture: linux-any
+Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Breaks: vulkan-loader,
libvulkan1 (<< 1.1.82.0),
=====================================
debian/rules
=====================================
@@ -4,6 +4,10 @@
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
+ifneq (linux,$(DEB_HOST_ARCH_OS))
+EXTRA_CMAKE_ARGS += -DBUILD_WSI_WAYLAND_SUPPORT=OFF
+endif
+
%:
dh $@ --builddirectory=build/
@@ -17,7 +21,8 @@ override_dh_auto_configure:
-DGLSLANG_INSTALL_DIR=/usr/bin \
-DSPIRV_HEADERS_INCLUDE_DIR=/usr/include \
-DUSE_ROBIN_HOOD_HASHING=OFF \
- -DVulkanRegistry_DIR=/usr/share/vulkan/registry
+ -DVulkanRegistry_DIR=/usr/share/vulkan/registry \
+ $(EXTRA_CMAKE_ARGS)
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
View it on GitLab:
https://salsa.debian.org/xorg-team/vulkan/vulkan-validationlayers/-/commit/57d92d8686072a5af28efff75a55908f998ec473
--
View it on GitLab:
https://salsa.debian.org/xorg-team/vulkan/vulkan-validationlayers/-/commit/57d92d8686072a5af28efff75a55908f998ec473
You're receiving this email because of your account on salsa.debian.org.