From 6fd08c7f409db08cc629e3d4e8479432ecb3d82c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 24 Aug 2014 19:04:06 +0700 Subject: audio/alsa-tools: Updated for version 1.0.28. Signed-off-by: Willy Sudiarto Raharjo --- audio/alsa-tools/alsa-tools.SlackBuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'audio/alsa-tools/alsa-tools.SlackBuild') 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,$,;,' \ -- cgit v1.2.3