| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
# Uncomment this to turn on verbose mode. |
| 4 |
# export DH_VERBOSE=1 |
| 5 |
|
| 6 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 7 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 8 |
|
| 9 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 10 |
# package maintainers to append CFLAGS |
| 11 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 12 |
# package maintainers to append LDFLAGS |
| 13 |
export DEB_LDFLAGS_MAINT_APPEND = |
| 14 |
|
| 15 |
# Disable Alsa on non-Linux architectures |
| 16 |
ifneq (linux,$(DEB_HOST_ARCH_OS)) |
| 17 |
DEB_CONFIGURE_FLAGS = "CONFIG+=acs_jack acs_portaudio" |
| 18 |
else |
| 19 |
DEB_CONFIGURE_FLAGS = "CONFIG+=acs_alsa acs_jack acs_portaudio" |
| 20 |
endif |
| 21 |
|
| 22 |
%: |
| 23 |
dh $@ --buildsystem=qmake6 |
| 24 |
|
| 25 |
override_dh_auto_configure: |
| 26 |
dh_auto_configure -- $(DEB_CONFIGURE_FLAGS) |
| 27 |
# also build translation .qm files |
| 28 |
$(MAKE) lrelease |