summaryrefslogtreecommitdiff
path: root/user/libao/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:18:42 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 23:18:42 -0500
commiteebf905a912c0099ac3665be2c9c8def98b12a15 (patch)
treeb5f8bfa1877b7f081bffdd907ee7d59dc4ff6701 /user/libao/APKBUILD
parent2ecb9eb5c72734ea72bea46de1021c5274200936 (diff)
downloadpackages-eebf905a912c0099ac3665be2c9c8def98b12a15.tar.gz
packages-eebf905a912c0099ac3665be2c9c8def98b12a15.tar.bz2
packages-eebf905a912c0099ac3665be2c9c8def98b12a15.tar.xz
packages-eebf905a912c0099ac3665be2c9c8def98b12a15.zip
user/libao: pull in, fix up
Diffstat (limited to 'user/libao/APKBUILD')
-rw-r--r--user/libao/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/libao/APKBUILD b/user/libao/APKBUILD
new file mode 100644
index 000000000..2321e18fd
--- /dev/null
+++ b/user/libao/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer:
+pkgname=libao
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Cross-platform audio output library and plugins"
+url="https://xiph.org/ao/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+"
+subpackages="$pkgname-doc $pkgname-dev"
+depends=""
+makedepends="alsa-lib-dev"
+source="https://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-esd \
+ --disable-arts
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="9456953826c188d67129ad78366bb86d6243499f2cd340d20d61366f7e40a33f3f8ab601c7f18ce9e24aa22f898093b482b2415b7e428c1486ef7e5ac27b3ee4 libao-1.2.0.tar.gz"