summaryrefslogtreecommitdiff
path: root/audio/alsa-tools/alsa-tools.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-02-24 19:13:46 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-29 07:45:14 +0700
commit9a5ec2b84dfc55d5e8b754a85cf68b2d5073deb2 (patch)
tree9dfdaa74d9fc5dc76b87f639e47d454a59515c48 /audio/alsa-tools/alsa-tools.SlackBuild
parent5c9b81d4575d170ced0d1408298be275a7a56e24 (diff)
downloadslackbuilds-9a5ec2b84dfc55d5e8b754a85cf68b2d5073deb2.tar.gz
audio/alsa-tools: Updated for version 1.2.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/alsa-tools/alsa-tools.SlackBuild')
-rw-r--r--audio/alsa-tools/alsa-tools.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/audio/alsa-tools/alsa-tools.SlackBuild b/audio/alsa-tools/alsa-tools.SlackBuild
index 4f29bff88d..9061f8c171 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 :-)
+# 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
# 20171214 bkw: update for 1.1.5
@@ -33,11 +34,11 @@
# 20140219 bkw: fix .desktop files so they validate
PRGNAM=alsa-tools
-VERSION=${VERSION:-1.1.7}
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-FIRMVER=${FIRMVER:-1.0.29}
+FIRMVER=${FIRMVER:-1.2.1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -117,7 +118,12 @@ fi
# hdspconf and hdspmixer depend on fltk. Don't build them if disabled or
# not installed.
-[ -e /usr/bin/fltk-config -a "${FLTK:-yes}" = "yes" ] || rm -rf hdspconf hdspmixer
+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
+else
+ rm -rf hdspconf hdspmixer
+fi
# 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.