diff options
Diffstat (limited to 'audio/alsa-tools/alsa-tools.SlackBuild')
-rw-r--r-- | audio/alsa-tools/alsa-tools.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/audio/alsa-tools/alsa-tools.SlackBuild b/audio/alsa-tools/alsa-tools.SlackBuild index 0c53b7832a..914c632352 100644 --- a/audio/alsa-tools/alsa-tools.SlackBuild +++ b/audio/alsa-tools/alsa-tools.SlackBuild @@ -15,9 +15,13 @@ # 20140219 bkw: fix .desktop files so they validate +# 20140823 bkw: +# - Update for 1.0.28 +# - Add usbcore.autosuspend=-1 to tascam howto + PRGNAM=alsa-tools -VERSION=${VERSION:-1.0.27} -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.0.28} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -50,7 +54,7 @@ fi set -e FIRMWARE=alsa-firmware -FIRMVER=1.0.27 +FIRMVER=${FIRMVER:-$VERSION} rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -91,11 +95,7 @@ fi # hdspconf and hdspmixer depend on fltk. Don't build them if disabled or # not installed. -if [ -e /usr/bin/fltk-config -a "${FLTK:-yes}" = "yes" ]; then - : do nothing -else - rm -rf hdspconf hdspmixer -fi +[ -e /usr/bin/fltk-config -a "${FLTK:-yes}" = "yes" ] || rm -rf hdspconf hdspmixer # one loop to build them all. The -include stddef.h fixes qlo10k1 'ptrdiff_t doesn't # name a type' errors, and doesn't hurt anything else. @@ -152,6 +152,7 @@ make install-strip DESTDIR=$PKG # hdspmixer.desktop and hdspconf.desktop fail desktop-file-validate. # We'll leave the deprecation warning for FilePattern, as it's just a # warning, and FilePattern might still be useful. +[ -e $PKG/usr/share/applications/hdspmixer.desktop ] && sed -i \ -e '/^Encoding/d' \ -e '/^FilePattern/s,$,;,' \ |