blob: 120c99bd7665f59cf2a2b3438164a3c3805ed6e7 (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=fdk-aac
pkgver=0.1.4
pkgrel=0
pkgdesc="A standalone library of the Fraunhofer FDK AAC code from Android."
url="https://sourceforge.net/projects/opencore-amr/"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev automake autoconf libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="fdk-aac-$pkgver.tar.gz::https://github.com/mstorsjo/fdk-aac/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/fdk-aac-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./autogen.sh || return 1
./configure \
--prefix="/usr" \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 NOTICE \
"${pkgdir}"/usr/share/licenses/libfdk-aac/NOTICE || return 1
}
md5sums="5292a28369a560d37d431de625bedc34 fdk-aac-0.1.4.tar.gz"
sha256sums="e00b83ac7f7a37661bed8f0c12b926ddb48c722359b809a5789fd81a0ca9d24f fdk-aac-0.1.4.tar.gz"
sha512sums="86b73ad8a653dae868c3b2fef0de6321e04b80baf81bd8cd416c9e3883b078739113201cfd5496aef7001a480380a17ed8bc9f2c59505e379dc561e918298d7b fdk-aac-0.1.4.tar.gz"
|