# Maintainer: Natanael Copa pkgname=alsa-lib pkgver=1.2.9 pkgrel=4 pkgdesc="Advanced Linux Sound Architecture (ALSA) library" url="https://alsa-project.org/" arch="all" license="LGPL-2.1-or-later" subpackages="$pkgname-dbg $pkgname-dev" makedepends="linux-headers" source="https://alsa-project.org/files/pub/lib/alsa-lib-$pkgver.tar.bz2 $pkgname-divzero-fix.patch::https://github.com/alsa-project/alsa-lib/commit/3661bdae35961e4a4dd67a60682550e30b878207.diff remove-test.patch fix-PATH_MAX-on-ppc64le.patch " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-python \ --disable-static \ --disable-resmgr \ --enable-rawmidi \ --enable-seq \ --enable-aload \ --disable-dependency-tracking \ --without-versioned make } check() { make check } package() { make -j1 DESTDIR="$pkgdir" install install -d -m755 "$pkgdir"/etc/alsa/conf.d } sha512sums=" 8f39c8166c3648d46695a9287d9b9a35e5bfffed11d79e868ff7aba92d0fee792e82784186ebeb2a3e44d6b617c916025c7fce9a802565bb8e0dc8fdcce2311a alsa-lib-1.2.9.tar.bz2 93fc528a40c95aad390a2e29f0db29f0f57f8cc7e77add506fb00ebf7d3ee412d6fedac997c84f632c4147859c1623d5bbd149811981b2704e08b5fc4d79900d alsa-lib-divzero-fix.patch e15318431fe2d5bd1e42ef793f223e3e5995890d7befe6daa3d7456ccf5cb2f51eb79171539cecae13032a9b8a798ea35e04c89b27c7ef9567e2c03fb8db4512 remove-test.patch f980d153c2f179e2f8fd90180d19250e5a5e12388f31d86a233d89be72ae7e96b944a8f435f0a11c6140378ac38eaa937175e1c100395ec4f635a9a6a4b1ae25 fix-PATH_MAX-on-ppc64le.patch "