| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 5 |
|
| 6 |
# Skip tests on s390x. The QML unittests crash with floating point exception. |
| 7 |
# Pretty sure that is not a problem of lomiri-media-player app. For all other |
| 8 |
# architectures in Debian, lomiri-mediaplayer-app builds successfully. |
| 9 |
testskip_architectures := s390x |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ |
| 13 |
|
| 14 |
override_dh_auto_configure: |
| 15 |
dh_auto_configure -- -DADD_MPRIS=ON \ |
| 16 |
$(NULL) |
| 17 |
|
| 18 |
execute_after_dh_install: |
| 19 |
rm debian/lomiri-mediaplayer-app/usr/share/lomiri-mediaplayer-app/qml/CMakeLists.txt |
| 20 |
|
| 21 |
override_dh_auto_test: |
| 22 |
ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(testskip_architectures))) |
| 23 |
dh_auto_test |
| 24 |
else |
| 25 |
-dh_auto_test |
| 26 |
endif |
| 27 |
|
| 28 |
get-orig-source: |
| 29 |
uscan --noconf --force-download --rename --download-current-version --destdir=.. |