#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all # The NQPTP shared memory interface (SMI) version this build of shairport-sync # expects. nqptp provides the virtual package nqptp-smi (= N); the Breaks in # debian/control ensure only a matching nqptp can be co-installed. SMI_VERSION := $(shell sed -n 's/^\#define NQPTP_SHM_STRUCTURES_VERSION[[:space:]]*//p' nqptp-shm-structures.h) ifeq ($(SMI_VERSION),) $(error Could not determine NQPTP_SHM_STRUCTURES_VERSION from nqptp-shm-structures.h) endif %: dh $@ execute_after_dh_auto_clean: rm -f man/shairport-sync.1 man/shairport-sync.html override_dh_auto_configure: dh_auto_configure -- \ --with-pkg-config \ --with-dummy \ --with-stdout \ --with-pipe \ --without-configfiles \ --with-piddir=/run/shairport-sync \ --with-libdaemon \ --with-ssl=openssl \ --with-soxr \ --with-metadata \ --with-metadata-pipe \ --with-metadata-multicast \ --with-avahi \ --with-alsa \ --with-pulseaudio \ --with-pipewire \ --with-convolution \ --with-dbus-interface \ --with-mpris-interface \ --with-mqtt-client \ --with-airplay-2 \ --with-ffmpeg override_dh_gencontrol: dh_gencontrol -- -Vnqptp:smi=$(SMI_VERSION) override_dh_installchangelogs: dh_installchangelogs --keep RELEASENOTES.md override_dh_installsystemduser: dh_installsystemduser --no-enable