summaryrefslogtreecommitdiff
path: root/user/vorbis-tools/APKBUILD
blob: 4ce488428fced42e22aebed73f251762249ec8a0 (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
# Contributor: Nathan <ndowens@artixlinux.org>
# Maintainer: Nathan <ndowens@artixlinux.org>
pkgname=vorbis-tools
pkgver=1.4.0
pkgrel=1
pkgdesc="Tools for Ogg-Vorbis"
url="https://www.xiph.org/vorbis"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="curl-dev flac-dev libvorbis-dev
	    libao-dev speex-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="http://downloads.xiph.org/releases/vorbis/vorbis-tools-$pkgver.tar.gz
	CVE-2014-9638-and-9639.patch
	CVE-2014-9640.patch
	CVE-2015-6749.patch
	"

prepare() {
	update_config_guess
	default_prepare
}

build() {
	./configure \
		--prefix=/usr \
		--enable-vcut
	make
}

check() {
	make check
}

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

sha512sums="d2473f2e8e6726b5a5083f567797ae42bbb7fa3f26aec3f7b83e641e028c64726299f71a9d75258595a53cf29c18acb84841bcbc39509258d2c8df859e4e3b99  vorbis-tools-1.4.0.tar.gz
fbe006c1de1b5d03dd84a3213d840468658129bc83f1fad9bcb738d53fd0f76b5f2ebc17b95c456d8b73456b313282bad5e08703649ba8b506371e6c8b466557  CVE-2014-9638-and-9639.patch
9cb9ca5a7cc648e75a4b0027f29f59edd81156578864c46cc2ff773435175a35ea2f31da480e983d05c23d1285d59f0f8a0ec97dd57ba8c11ee5786b619fbaa2  CVE-2014-9640.patch
bf49f572e023678a12d764e459d518f067499a07bd9fe6c037e00730349e066d96174a52043f61dff44fd788b336018c68ae4d26ebe279dc6bf0a07852048ff0  CVE-2015-6749.patch"