summaryrefslogtreecommitdiff
path: root/user/alsa-lib/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 20:55:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 20:55:32 -0500
commitb72a5d6c309519ab102054b32d26965d9f03b59f (patch)
treeea3756d1134f4ec350cf19a97b07a0f696e3c394 /user/alsa-lib/APKBUILD
parentf71702aa435f936571724a141a43eac9ad3e80bd (diff)
downloadpackages-b72a5d6c309519ab102054b32d26965d9f03b59f.tar.gz
packages-b72a5d6c309519ab102054b32d26965d9f03b59f.tar.bz2
packages-b72a5d6c309519ab102054b32d26965d9f03b59f.tar.xz
packages-b72a5d6c309519ab102054b32d26965d9f03b59f.zip
user/alsa-lib: pull in, bump, take, fix
Diffstat (limited to 'user/alsa-lib/APKBUILD')
-rw-r--r--user/alsa-lib/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/user/alsa-lib/APKBUILD b/user/alsa-lib/APKBUILD
new file mode 100644
index 000000000..a6cc3701e
--- /dev/null
+++ b/user/alsa-lib/APKBUILD
@@ -0,0 +1,52 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=alsa-lib
+pkgver=1.1.6
+pkgrel=0
+pkgdesc="Linux sound support system"
+url="http://www.alsa-project.org"
+arch="all"
+license="LGPL-2.0+"
+subpackages="$pkgname-dev $pkgname-dbg"
+makedepends="linux-headers"
+source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2
+ ucm_add_limits_h.patch
+ remove-test.patch
+ "
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ rm src/compat/hsearch_r.c && touch src/compat/hsearch_r.c
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./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() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="00117769a3d5c609019b975188d6e7a07d035bd0461f54c5f291e14667620506f1adb6d61350f78d54648850f31965aae3ab0e697bf9e09c988e2d15bf6b09f0 alsa-lib-1.1.6.tar.bz2
+3b37652d50809443b5f8e80f8d447108195b0cd66fd917805bb393fc091584b6f3dad4414f568742b61745617e7a695862058a0a0f93dcc31e4c97177a520352 ucm_add_limits_h.patch
+8ef518517647b702da7f3573f4f3f10be8bbac3f092834b38c59521f7236acae258a9afe65eebfa415828135ac8a1836e3dce83ee3f0eaf4403158a48802144d remove-test.patch"