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>
This commit is contained in:
B. Watson 2021-08-04 15:07:19 -04:00 committed by Willy Sudiarto Raharjo
parent 02bb379afe
commit 0f6bcdcab7
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -1,10 +1,10 @@
PRGNAM="alsa-tools"
VERSION="1.2.2"
VERSION="1.2.5"
HOMEPAGE="http://www.alsa-project.org/"
DOWNLOAD="ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.2.2.tar.bz2 \
ftp://ftp.alsa-project.org/pub/firmware/alsa-firmware-1.2.1.tar.bz2"
MD5SUM="4e6187d2c3a8c73a9d75d66a72faed27 \
f8458efd25e6d6600dbc7aedf98f83a3"
DOWNLOAD="http://www.alsa-project.org/files/pub/tools/alsa-tools-1.2.5.tar.bz2 \
http://www.alsa-project.org/files/pub/firmware/alsa-firmware-1.2.4.tar.bz2"
MD5SUM="ce632a6c89ed47ee74ba415276a6a3cc \
ee6c1d24a1a4ac1d86992b408ed710a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""