[arch-commits] Commit in blender/trunk (PKGBUILD blender-ffmpeg4_4.patch)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat May 15 14:55:05 UTC 2021
Date: Saturday, May 15, 2021 @ 14:55:05
Author: svenstaro
Revision: 934682
upgpkg: blender 17:2.92.0-6: Fix some compatibility issues with ffmpeg 4.4 (FS#70630)
Added:
blender/trunk/blender-ffmpeg4_4.patch
Modified:
blender/trunk/PKGBUILD
-------------------------+
PKGBUILD | 5 ++++-
blender-ffmpeg4_4.patch | 10 ++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-15 14:54:29 UTC (rev 934681)
+++ PKGBUILD 2021-05-15 14:55:05 UTC (rev 934682)
@@ -8,7 +8,7 @@
pkgname=blender
pkgver=2.92.0
-pkgrel=5
+pkgrel=6
epoch=17
pkgdesc="A fully integrated 3D graphics creation suite"
arch=('x86_64')
@@ -28,6 +28,7 @@
"git+https://git.blender.org/blender-translations.git"
"git+https://git.blender.org/blender-dev-tools.git"
https://developer.download.nvidia.com/redist/optix/v7.0/OptiX-7.0.0-include.zip
+ blender-ffmpeg4_4.patch
blender-openexr3.patch)
sha512sums=('SKIP'
'SKIP'
@@ -35,6 +36,7 @@
'SKIP'
'SKIP'
'b2cff73def3757d4259f4b4d318a8ccfe166bf7c215cbb2124f1c81bd6e742f96207285b24eb4d99b527b7b97dc6d5e8fdf2f16d78d5d1e2684c26d681328491'
+ 'be26d2edf9c9aaf4c99f4f0a3f3c4a05296170b86b5abd7b7c3c2d900f868ebe113d5b49fbf413fb717b9ec5f36becf880c8479388616d1b34f296da24faea63'
'e2dd7210d26b70445e9ae8e33dea35111ad0b0aca9d3b4ded3df560d0fcc8dc044868f729e0f090a04b6f316f083b5505a7056ce088e8702065add87b9b457e5')
prepare() {
@@ -48,6 +50,7 @@
git submodule update
git submodule foreach git checkout v${pkgver}
+ patch -p1 < "$srcdir"/blender-ffmpeg4_4.patch # Fix compatibility with with ffmpeg 4.4
patch -p1 < "$srcdir"/blender-openexr3.patch # Fix build with OpenEXR 3
}
Added: blender-ffmpeg4_4.patch
===================================================================
--- blender-ffmpeg4_4.patch (rev 0)
+++ blender-ffmpeg4_4.patch 2021-05-15 14:55:05 UTC (rev 934682)
@@ -0,0 +1,10 @@
+--- a/source/blender/blenkernel/intern/writeffmpeg.org.c 2021-05-05 15:45:54.647257119 -0700
++++ a/source/blender/blenkernel/intern/writeffmpeg.c 2021-05-05 15:47:57.737338545 -0700
+@@ -163,6 +163,7 @@
+ frame->pts = context->audio_time / av_q2d(c->time_base);
+ frame->nb_samples = context->audio_input_samples;
+ frame->format = c->sample_fmt;
++ frame->channels = c->channels;
+ # ifdef FFMPEG_HAVE_FRAME_CHANNEL_LAYOUT
+ frame->channel_layout = c->channel_layout;
+ # endif
More information about the arch-commits
mailing list