Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/architecture.mk
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6 export QT_SELECT := 5
7
8 ifneq (linux,$(DEB_HOST_ARCH_OS))
9 config-opt += -DENABLE_QT6_WAYLAND_WORKAROUND=OFF
10 endif
11
12 %:
13 dh $@
14
15 override_dh_auto_configure:
16 dh_auto_configure -- \
17 -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
18 -DENABLE_QT4=Off \
19 -DENABLE_QT6=On \
20 $(config-opt)