aboutsummaryrefslogtreecommitdiffstats
path: root/community/wavpack/APKBUILD
blob: 5a71d5def986144dc1de0c934a67a0c0950c2bfd (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Contributor: Carlo Landmeter
# Maintainer:  Natanael Copa <ncopa@alpinelinux.org>
pkgname=wavpack
pkgver=5.3.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.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="4029df6a70fac804924b4fdb223b5b65bbc25c2bd2a363c72ce1d1100fdea26ca5d889cf755caed226c66722eff491ce656ad28dc61fc535792ca5c82af54100  wavpack-5.3.0.tar.xz"