aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-27 12:32:27 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-27 12:32:27 +0100
commitcd3ead08bb9f56c0f491a6fb085db5ac0efaa2db (patch)
tree482ec3a46ada74db957067d87e7b1b2290000ec0
parent5bea653a3676d4dedbdd350898c40bba4790ae7b (diff)
downloadaports-cd3ead08bb9f56c0f491a6fb085db5ac0efaa2db.tar.bz2
aports-cd3ead08bb9f56c0f491a6fb085db5ac0efaa2db.tar.xz
testing/fdk-aac: new aport
-rw-r--r--testing/fdk-aac/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/fdk-aac/APKBUILD b/testing/fdk-aac/APKBUILD
new file mode 100644
index 0000000000..120c99bd76
--- /dev/null
+++ b/testing/fdk-aac/APKBUILD
@@ -0,0 +1,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"