automatic version update by autodist [release 21.12.2-1mamba;Sun Feb 06 2022]

This commit is contained in:
Automatic Build System 2024-01-05 22:16:34 +01:00
parent 8dd6a1dbd7
commit 7f9eb9a288
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 8c9491775a5af072bfbcf1a2fdfc1f016d1333cf Mon Sep 17 00:00:00 2001
From: Antonio Rojas <arojas@archlinux.org>
Date: Tue, 25 Jan 2022 12:53:45 +0100
Subject: [PATCH] Fix build with FFmpeg 5
---
ffmpegthumbnailer/moviedecoder.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ffmpegthumbnailer/moviedecoder.h b/ffmpegthumbnailer/moviedecoder.h
index 502abe9..03eb6dd 100644
--- a/ffmpegthumbnailer/moviedecoder.h
+++ b/ffmpegthumbnailer/moviedecoder.h
@@ -57,7 +57,11 @@ private:
int m_VideoStream;
AVFormatContext* m_pFormatContext;
AVCodecContext* m_pVideoCodecContext;
+#if LIBAVCODEC_VERSION_MAJOR < 59
AVCodec* m_pVideoCodec;
+#else
+ const AVCodec* m_pVideoCodec;
+#endif
AVStream* m_pVideoStream;
AVFrame* m_pFrame;
quint8* m_pFrameBuffer;
--
GitLab

View File

@ -1,5 +1,5 @@
Name: ffmpegthumbs
Version: 21.12.1
Version: 21.12.2
Release: 1mamba
Summary: A lightweight video thumbnailer that can be used by file managers
Group: Graphical Desktop/Applications/Multimedia
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source: http://download.kde.org/stable/release-service/%{version}/src/ffmpegthumbs-%{version}.tar.xz
Patch0: ffmpegthumbs-21.12.2-ffmpeg-5.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -42,6 +43,7 @@ FFmpegthumbnailer is a lightweight video thumbnailer that can be used by file ma
%prep
%setup -q
%patch0 -p1 -b .ffmpeg-5.0
%build
%cmake_kde5 -d build
@ -77,6 +79,9 @@ exit 0
%doc LICENSES
%changelog
* Sun Feb 06 2022 Automatic Build System <autodist@mambasoft.it> 21.12.2-1mamba
- automatic version update by autodist
* Thu Jan 06 2022 Automatic Build System <autodist@mambasoft.it> 21.12.1-1mamba
- automatic version update by autodist