diff options
author | B. Watson <yalhcru@gmail.com> | 2014-08-24 19:04:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-30 14:19:18 +0700 |
commit | 6fd08c7f409db08cc629e3d4e8479432ecb3d82c (patch) | |
tree | 7f52487f3b5cf976fe6f2532aae197b8e6fbf4a2 /audio/alsa-tools/alsa-tools.SlackBuild | |
parent | d9c0c11c9a25b6ed27fd9b324cb0a005a04ba4e9 (diff) |
audio/alsa-tools: Updated for version 1.0.28.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0c53b7832a84..914c63235210 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,$,;,' \ |