1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#!/usr/bin/make -f
# -*- makefile -*-
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# hide system's DBus interfaces from this build...
undefine DBUS_SESSION_BUS_ADDRESS
undefine DBUS_SYSTEM_BUS_ADDRESS
%:
dh $@
override_dh_auto_configure:
dh_auto_configure --builddirectory=build-qt6 --buildsystem=cmake -- \
-DENABLE_QT6=ON ..
dh_auto_configure --builddirectory=build-qt5 --buildsystem=cmake -- ..
override_dh_auto_build:
dh_auto_build --builddirectory=build-qt6 --buildsystem=cmake ..
dh_auto_build --builddirectory=build-qt5 --buildsystem=cmake ..
override_dh_auto_test:
dh_auto_test --builddirectory=build-qt6 --buildsystem=cmake ..
dh_auto_test --builddirectory=build-qt5 --buildsystem=cmake ..
override_dh_auto_install:
dh_auto_install --builddirectory=build-qt6 --buildsystem=cmake ..
dh_auto_install --builddirectory=build-qt5 --buildsystem=cmake ..
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_clean:
dh_auto_clean --builddirectory=build-qt6 --buildsystem=cmake ..
dh_auto_clean --builddirectory=build-qt5 --buildsystem=cmake ..
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
|