[neon/qt6/qt6-webengine/Neon/release] debian: and resurrect the mega bash shell abuse to allow

Carlos De Maine null at kde.org
Thu May 21 11:22:49 BST 2026


Git commit ece8e131634eba87c9eb217dd2eec3cb9c9dc92f by Carlos De Maine.
Committed on 21/05/2026 at 10:22.
Pushed by carlosdem into branch 'Neon/release'.

and resurrect the mega bash shell abuse to allow

debhelper to play with our nvm provided nodejs 20.20.2 !!

M  +1    -1    debian/control
M  +4    -2    debian/rules

https://invent.kde.org/neon/qt6/qt6-webengine/-/commit/ece8e131634eba87c9eb217dd2eec3cb9c9dc92f

diff --git a/debian/control b/debian/control
index e8a6d32..77917b8 100644
--- a/debian/control
+++ b/debian/control
@@ -101,7 +101,7 @@ Build-Depends: binutils (>= 2.32-8~),
                qt6-webchannel-dev (>= 6.11.1~),
                qt6-websockets-dev (>= 6.11.1~),
                re2c,
-               rollup,
+#               rollup,
                ruby,
                xauth <!nocheck>,
                xvfb <!nocheck>,
diff --git a/debian/rules b/debian/rules
index 621304a..66ed19a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,6 +60,9 @@ override_dh_auto_configure:
 		touch $(CURDIR)/$${fname}; \
 	done
 
+	bash -c "source ~/.nvm/nvm.sh && npm install pako && npm install rollup-plugin-terser && npm install yargs"
+	ln -s ~/.nvm/versions/node/v20.20.0/ ./src/3rdparty/chromium/third_party/node/node_modules
+	bash -c "source ~/.nvm/nvm.sh && \
 	dh_auto_configure -- \
 		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
 		-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
@@ -85,8 +88,7 @@ override_dh_auto_configure:
 		-DFEATURE_webengine_system_zlib=ON \
 		-DFEATURE_webengine_webrtc=ON \
 		-DFEATURE_webengine_webrtc_pipewire=ON \
-		-DQT_UNITY_BUILD=ON
-
+		-DQT_UNITY_BUILD=ON"
 
 override_dh_auto_build:
 	dh_auto_build


More information about the Neon-commits mailing list