[neon/qt6/qt6-webengine/Neon/unstable] debian: use nvm to supply nodejs and thus npm in the deps

Carlos De Maine null at kde.org
Mon Sep 4 11:51:39 BST 2023


Git commit 643a2a9ed40fd57fa5de69bc07f25d918a7081b7 by Carlos De Maine.
Committed on 04/09/2023 at 11:30.
Pushed by carlosdem into branch 'Neon/unstable'.

use nvm to supply nodejs and thus npm in the deps

M  +5    -5    debian/control
M  +6    -0    debian/rules

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

diff --git a/debian/control b/debian/control
index 0a6ae96..5a3b643 100644
--- a/debian/control
+++ b/debian/control
@@ -71,10 +71,10 @@ Build-Depends: binutils (>= 2.32-8~),
                libxtst-dev,
                mesa-common-dev,
                ninja-build,
-               node-pako,
-               node-rollup-plugin-terser,
-               node-yargs,
-               nodejs,
+#               node-pako,
+#               node-rollup-plugin-terser,
+#               node-yargs,
+#               nodejs,
                pkg-config,
                pkg-kde-tools,
                protobuf-compiler,
@@ -88,7 +88,7 @@ Build-Depends: binutils (>= 2.32-8~),
                qt6-webchannel-dev (>= 6.4.2~),
                qt6-websockets-dev (>= 6.4.2~),
                re2c,
-               rollup,
+#               rollup,
                ruby,
                xauth <!nocheck>,
                xvfb <!nocheck>
diff --git a/debian/rules b/debian/rules
index d4f54da..54dfb20 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,12 @@ override_dh_auto_clean:
 		rm -f $(CURDIR)/$${fname}; \
 	done
 
+	# install needed nodejs deps with npm
+	npm install rollup
+	npm install pako
+	npm install rollup-plugin-terser
+	npm install yargs
+
 # Turn on system FFmpeg libraries for 6.3
 override_dh_auto_configure:
 	dh_auto_configure -- \



More information about the Neon-commits mailing list