From 92fb4634f506b43923c4a0b2441d14a7c273d399 Mon Sep 17 00:00:00 2001 From: prspkt Date: Tue, 13 Mar 2018 22:18:22 +0000 Subject: testing/fdk-aac: upgrade to 0.1.6, modernize --- testing/fdk-aac/APKBUILD | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/testing/fdk-aac/APKBUILD b/testing/fdk-aac/APKBUILD index 2d230cec47..6d0690f22f 100644 --- a/testing/fdk-aac/APKBUILD +++ b/testing/fdk-aac/APKBUILD @@ -1,39 +1,32 @@ # Contributor: Carlo Landmeter # Maintainer: pkgname=fdk-aac -pkgver=0.1.5 -# XXX: https://github.com/mstorsjo/fdk-aac/issues/45 -_pkgver=a0bd8aa3b6339082fbe9d830264839fa50c0a4b7 +pkgver=0.1.6 pkgrel=0 -pkgdesc="A standalone library of the Fraunhofer FDK AAC code from Android." -url="https://sourceforge.net/projects/opencore-amr/" +pkgdesc="Fraunhofer FDK AAC codec library" +url="https://sourceforge.net/projects/opencore-amr" arch="all" license="custom" depends="" -makedepends="automake autoconf libtool" +makedepends="" 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" +source="$url/files/$pkgname/$pkgname-$pkgver.tar.gz" +options="!check" # no upstream/available testsuite +builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - - ./autogen.sh || return 1 ./configure \ --prefix="/usr" \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { cd "$builddir" - - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -Dm644 NOTICE \ - "${pkgdir}"/usr/share/licenses/libfdk-aac/NOTICE || return 1 + "${pkgdir}"/usr/share/licenses/libfdk-aac/NOTICE } -md5sums="6c3b35511d20e135b593e12294f6c80e fdk-aac-a0bd8aa3b6339082fbe9d830264839fa50c0a4b7.tar.gz" -sha256sums="4827fa3bba32d222c1cbafb54e13da8d01a5cba5b9f2d8defc5a8a5cccdca7c4 fdk-aac-a0bd8aa3b6339082fbe9d830264839fa50c0a4b7.tar.gz" -sha512sums="c227b93949c2814fe564c882144e4746715a4e8c50c5bf6020a7161e2bf3badc802824e823817821158a6875928736ba132a9461c593de4204c522844cde7c40 fdk-aac-a0bd8aa3b6339082fbe9d830264839fa50c0a4b7.tar.gz" +sha512sums="d4d14debeb6e424f4e2a1458ed7bebaa2c45ce54170c6e679286fd965f52286b6a6c1e944edbb4ea2302c3bb789c0f3cdab9c0d89618014ba4250b2f04d71d12 fdk-aac-0.1.6.tar.gz" -- cgit v1.2.3