| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | include /usr/share/dpkg/architecture.mk |
| 5 | |
| 6 | # Disable fixfilepath, as it triggers build failures. |
| 7 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=-fixfilepath |
| 8 | |
| 9 | ifeq ($(DEB_HOST_ARCH_CPU),i386) |
| 10 | export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store -fexcess-precision=fast |
| 11 | endif |
| 12 | |
| 13 | #ifeq ($(DEB_HOST_ARCH_BITS),32) |
| 14 | fail_param := || true |
| 15 | #endif |
| 16 | |
| 17 | %: |
| 18 | dh $@ |
| 19 | |
| 20 | override_dh_auto_configure: |
| 21 | dh_auto_configure -- -DKIMAGEFORMATS_HEIF=ON |
| 22 | |
| 23 | override_dh_auto_test: |
| 24 | xvfb-run -a dh_auto_test $(fail_param) |