summaryrefslogtreecommitdiff
path: root/user/libvorbis/APKBUILD
blob: 3fb3aa3d6b3861fdbdadd50ece6bb08fc95d2eab (plain) (blame)
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
39
40
41
42
43
44
45
46
47
# Maintainer: 
pkgname=libvorbis
pkgver=1.3.7
pkgrel=0
pkgdesc="Vorbis audio codec library"
url="https://xiph.org/vorbis/"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends="libogg-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.xz
	"

# secfixes:
#   1.3.7-r0:
#     - CVE-2018-10392
#     - CVE-2018-10393
#   1.3.6-r1:
#     - CVE-2018-10392
#   1.3.5-r4:
#     - CVE-2017-14632
#     - CVE-2017-14633
#   1.3.5-r3:
#     - CVE-2017-14160
#     - CVE-2018-10393

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make -j1 check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="bbf5f11f623d959b3ba98d6b52806521b0b918b59b867f0658c153ea1013293364eead4987e9e71f8798021379310860a2e548fcf89d10caf23d45e41aba45cd  libvorbis-1.3.7.tar.xz"