diff --git a/debian/control b/debian/control index 7a821887a..5bb4275a0 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: contrib/games Priority: optional Maintainer: Jeff Teunissen Standards-Version: 3.1.1 -Build-Depends: automake, autoconf, libtool, bison, flex, debhelper, libsdl1.2-dev, zlib1g-dev, libncurses5-dev, svgalibg1-dev +Build-Depends: automake, autoconf, libtool, bison, flex, debhelper, libsdl1.2-dev, zlib1g-dev, libncurses5-dev, svgalibg1-dev, xlibs-dev (>= 4) Package: quakeforge Architecture: any diff --git a/debian/quakeforge-common.postinst b/debian/quakeforge-common.postinst index df802ec95..4e703af9d 100644 --- a/debian/quakeforge-common.postinst +++ b/debian/quakeforge-common.postinst @@ -1,5 +1,8 @@ #!/bin/sh -e +update-alternatives --install /usr/lib/quakeforge/libsnd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/libsnd_output_disk.so 10 +update-alternatives --install /usr/lib/quakeforge/libsnd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/libsnd_output_null.so 20 + if [ "$1" = "configure" ]; then ldconfig fi