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

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


Git commit 69ff8edf79d958c466e8f059d7e39c61a01c80a2 by Harald Sitter.
Committed on 04/07/2022 at 07:10.
Pushed by sitter into branch 'Neon/unstable'.

enable sentry on unstable builds

they are kinda like git builds

M  +7    -1    debian/rules

https://invent.kde.org/neon/kde/drkonqi/commit/69ff8edf79d958c466e8f059d7e39c61a01c80a2

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