62bc6bb2ec
Added patch to support ALSA_PLUGIN_DIRS environment variable
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
# Forked from Alpine to support ALSA_PLUGIN_DIRS environment variable
|
|
pkgname=alsa-lib
|
|
pkgver=9999
|
|
_pkgver=1.2.1.2
|
|
pkgrel=0
|
|
pkgdesc="Advanced Linux Sound Architecture (ALSA) library"
|
|
url="http://www.alsa-project.org"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
subpackages="$pkgname-dev $pkgname-dbg"
|
|
makedepends="linux-headers"
|
|
source="ftp://ftp.alsa-project.org/pub/lib/alsa-lib-$_pkgver.tar.bz2
|
|
remove-test.patch
|
|
alsa-plugin-dirs.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="e8286fd55f63ee0d95513279d0885c287533de89b7af6c338413dec5d38ba4f5a15da1a4a4ce36e052614e4b730e3778782dab9979d82958283be17b48604913 alsa-lib-1.2.1.2.tar.bz2
|
|
e15318431fe2d5bd1e42ef793f223e3e5995890d7befe6daa3d7456ccf5cb2f51eb79171539cecae13032a9b8a798ea35e04c89b27c7ef9567e2c03fb8db4512 remove-test.patch
|
|
d7109e2c40a98b7fba321a4e4d6ce8cd8cd140ac7b2f68ef68c34aba1233de477f9d884d59e269e4c06d02a6dfcdebbe145560ddbddd3d8e90ac3df7c7d8e0e8 alsa-plugin-dirs.patch"
|