X-Git-Url: http://git.johnwright.org/?p=fmit.git;a=blobdiff_plain;f=debian%2Frules;h=7a2162ad4f0514ab228f678a3f67c7abd46719dc;hp=c7ce4585cf677f42e45c0830ca883a1622bb9a06;hb=3f5f7158bffa2b79476108b70ce5a90fdbf5a5f1;hpb=49947d1cd4506f5574b3be62ee90e9f00227d9fd diff --git a/debian/rules b/debian/rules index c7ce458..7a2162a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,17 +1,17 @@ #!/usr/bin/make -f # Disable Alsa on non-Linux architectures -ifneq (,$(findstring $(DEB_HOST_ARCH_OS), kfreebsd hurd)) - DEB_CONFIGURE_ALSA = --disable-alsa +ifneq (linux,$(DEB_HOST_ARCH_OS)) + DEB_CONFIGURE_ALSA = -DSOUNDSYSTEM_USE_ALSA=OFF else - DEB_CONFIGURE_ALSA = --enable-alsa + DEB_CONFIGURE_ALSA = -DSOUNDSYSTEM_USE_ALSA=ON endif %: dh $@ override_dh_auto_configure: - dh_auto_configure -- --with-Qt-dir=/usr/share/qt3 $(DEB_CONFIGURE_ALSA) + dh_auto_configure -- $(DEB_CONFIGURE_ALSA) override_dh_auto_build: # This file gets regenerated. Make sure we can end up with the