| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=meson |
| 7 | |
| 8 | # Ignore test results on s390x and most ports where tests fail |
| 9 | override_dh_auto_test: |
| 10 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 11 | ifneq (,$(filter s390x alpha hppa hurd-i386 ia64 kfreebsd-amd64 kfreebsd-i386 loong64 riscv64 sparc64 x32,$(DEB_HOST_ARCH))) |
| 12 | -xvfb-run -a dh_auto_test |
| 13 | else |
| 14 | xvfb-run -a dh_auto_test |
| 15 | endif |
| 16 | endif |
| 17 | |
| 18 | # No symbols for udebs, specify the highest version from symbols file: |
| 19 | override_dh_makeshlibs: |
| 20 | dh_makeshlibs -plibepoxy0 -V'libepoxy0 (>= 1.5.4)' --add-udeb=libepoxy0-udeb |