aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2024-07-05 16:44:51 +0200
committerRobert Tari <robert@tari.in>2024-07-05 16:44:51 +0200
commit6357866d6e7d479aa1a020af8f3ad11f89fcce3c (patch)
tree0105c19dd9b9c8612974b238a45cace93724665e /debian
parenta7045072c3fa5e4a76853b29c3549a3d576e2bab (diff)
downloadayatana-indicator-keyboard-6357866d6e7d479aa1a020af8f3ad11f89fcce3c.tar.gz
ayatana-indicator-keyboard-6357866d6e7d479aa1a020af8f3ad11f89fcce3c.tar.bz2
ayatana-indicator-keyboard-6357866d6e7d479aa1a020af8f3ad11f89fcce3c.zip
debian/rules: Build with ENABLE_UBUNTU_ACCOUNTSSERVICE on Ubuntu and derivatives
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 18fd0e0f..56c3a7a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
-DEB_CMAKE_EXTRA_FLAGS = $(NULL)
+ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
+ DEB_CMAKE_EXTRA_FLAGS = "-DENABLE_UBUNTU_ACCOUNTSSERVICE=ON"
+endif
%:
dh $@ --with systemd