blob: 9def721785936e9917d96731fee42b5e46ce18dc (
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
|
# 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=""
makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="fdk-aac-$pkgver.tar.gz::https://github.com/mstorsjo/fdk-aac/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
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"
|