1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
ifneq ($(DEB_HOST_ARCH_OS),linux)
cmake_extra_args += -DWANT_ALSA=OFF
endif
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-undefined -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --parallel --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- \
-DUSE_SYSTEM_SLV2_LIBRARY=ON \
-DWANT_MP3_ENCODE=ON \
$(cmake_extra_args)
override_dh_install:
dh_install debian/*.desktop usr/share/applications/
|