1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# phoc prints warnings as there's no dmabuf support so skip the tests
SKIP_TESTS_ARCHES=ppc64el riscv64
%:
dh $@ --builddirectory=_build
override_dh_auto_configure:
dh_auto_configure -- $(MESON_OPTS)
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
ifneq (,$(filter $(DEB_HOST_ARCH), $(SKIP_TESTS_ARCHES)))
override_dh_auto_test:
else
override_dh_auto_test:
XDG_RUNTIME_DIR=. HOME=. xvfb-run -s -noreset -a dbus-run-session dh_auto_test
endif
|