#!/usr/bin/make -f # Support manual invocation of debian/rules include /usr/share/dpkg/architecture.mk # Disable ZRTP support for now (see: #797554) CONFIGURE_FLAGS = -DWITH_QT5=ON -DWITH_ZRTP=OFF -DWITH_SPEEX=ON -DWITH_GSM=ON # Enable ALSA support on Linux only ifeq ($(DEB_HOST_ARCH_OS),linux) CONFIGURE_FLAGS += -DWITH_ALSA=ON else CONFIGURE_FLAGS += -DWITH_ALSA=OFF endif # Avoid useless library dependencies export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed # Enable hardening build flags export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_FLAGS) override_dh_installchangelogs: dh_installchangelogs NEWS get-orig-source: uscan --noconf --verbose --rename --repack --compression xz --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-current-version