blob: 14b2ea7ccdbaa8304278df97a242b28614f12569 (
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
|
# Maintainer:
pkgname=faad2
pkgver=2.10.1_git20230904
pkgrel=0
pkgdesc="ISO AAC audio decoder"
url="https://www.audiocoding.com/"
arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
depends=""
makedepends="cmake"
subpackages="$pkgname-dev $pkgname-doc"
#source="$pkgname-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/$pkgver.tar.gz"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz"
# 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
build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-Bbuild
make -C build
}
package() {
make DESTDIR="$pkgdir" -C build install
}
doc() {
default_doc
mkdir -p "$subpkgdir"/usr/share/doc
cp -r "$builddir"/docs \
"$subpkgdir"/usr/share/doc/$pkgname
}
sha512sums="5ec65a70ebbb5dbb5e0bffa47499f8bb9436c28ce9a8947e9cede92bbb2441117bac01216989888956e245589c9db572dad17cc47d47ae908709e4e57a7f84b9 faad2-2.10.1_git20230904.tar.gz"
|