ffmpeg: update to 4.1.1.

enable nvenc for native builds
This commit is contained in:
Johannes 2019-02-10 12:05:59 +01:00 committed by Johannes
parent 6234fef2a7
commit 794c2a9a11

View file

@ -1,15 +1,15 @@
# Template file for 'ffmpeg'
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
pkgname=ffmpeg
version=4.1
revision=4
version=4.1.1
revision=1
short_desc="Decoding, encoding and streaming software"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://www.ffmpeg.org"
changelog="https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/Changelog"
distfiles="${homepage}/releases/ffmpeg-${version}.tar.xz"
checksum=a38ec4d026efb58506a99ad5cd23d5a9793b4bf415f2c4c2e9c1bb444acd1994
checksum=373749824dfd334d84e55dff406729edfd1606575ee44dd485d97d45ea4d2d86
hostmakedepends="pkg-config perl yasm"
makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-devel
@ -31,6 +31,11 @@ case "$XBPS_TARGET_MACHINE" in
mips*) CFLAGS="-mnan=legacy";;
esac
# nvenc support is broken for cross builds
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" nvenc"
fi
do_configure() {
# Fix gcc on x86_64-musl only
if [ "$XBPS_TARGET_MACHINE" = "x86_64-musl" ]; then