summaryrefslogtreecommitdiff
path: root/source/l/alsa-lib
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-11-17 22:07:53 +0000
committerEric Hameleers <alien@slackware.com>2019-11-18 08:59:48 +0100
commit8a57cac1b7b766e492bdce5af37fed3386e3bc1a (patch)
tree2f278ebcf673e620a54b69169440bc035256a6ac /source/l/alsa-lib
parenta8edf862caf8a3d09bc742a80d8c217ee8ab2da6 (diff)
downloadcurrent-8a57cac1b7b766e492bdce5af37fed3386e3bc1a.tar.gz
Sun Nov 17 22:07:53 UTC 201920191117220753
ap/qpdf-9.1.0-x86_64-1.txz: Upgraded. d/check-0.13.0-x86_64-1.txz: Added. This is needed to build PulseAudio using Meson. l/alsa-lib-1.2.1-x86_64-2.txz: Rebuilt. Merge alsa-topology-conf-1.2.1 and alsa-ucm-conf-1.2.1 into the package. l/pulseaudio-13.0-x86_64-2.txz: Rebuilt. Rebuilt with meson. This causes esound support to be dropped, but it's likely that nobody will care. l/pyparsing-2.4.5-x86_64-1.txz: Upgraded. extra/pure-alsa-system/alsa-lib-1.2.1-x86_64-2_alsa.txz: Rebuilt. Merge alsa-topology-conf-1.2.1 and alsa-ucm-conf-1.2.1 into the package.
Diffstat (limited to 'source/l/alsa-lib')
-rwxr-xr-xsource/l/alsa-lib/alsa-lib.SlackBuild16
1 files changed, 15 insertions, 1 deletions
diff --git a/source/l/alsa-lib/alsa-lib.SlackBuild b/source/l/alsa-lib/alsa-lib.SlackBuild
index c2de7e29..436070ed 100755
--- a/source/l/alsa-lib/alsa-lib.SlackBuild
+++ b/source/l/alsa-lib/alsa-lib.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=alsa-lib
VERSION=${VERSION:-$(echo alsa-lib-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -81,6 +81,15 @@ if [ ! -r src/conf/smixer.conf ]; then
cp -a $CWD/smixer.conf src/conf
fi
+# Untar the configuration files. We'll install them later.
+( mkdir ucm-and-topology-configs
+ cd ucm-and-topology-configs
+ for file in $CWD/alsa-*conf*tar* ; do
+ tar xvf $file
+ mv README.md README-$(echo $(basename $file) | cut -f 1-3 -d -)
+ done
+)
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -93,6 +102,8 @@ CFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-mixer-modules \
--enable-mixer-pymods \
+ --enable-topology \
+ --enable-ucm \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || exit 1
@@ -115,6 +126,9 @@ fi
chmod 644 $PKG/etc/asound.conf.new
chown root:root $PKG/etc/asound.conf.new
+# Install ucm and topology configs:
+( cd ucm-and-topology-configs ; tar cf - . ) | ( cd $PKG/usr/share/alsa ; tar xf -)
+
# TODO?
# ( cd src/pcm/ext
# make jack