ffmpeg: update to 4.1.1.
enable nvenc for native builds
This commit is contained in:
parent
6234fef2a7
commit
794c2a9a11
1 changed files with 8 additions and 3 deletions
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'ffmpeg'
|
# Template file for 'ffmpeg'
|
||||||
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
|
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
|
||||||
pkgname=ffmpeg
|
pkgname=ffmpeg
|
||||||
version=4.1
|
version=4.1.1
|
||||||
revision=4
|
revision=1
|
||||||
short_desc="Decoding, encoding and streaming software"
|
short_desc="Decoding, encoding and streaming software"
|
||||||
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://www.ffmpeg.org"
|
homepage="https://www.ffmpeg.org"
|
||||||
changelog="https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/Changelog"
|
changelog="https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/Changelog"
|
||||||
distfiles="${homepage}/releases/ffmpeg-${version}.tar.xz"
|
distfiles="${homepage}/releases/ffmpeg-${version}.tar.xz"
|
||||||
checksum=a38ec4d026efb58506a99ad5cd23d5a9793b4bf415f2c4c2e9c1bb444acd1994
|
checksum=373749824dfd334d84e55dff406729edfd1606575ee44dd485d97d45ea4d2d86
|
||||||
|
|
||||||
hostmakedepends="pkg-config perl yasm"
|
hostmakedepends="pkg-config perl yasm"
|
||||||
makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-devel
|
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";;
|
mips*) CFLAGS="-mnan=legacy";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# nvenc support is broken for cross builds
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default+=" nvenc"
|
||||||
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# Fix gcc on x86_64-musl only
|
# Fix gcc on x86_64-musl only
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64-musl" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64-musl" ]; then
|
||||||
|
|
Loading…
Reference in a new issue