ffmpeg: update to 4.2.1.
This commit is contained in:
parent
d34137fdab
commit
c228fe62f2
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ffmpeg'
|
||||
# audacity also needs to be bumped when a new ffmpeg version bumps libavformat's soname!
|
||||
pkgname=ffmpeg
|
||||
version=4.2
|
||||
version=4.2.1
|
||||
revision=1
|
||||
short_desc="Decoding, encoding and streaming software"
|
||||
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
||||
|
@ -9,7 +9,7 @@ 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=023f10831a97ad93d798f53a3640e55cd564abfeba807ecbe8524dac4fedecd5
|
||||
checksum=cec7c87e9b60d174509e263ac4011b522385fd0775292e1670ecc1180c9bb6d4
|
||||
|
||||
hostmakedepends="pkg-config perl yasm"
|
||||
makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-devel
|
||||
|
@ -21,10 +21,11 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
|
|||
$(vopt_if vdpau libvdpau-devel) $(vopt_if v4l2 v4l-utils-devel) libbs2b-devel
|
||||
libvidstab-devel $(vopt_if faac faac-devel) $(vopt_if fdk_aac fdk-aac-devel)
|
||||
$(vopt_if vpx libvpx-devel) $(vopt_if aom libaom-devel)
|
||||
$(vopt_if nvenc nv-codec-headers) $(vopt_if sndio sndio-devel)"
|
||||
$(vopt_if nvenc nv-codec-headers) $(vopt_if sndio sndio-devel)
|
||||
$(vopt_if dav1d libdav1d-devel)"
|
||||
|
||||
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio"
|
||||
build_options_default="x265 v4l2 vpx sndio pulseaudio"
|
||||
build_options="x265 v4l2 vaapi vdpau vpx faac fdk_aac aom nvenc sndio pulseaudio dav1d"
|
||||
build_options_default="x265 v4l2 vpx sndio pulseaudio dav1d"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*) build_options_default+=" vaapi vdpau nvenc";;
|
||||
|
@ -74,7 +75,8 @@ do_configure() {
|
|||
$(vopt_if x265 '--enable-libx265' '--disable-libx265') \
|
||||
$(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \
|
||||
$(vopt_enable aom libaom) $(vopt_enable vaapi) $(vopt_enable vdpau) \
|
||||
--enable-libbs2b --enable-avresample --enable-libvidstab
|
||||
--enable-libbs2b --enable-avresample --enable-libvidstab \
|
||||
$(vopt_if dav1d '--enable-libdav1d')
|
||||
}
|
||||
do_build() {
|
||||
rm ${XBPS_WRAPPERDIR}/strip
|
||||
|
|
Loading…
Reference in New Issue