From d47b1ba6024543e321a8eb2bf19673a2b749c04e Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 31 Aug 2016 23:12:54 +0200 Subject: [PATCH] Enable libfdk_aac in mingw-w64-ffmpeg --- ffmpeg/mingw-w64/PKGBUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ffmpeg/mingw-w64/PKGBUILD b/ffmpeg/mingw-w64/PKGBUILD index 2217ddb8..9d861195 100644 --- a/ffmpeg/mingw-w64/PKGBUILD +++ b/ffmpeg/mingw-w64/PKGBUILD @@ -5,7 +5,7 @@ pkgname=mingw-w64-ffmpeg pkgver=3.1.2 -pkgrel=1 +pkgrel=1.1 epoch=1 pkgdesc='Complete solution to record, convert and stream audio and video (mingw-w64)' arch=('any') @@ -13,16 +13,17 @@ url='https://ffmpeg.org/' license=('GPL3') depends=('mingw-w64-crt' 'mingw-w64-bzip2' 'mingw-w64-fontconfig' 'mingw-w64-fribidi' 'mingw-w64-gmp' 'mingw-w64-gnutls' 'mingw-w64-gsm' 'mingw-w64-lame' 'mingw-w64-libass' 'mingw-w64-dcadec' 'mingw-w64-libbluray' 'mingw-w64-libmodplug' - 'mingw-w64-libsoxr' 'mingw-w64-libtheora' 'mingw-w64-vid.stab' 'mingw-w64-libwebp' 'mingw-w64-libvorbis' 'mingw-w64-libvpx' - 'mingw-w64-opencore-amr' 'mingw-w64-openjpeg' 'mingw-w64-opus' 'mingw-w64-libssh' 'mingw-w64-schroedinger' - 'mingw-w64-sdl' 'mingw-w64-speex' 'mingw-w64-x264' 'mingw-w64-xvidcore' 'mingw-w64-zlib' 'mingw-w64-x265') + 'mingw-w64-libsoxr' 'mingw-w64-libtheora' 'mingw-w64-vid.stab' 'mingw-w64-libwebp' 'mingw-w64-libvorbis' + 'mingw-w64-libvpx' 'mingw-w64-opencore-amr' 'mingw-w64-openjpeg' 'mingw-w64-opus' 'mingw-w64-libssh' + 'mingw-w64-schroedinger' 'mingw-w64-libfdk-aac' 'mingw-w64-sdl' 'mingw-w64-speex' 'mingw-w64-x264' 'mingw-w64-xvidcore' + 'mingw-w64-zlib' 'mingw-w64-x265') options=(!strip !buildflags staticlibs) makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config' 'yasm') source=(http://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.bz2{,.asc}) validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8') sha256sums=('62eb8d810b93c1ffc23739c0824a91eabfe5e7be81fab34ce740736a110b70f7' 'SKIP') -_architectures="i686-w64-mingw32 x86_64-w64-mingw32" +_architectures='i686-w64-mingw32 x86_64-w64-mingw32' build() { for _arch in ${_architectures}; do @@ -69,8 +70,9 @@ build() { --enable-zlib \ --enable-shared \ --enable-version3 \ + --enable-libfdk_aac \ + --enable-nonfree \ --disable-doc - make done } @@ -79,11 +81,9 @@ package() { for _arch in ${_architectures}; do cd "${srcdir}"/build-${_arch} make DESTDIR="$pkgdir" install - ${_arch}-strip --strip-all "${pkgdir}"/usr/${_arch}/bin/*.exe ${_arch}-strip --strip-unneeded "${pkgdir}"/usr/${_arch}/bin/*.dll ${_arch}-strip -g "${pkgdir}"/usr/${_arch}/lib/*.a - mv "${pkgdir}"/usr/${_arch}/bin/*.lib "${pkgdir}"/usr/${_arch}/lib/ done }