[arch-commits] Commit in ffmpegthumbs/repos (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Tue Jan 25 11:48:05 UTC 2022


    Date: Tuesday, January 25, 2022 @ 11:48:04
  Author: arojas
Revision: 435093

archrelease: copy trunk to staging-x86_64

Added:
  ffmpegthumbs/repos/staging-x86_64/
  ffmpegthumbs/repos/staging-x86_64/PKGBUILD
    (from rev 435092, ffmpegthumbs/trunk/PKGBUILD)
  ffmpegthumbs/repos/staging-x86_64/ffmpeg5.patch
    (from rev 435092, ffmpegthumbs/trunk/ffmpeg5.patch)

---------------+
 PKGBUILD      |   35 +++++++++++++++++++++++++++++++++++
 ffmpeg5.patch |   13 +++++++++++++
 2 files changed, 48 insertions(+)

Copied: ffmpegthumbs/repos/staging-x86_64/PKGBUILD (from rev 435092, ffmpegthumbs/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-01-25 11:48:04 UTC (rev 435093)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ffmpegthumbs
+pkgver=21.12.1
+pkgrel=2
+pkgdesc='FFmpeg-based thumbnail creator for video files'
+url='https://apps.kde.org/ffmpegthumbs/'
+arch=(x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kde-multimedia)
+depends=(kio ffmpeg taglib)
+makedepends=(extra-cmake-modules)
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        ffmpeg5.patch)
+sha256sums=('e39df38df15171acced19588195e5c137c115bf35e31085aa74fe6e8fb03e1d5'
+            'SKIP'
+            'ce314c8c98478ed90521e3cabbd125b2fccfb9a12666ca928b80fb4f87e07f52')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
+              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < ffmpeg5.patch # Fix build with ffmpeg 5
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: ffmpegthumbs/repos/staging-x86_64/ffmpeg5.patch (from rev 435092, ffmpegthumbs/trunk/ffmpeg5.patch)
===================================================================
--- staging-x86_64/ffmpeg5.patch	                        (rev 0)
+++ staging-x86_64/ffmpeg5.patch	2022-01-25 11:48:04 UTC (rev 435093)
@@ -0,0 +1,13 @@
+diff --git a/ffmpegthumbnailer/moviedecoder.h b/ffmpegthumbnailer/moviedecoder.h
+index 502abe9..c96d01b 100644
+--- a/ffmpegthumbnailer/moviedecoder.h
++++ b/ffmpegthumbnailer/moviedecoder.h
+@@ -57,7 +57,7 @@ private:
+     int                     m_VideoStream;
+     AVFormatContext*        m_pFormatContext;
+     AVCodecContext*         m_pVideoCodecContext;
+-    AVCodec*                m_pVideoCodec;
++    const AVCodec*          m_pVideoCodec;
+     AVStream*               m_pVideoStream;
+     AVFrame*                m_pFrame;
+     quint8*                 m_pFrameBuffer;



More information about the arch-commits mailing list