aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fdk-aac/APKBUILD
blob: 2d230cec470b61b662a32cbe1e1f30118559068a (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=fdk-aac
pkgver=0.1.5
# XXX: https://github.com/mstorsjo/fdk-aac/issues/45
_pkgver=a0bd8aa3b6339082fbe9d830264839fa50c0a4b7
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/$_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="6c3b35511d20e135b593e12294f6c80e  fdk-aac-a0bd8aa3b6339082fbe9d830264839fa50c0a4b7.tar.gz"
sha256sums="4827fa3bba32d222c1cbafb54e13da8d01a5cba5b9f2d8defc5a8a5cccdca7c4  fdk-aac-a0bd8aa3b6339082fbe9d830264839fa50c0a4b7.tar.gz"
sha512sums="c227b93949c2814fe564c882144e4746715a4e8c50c5bf6020a7161e2bf3badc802824e823817821158a6875928736ba132a9461c593de4204c522844cde7c40  fdk-aac-a0bd8aa3b6339082fbe9d830264839fa50c0a4b7.tar.gz"