[neon/kde/akonadi/Neon/unstable] debian: reinstate extra rules
Carlos De Maine
null at kde.org
Sun Sep 24 03:36:26 BST 2023
Git commit 4b3fc8f46af367f6275a7c1aadb23ea683f280d4 by Carlos De Maine.
Committed on 24/09/2023 at 04:36.
Pushed by carlosdem into branch 'Neon/unstable'.
reinstate extra rules
M +21 -0 debian/rules
https://invent.kde.org/neon/kde/akonadi/-/commit/4b3fc8f46af367f6275a7c1aadb23ea683f280d4
diff --git a/debian/rules b/debian/rules
index 3d69b0d..d0f7d5e 100644
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,24 @@
%:
dh $@ --with kf6 --buildsystem kf6
+
+ override_dh_shlibdeps:
+ dh_shlibdeps -l$(CURDIR)/debian/$(shell dh_listpackages | head -n1)/usr/kf6/lib/$(DEB_HOST_MULTIARCH)/
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DMYSQLD_EXECUTABLE:STRING=/usr/sbin/mysqld-akonadi \
+ -DBUILD_TESTING=OFF -DBUILD_TOOLS=ON \
+ -D_testrunner=/usr/bin/akonaditest
+
+override_dh_installinit:
+ dh_installinit
+ dh_apparmor -pakonadi-backend-mysql --profile-name=mysqld_akonadi
+
+override_dh_installdocs:
+ dh_installdocs
+
+override_dh_makeshlibs:
+ dh_makeshlibs -V -- -c0
+
+override_dh_auto_test:
+ # Avoid tests extra build dependencies, check them with autopkgtests
More information about the Neon-commits
mailing list