# Forked from Alpine aports, latest alsa-* breaks audio on devices pkgname=alsa-lib pkgver=9999 _pkgver=1.2.5.1 pkgrel=0 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 remove-test.patch fix-PATH_MAX-on-ppc64le.patch " builddir="$srcdir/$pkgname-$_pkgver" 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 } sha512sums=" 01998ffa449e925ff552c13aea47f9540903afdc533086067c78dcaba4d239c347180d3d28bb0000e6d19b7779c7249fcc77a30057930ca22d18ba55e163fa1c alsa-lib-1.2.5.1.tar.bz2 e15318431fe2d5bd1e42ef793f223e3e5995890d7befe6daa3d7456ccf5cb2f51eb79171539cecae13032a9b8a798ea35e04c89b27c7ef9567e2c03fb8db4512 remove-test.patch f980d153c2f179e2f8fd90180d19250e5a5e12388f31d86a233d89be72ae7e96b944a8f435f0a11c6140378ac38eaa937175e1c100395ec4f635a9a6a4b1ae25 fix-PATH_MAX-on-ppc64le.patch "