diff options
-rw-r--r-- | main/ffmpeg/APKBUILD | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD index dd75ba91b4..11d58e0d81 100644 --- a/main/ffmpeg/APKBUILD +++ b/main/ffmpeg/APKBUILD @@ -4,16 +4,18 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ffmpeg pkgver=3.4 -pkgrel=1 +pkgrel=2 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" url="http://ffmpeg.org/" arch="all" license="GPL" +options="!check" # tests/data/hls-lists.append.m3u8 fails subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" makedepends="gnutls-dev lame-dev libvorbis-dev xvidcore-dev zlib-dev libvdpau-dev imlib2-dev x264-dev libtheora-dev coreutils bzip2-dev perl-dev libvpx-dev libvpx-dev sdl2-dev libxfixes-dev libva-dev alsa-lib-dev rtmpdump-dev v4l-utils-dev yasm opus-dev x265-dev" +checkdepends="rsync" source="http://ffmpeg.org/releases/ffmpeg-$pkgver.tar.xz 0001-libavutil-clean-up-unused-FF_SYMVER-macro.patch " @@ -75,6 +77,16 @@ build() { make doc/ffmpeg.1 doc/ffplay.1 doc/ffserver.1 } +# https://ffmpeg.org/fate.html +check() { + cd "$builddir" + ./configure \ + --samples=fate-suite/ + make fate-rsync + make fate-list + make fate +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install install-man |