summaryrefslogtreecommitdiff
path: root/audio/alsa-tools/alsa-tools.SlackBuild
diff options
context:
space:
mode:
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.