blob: 970d16f7ee0b8ee7ef264e9a8447437f0290d2e1 (
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
|
# Maintainer:
pkgname=faad2
pkgver=2.9.0
_pkgver="$(printf '%s' "$pkgver" | tr . _)"
pkgrel=0
pkgdesc="ISO AAC audio decoder"
url="https://www.audiocoding.com/"
arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=""
makedepends="autoconf automake libtool"
source="$pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
# secfixes:
# 2.8.8-r1:
# - CVE-2018-19502
# - CVE-2019-15296
# 2.9.0-r0:
# - CVE-2019-6956
# - CVE-2018-19503
# - CVE-2018-19504
# - CVE-2018-20194
# - CVE-2018-20195
# - CVE-2018-20196
# - CVE-2018-20197
# - CVE-2018-20198
# - CVE-2018-20199
# - CVE-2018-20357
# - CVE-2018-20358
# - CVE-2018-20359
# - CVE-2018-20360
# - CVE-2018-20361
# - CVE-2018-20362
prepare() {
default_prepare
./bootstrap
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="1756b2672f9e438a56b11160ddc77fc721d85860eaa325a3ff01b51a2524baf4c1c61068a97cbc4e99d47e7643f10e1d6afb997eede3295b44551fe4661fb5dc faad2-2.9.0.tar.gz"
|