Skip to content

Commit

Permalink
fdk-aac: update to 0.1.6 (msys2#3565)
Browse files Browse the repository at this point in the history
This commit updates fdk-aac to 0.1.6, removes an unnecessary patch
disabling C++11 (as fdk-aac now works with C++11), and adds a license
directory.
  • Loading branch information
Adsun701 authored and Alexpux committed Apr 8, 2018
1 parent d1af9d4 commit b0085e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 40 deletions.
33 changes: 0 additions & 33 deletions mingw-w64-fdk-aac/15b128dd826ba86ee962d86b0b06966a25ed9158.patch

This file was deleted.

14 changes: 7 additions & 7 deletions mingw-w64-fdk-aac/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@
_realname=fdk-aac
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.1.5
pkgver=0.1.6
pkgrel=1
pkgdesc="A standalone library of the Fraunhofer FDK AAC code from Android (mingw-w64)"
arch=('any')
license=('custom')
makedepends=('autoconf' 'automake' 'libtool' 'make')
url="https://github.com/mstorsjo/${_realname}"
source=(${_realname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz"
'15b128dd826ba86ee962d86b0b06966a25ed9158.patch')
sha256sums=('ff53d1d01cacc29c071e23192dfefa93bdbeaf775fc5d296259b4859d0306b79'
'126c2ab3ef44641612beb6d9c9c77e1054f04150dc44dde07a175738f0fac3f1')
source=(${_realname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
sha256sums=('adbcd793e406e1b88b3c1c41382d49f8c27371485b823c0fdab69c9124fd2ce3')

prepare() {
cd ${srcdir}/${_realname}-${pkgver}
patch -i ../15b128dd826ba86ee962d86b0b06966a25ed9158.patch

./autogen.sh
}

Expand All @@ -42,4 +38,8 @@ package() {
cd ${srcdir}/build-${CARCH}

make DESTDIR=${pkgdir} install

# Install license
install -dm 755 "${pkgdir}${MINGW_PREFIX}"/share/licenses/libfdk-aac
install -m 644 "${srcdir}"/${_realname}-${pkgver}/NOTICE "${pkgdir}${MINGW_PREFIX}"/share/licenses/libfdk-aac/
}

0 comments on commit b0085e3

Please sign in to comment.