From c4d56a85860f3f3680404086b9c8bc7837f43bbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig=20=28Debian/GNU=29?= Date: Tue, 5 Sep 2023 21:43:43 +0200 Subject: [PATCH] Skip building of virtual studio on platforms that do not support qt6-webengine --- debian/control | 2 +- debian/rules | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 705b5d4..cc9184c 100644 --- a/debian/control +++ b/debian/control @@ -18,7 +18,7 @@ Build-Depends: qt6-declarative-dev, qt6-networkauth-dev, qt6-svg-dev, - qt6-webengine-dev, + qt6-webengine-dev [amd64 arm64 armhf i386], qt6-websockets-dev, # qtquickcontrols2-6-dev, Standards-Version: 4.6.2 diff --git a/debian/rules b/debian/rules index a484103..4292c8f 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,11 @@ CONFIG = -Djack=enabled -Dqtversion=6 CONFIG_cli = -Dnogui=true -Drtaudio=disabled CONFIG_gui = -Dnogui=false -Drtaudio=enabled +ifeq ($(strip $(filter $(DEB_HOST_ARCH), amd64 arm64 armhf i386)),) +CONFIG += -Dnovs=true +endif + + builddir=debian/build/flavor- -- 2.30.2