3 # Disable Alsa on non-Linux architectures
4 ifneq (linux,$(DEB_HOST_ARCH_OS))
5 DEB_CONFIGURE_ALSA = -DSOUNDSYSTEM_USE_ALSA=OFF
7 DEB_CONFIGURE_ALSA = -DSOUNDSYSTEM_USE_ALSA=ON
13 override_dh_auto_configure:
14 dh_auto_configure -- $(DEB_CONFIGURE_ALSA)
16 override_dh_auto_build:
17 # This file gets regenerated. Make sure we can end up with the
18 # original copy of it in place after the clean target.
19 [ -f tr/fmit_fr.ts.orig ] || cp tr/fmit_fr.ts tr/fmit_fr.ts.orig
22 override_dh_auto_clean:
24 # Restore the original version of the regenerated .ts file
25 [ -f tr/fmit_fr.ts.orig ] && mv tr/fmit_fr.ts{.orig,} || true