File: rules

package info (click to toggle)
fcitx5 5.1.12-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 16,588 kB
  • sloc: cpp: 70,012; sh: 1,744; xml: 1,545; python: 1,039; ansic: 71; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

config-opt := -DUSE_FLATPAK_ICON=OFF -DENABLE_XDGAUTOSTART=OFF

ifneq (linux,$(DEB_HOST_ARCH_OS))
config-opt += -DUSE_SYSTEMD=OFF -DENABLE_WAYLAND=OFF
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(config-opt)

override_dh_auto_test:
	# DBus-related tests can't run in parallel
	dh_auto_test --no-parallel