summaryrefslogtreecommitdiff
path: root/audio/alsa-tools/alsa-tools.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-04 15:07:19 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:30 +0700
commit0f6bcdcab7a2630326f43815ea125ef7de21fcb2 (patch)
tree08aecc624dd9e4b7aa1c9fd74a854626aa95eeec /audio/alsa-tools/alsa-tools.SlackBuild
parent02bb379afec967f35287f286b0b0a6292c070ae9 (diff)
downloadslackbuilds-0f6bcdcab7a2630326f43815ea125ef7de21fcb2.tar.gz
audio/alsa-tools: Updated for version 1.2.5.
Signed-off-by: B. Watson <yalhcru@gmail.com> 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.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/alsa-tools/alsa-tools.SlackBuild b/audio/alsa-tools/alsa-tools.SlackBuild
index 1ddd494037..00054e04ab 100644
--- a/audio/alsa-tools/alsa-tools.SlackBuild
+++ b/audio/alsa-tools/alsa-tools.SlackBuild
@@ -13,6 +13,7 @@
# the firmware is being included in the package as well.
# *** I agree. --rworkman :-)
+# 20210804 bkw: update for 1.2.5 (firmware 1.2.4)
# 20200224 bkw: update for 1.2.2 (firmware 1.2.1)
# 20181204 bkw: update for 1.1.7
# 20180614 bkw: update for 1.1.6
@@ -36,12 +37,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=alsa-tools
-VERSION=${VERSION:-1.2.2}
+VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-FIRMVER=${FIRMVER:-1.2.1}
+FIRMVER=${FIRMVER:-1.2.4}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -51,9 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -129,8 +127,10 @@ 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
- # 20200224 bkw: brokenness in 1.2.2.
- sed -i 's,__u\(32\|64\),uint\1_t,g' hdspmixer/src/HDSPMixerWindow.cxx
+ # 20200224 bkw: brokenness in 1.2.2, fixed in 1.2.5.
+ if [ "$VERSION" = "1.2.2" ]; then
+ sed -i 's,__u\(32\|64\),uint\1_t,g' hdspmixer/src/HDSPMixerWindow.cxx
+ fi
else
rm -rf hdspconf hdspmixer
fi