Browse Source

[multilib-testing] -> [multilib] 'lib32-alsa-lib-1.2.7.2-1' move

master
Nathan Owens 1 month ago
parent
commit
648cf6a9dc
Signed by: ndowens
GPG Key ID: DC5A6F8092641E2D
  1. 53
      lib32-alsa-lib/x86_64/multilib-testing/PKGBUILD
  2. 6
      lib32-alsa-lib/x86_64/multilib/PKGBUILD

53
lib32-alsa-lib/x86_64/multilib-testing/PKGBUILD

@ -1,53 +0,0 @@
# Maintainer: Nathan Owens <ndowens@artixlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
_name=alsa-lib
pkgname=lib32-alsa-lib
pkgver=1.2.7.2
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support (32 bit)"
arch=(x86_64)
url="https://www.alsa-project.org"
license=(LGPL2.1)
depends=(lib32-glibc "alsa-lib=$pkgver")
provides=(libasound.so libatopology.so)
options=(debug)
source=(https://www.alsa-project.org/files/pub/lib/$_name-$pkgver.tar.bz2{,.sig})
sha512sums=('79e5920384e570a1acd8ecd1eb8812879333c3cedb1d15780080afc40125b97df893c33f4163d9dd863871b628bc6026265f8ace2c8634fc1af5b52b62ac9cfe'
'SKIP')
b2sums=('9ae3d4358d802970249e1b904faa7c4d646dec1d8c93e0de9c4b70065e912b910303d77e8f9f68c97b883ec270cf0dd8b97146b4a85f3aede4f290683c462fce'
'SKIP')
validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>
prepare() {
cd $_name-$pkgver
autoreconf -fiv
}
build() {
# -flto=auto is not supported: https://github.com/alsa-project/alsa-lib/issues/110
CFLAGS+=" -flto-partition=none"
export CC='gcc -m32'
export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
cd $_name-$pkgver
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--without-debug \
--disable-python
# prevent excessive overlinking due to libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
export LD_LIBRARY_PATH="${PWD}/src/.libs/:${LD_LIBRARY_PATH}"
make -k check -C $_name-$pkgver
}
package() {
make DESTDIR="$pkgdir" install -C $_name-$pkgver
rm -r "$pkgdir"/usr/{bin,include,share}
}

6
lib32-alsa-lib/x86_64/multilib/PKGBUILD

@ -3,7 +3,7 @@
_name=alsa-lib
pkgname=lib32-alsa-lib
pkgver=1.2.7.1
pkgver=1.2.7.2
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support (32 bit)"
arch=(x86_64)
@ -13,9 +13,9 @@ depends=(lib32-glibc "alsa-lib=$pkgver")
provides=(libasound.so libatopology.so)
options=(debug)
source=(https://www.alsa-project.org/files/pub/lib/$_name-$pkgver.tar.bz2{,.sig})
sha512sums=('2a0b4205e8bf602b56a6f5007ba219799e5443827393058e439adf5b391bb6c4815a48bb994b5d108b9f31a90db0eb43a96a0d7741216e2d710dc63d372de27e'
sha512sums=('79e5920384e570a1acd8ecd1eb8812879333c3cedb1d15780080afc40125b97df893c33f4163d9dd863871b628bc6026265f8ace2c8634fc1af5b52b62ac9cfe'
'SKIP')
b2sums=('b7be12a51453a82d0eb2e57fb8f9391c8778e8c63b78b6e6f46437bca39e3efb13394ba0e060547781ccde75fcdc19da532d5aed24fe0d5cfb885c1604e4e8ce'
b2sums=('9ae3d4358d802970249e1b904faa7c4d646dec1d8c93e0de9c4b70065e912b910303d77e8f9f68c97b883ec270cf0dd8b97146b4a85f3aede4f290683c462fce'
'SKIP')
validpgpkeys=('F04DF50737AC1A884C4B3D718380596DA6E59C91') # ALSA Release Team (Package Signing Key v1) <release@alsa-project.org>

Loading…
Cancel
Save