aboutsummaryrefslogtreecommitdiffstats
path: root/main/libao/APKBUILD
blob: 6b7560afc1444aba2cb0437a5f3201f36ebf0263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libao
pkgver=1.2.0
pkgrel=3
pkgdesc="Cross-platform audio output library and plugins"
url="http://www.xiph.org/ao"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="alsa-lib-dev"
source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz
	CVE-2017-11548.patch
	"

# secfixes:
#   1.2.0-r3:
#   - CVE-2017-11548

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
2108047bf0b17b1a516c6acaa7d373f46f0c8efe8d355c5353abf73ead987b5a3b97a102ebd596113ca8670d303c13922e5cca764c0604971a1ccac4cba770be  CVE-2017-11548.patch"