Upgraded ALSA-lib from 1.2.6.1 to 1.2.8

This commit is contained in:
dslm4515
2023-03-26 18:48:13 -05:00
parent 0b908cf233
commit 78e3a1b83b

View File

@ -1,7 +1,7 @@
#! /bin/bash
# ALSA Library
# Source: https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.6.1.tar.bz2
# Source: https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.8.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
@ -17,9 +17,6 @@ export CFLAGS+="-O3 -falign-functions=32 -fno-lto "
export CFLAGS+="-fno-math-errno -fno-semantic-interposition -fno-trapping-math "
#export LDFLAGS="-flto=4 -Wl,-O2 -Wl,--as-needed "
patch -Np1 -i ../patches/alsa-lib-alpine/fix-dlo.patch &&
patch -Np1 -i ../patches/alsa-lib-alpine/remove-test.patch &&
./configure --prefix=/usr \
--disable-python \
--disable-static \
@ -54,5 +51,5 @@ alsa-lib:
alsa-lib:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/alsa-lib-1.2.6.1-$(uname -m)-mlfs.txz &&
sudo -S makepkg -l y -c n $PKGS/alsa-lib-1.2.8-$PSUFFIX &&
sudo -S rm -rf ${BUILD}/*