aboutsummaryrefslogtreecommitdiffstats
path: root/community/wavpack/APKBUILD
blob: 77cf618dad1c898aeab3a88f495b522ec71c11eb (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Contributor: Carlo Landmeter
# Maintainer:  Natanael Copa <ncopa@alpinelinux.org>
pkgname=wavpack
pkgver=5.4.0
pkgrel=0
pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
url="http://www.wavpack.com/"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.wavpack.com/wavpack-$pkgver.tar.xz"

# secfixes:
#   5.4.0-r0:
#     - CVE-2020-35738
#   5.1.0-r8:
#     - CVE-2019-1010319
#     - CVE-2019-1010317
#     - CVE-2019-1010315
#     - CVE-2019-11498
#   5.1.0-r7:
#     - CVE-2018-19840
#     - CVE-2018-19841
#   5.1.0-r6:
#     - CVE-2018-10536
#     - CVE-2018-10537
#     - CVE-2018-10538
#     - CVE-2018-10539
#     - CVE-2018-10340
#   5.1.0-r3:
#     - CVE-2018-6767
#     - CVE-2018-7253
#     - CVE-2018-7254
#   5.1.0-r0:
#     - CVE-2016-10169
#     - CVE-2016-10170
#     - CVE-2016-10171
#     - CVE-2016-10172

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-tests \
		--disable-static
	make
}

check() {
	cli/wvtest --default --short --no-extras
}

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

sha512sums="de4e75539c9b949d22f39ab73721c8a4ee7c38ff08835aa28b1d56bea08c332bcb601a54998efe520f3653a2e29c73dcfd716ad19707bb2815403786d9ed9c11  wavpack-5.4.0.tar.xz"