File: rules

package info (click to toggle)
fcitx5 5.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,196 kB
  • sloc: cpp: 55,280; sh: 1,769; python: 844; xml: 487; ansic: 64; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download
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=ON -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