[neon/kde/drkonqi/Neon/unstable_focal] debian: enable sentry on unstable builds

Harald Sitter null at kde.org
Mon Jul 4 08:11:18 BST 2022


Git commit 437845937c6f205c05bd2658091579f2c4e90dd3 by Harald Sitter.
Committed on 04/07/2022 at 07:11.
Pushed by sitter into branch 'Neon/unstable_focal'.

enable sentry on unstable builds

they are kinda like git builds

M  +7    -1    debian/rules

https://invent.kde.org/neon/kde/drkonqi/commit/437845937c6f205c05bd2658091579f2c4e90dd3

diff --git a/debian/rules b/debian/rules
index fc7f6dc..8cf3476 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,17 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 SYSTEMD_DIR=/usr/lib/systemd
 SYSTEMD_COREDUMP_WANTS=debian/drkonqi/$(SYSTEMD_DIR)/system/systemd-coredump at .service.wants/
 
+CMAKE_ARGS = ""
+# Neon build type: unstable
+ifeq ($(TYPE),unstable)
+  CMAKE_ARGS += -DWITH_SENTRY=ON
+endif
+
 %:
 	dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp
 
 override_dh_auto_configure:
-	dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF
+	dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF ${CMAKE_ARGS}
 
 override_dh_auto_test:
 


More information about the Neon-commits mailing list