[Pkg-xfce-commits] [Git][xfce-team/goodies/xfce4-whiskermenu-plugin][debian/master] Make it possible to build again on non-Linux platforms:

Yves-Alexis Perez (@corsac) gitlab at salsa.debian.org
Wed Dec 31 15:14:34 GMT 2025



Yves-Alexis Perez pushed to branch debian/master at xfce / goodies / xfce4-whiskermenu-plugin


Commits:
fd516649 by Pino Toscano at 2025-12-31T09:09:25+01:00
Make it possible to build again on non-Linux platforms:

- limit the libgtk-layer-shell-dev build dependency as linux-any
- explicitly enable the layer shell support on Linux, and explicitly
  disable it on non-Linux platforms

Gbp-Dch: Full

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -9,7 +9,7 @@ Build-Depends: cmake,
                libexo-2-dev,
                libgarcon-1-dev,
                libgtk-3-dev,
-               libgtk-layer-shell-dev,
+               libgtk-layer-shell-dev [linux-any],
                libxfce4panel-2.0-dev,
                libxfce4ui-2-dev,
                libxfce4util-dev,


=====================================
debian/rules
=====================================
@@ -2,13 +2,21 @@
 
 export DEB_LDFLAGS_MAINT_APPEND=-Wl,-O1 -Wl,-z,defs
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+include /usr/share/dpkg/architecture.mk
+
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+    EXTRA_CMAKE_ARGS += -DENABLE_GTK_LAYER_SHELL=ON
+else
+    EXTRA_CMAKE_ARGS += -DENABLE_GTK_LAYER_SHELL=OFF
+endif
 
 %:
 	dh $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) \
-		-DENABLE_ACCOUNTS_SERVICE=no
+		-DENABLE_ACCOUNTS_SERVICE=no \
+		$(EXTRA_CMAKE_ARGS)
 
 override_dh_installchangelogs:
 	DEB_BUILD_OPTIONS=notrimdch dh_installchangelogs NEWS



View it on GitLab: https://salsa.debian.org/xfce-team/goodies/xfce4-whiskermenu-plugin/-/commit/fd5166495c3ddffc0e145fd86ec24382e9644fc5

-- 
View it on GitLab: https://salsa.debian.org/xfce-team/goodies/xfce4-whiskermenu-plugin/-/commit/fd5166495c3ddffc0e145fd86ec24382e9644fc5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-xfce-commits/attachments/20251231/f71e0639/attachment-0001.htm>


More information about the Pkg-xfce-commits mailing list