summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-09-15 21:18:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-09-15 22:06:40 +0200
commitf4032cc764983a976f67f8e38acfc6004dbbbd38 (patch)
treeb059b2cb8eb7e1e3ee926a871d4b7f9b17eca131 /kde-apps/ffmpegthumbs
parentkde-apps/dragon: 23.08.1 version bump (diff)
downloadgentoo-f4032cc764983a976f67f8e38acfc6004dbbbd38.tar.gz
gentoo-f4032cc764983a976f67f8e38acfc6004dbbbd38.tar.bz2
gentoo-f4032cc764983a976f67f8e38acfc6004dbbbd38.zip
kde-apps/ffmpegthumbs: 23.08.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/ffmpegthumbs')
-rw-r--r--kde-apps/ffmpegthumbs/Manifest1
-rw-r--r--kde-apps/ffmpegthumbs/ffmpegthumbs-23.08.1.ebuild29
-rw-r--r--kde-apps/ffmpegthumbs/files/ffmpegthumbs-23.08.1-cmake.patch63
3 files changed, 93 insertions, 0 deletions
diff --git a/kde-apps/ffmpegthumbs/Manifest b/kde-apps/ffmpegthumbs/Manifest
index 7fa9bd5ba100..4cb9f9d99b4b 100644
--- a/kde-apps/ffmpegthumbs/Manifest
+++ b/kde-apps/ffmpegthumbs/Manifest
@@ -1,2 +1,3 @@
DIST ffmpegthumbs-23.04.3.tar.xz 32632 BLAKE2B 377ca6227dc39ce19a5a86436c343d10d398a36444450447504d778fc2b82d7611afa5af4fc0f7ff92ea9b4457a84413d94a3632e7eb3a9d004ade38cb2702cd SHA512 9b1d78c1ae8f8338abcb0afdfad3b25419a8c39ee4722251bd12db022c681b5bacdbdedc351fb4405e518177f15f9497182b6de1cc9f4f80793d6bfc3991c08f
DIST ffmpegthumbs-23.08.0.tar.xz 32996 BLAKE2B 62d993421d3a24ecdf395c2e3e78683acb65e7de104e048e146163192eda4a8bd650abfd86715da990e4cb1ffb1ef2644c146f2c34aa1799d24131e7f07de7d2 SHA512 3577e507a49d773b25357fc3a24771c1439eb7c151750258b6ae67b89609cd526a1fe34d15f5fb1c3f5fc56fb59384f2423daefc25eb5ccd375af4d3f32d9c86
+DIST ffmpegthumbs-23.08.1.tar.xz 33004 BLAKE2B a751360c470b46be7c8c3b3d5170b5eddc05bf69e5f6f1a228f8725451822dc60f496ad40b6201aac97a40eaeec328d41b508a27f4cd054a89c177af56765bac SHA512 ee0591067649cf4b9f585b0f75ff91081088994e1cd0206aaac1a4119d8649fadbaea590d806c426544002a7ef507d4fa101f8c8e15334d269b819f591919e57
diff --git a/kde-apps/ffmpegthumbs/ffmpegthumbs-23.08.1.ebuild b/kde-apps/ffmpegthumbs/ffmpegthumbs-23.08.1.ebuild
new file mode 100644
index 000000000000..8e03e31e09e2
--- /dev/null
+++ b/kde-apps/ffmpegthumbs/ffmpegthumbs-23.08.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.106.0
+QTMIN=5.15.9
+inherit ecm gear.kde.org
+
+DESCRIPTION="FFmpeg based thumbnail generator for video files"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ media-video/ffmpeg:0=
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
diff --git a/kde-apps/ffmpegthumbs/files/ffmpegthumbs-23.08.1-cmake.patch b/kde-apps/ffmpegthumbs/files/ffmpegthumbs-23.08.1-cmake.patch
new file mode 100644
index 000000000000..584925393275
--- /dev/null
+++ b/kde-apps/ffmpegthumbs/files/ffmpegthumbs-23.08.1-cmake.patch
@@ -0,0 +1,63 @@
+From 741f5285ee7dedd86d5e6142d4f6a411c65667ad Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Thu, 14 Sep 2023 20:47:24 +0200
+Subject: [PATCH] Drop unused KI18n header/dependency
+
+Does not actually have translations.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+(cherry picked from commit 62c8a809800576d0898da0e7f5941a4070637c58)
+---
+ CMakeLists.txt | 3 +--
+ ffmpegthumbnailer.cpp | 1 -
+ tests/CMakeLists.txt | 1 -
+ 3 files changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 806b703..46b9e13 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -24,7 +24,7 @@ include(FeatureSummary)
+ include(ECMDeprecationSettings)
+
+ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui)
+-find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS KIO I18n Config)
++find_package(KF${QT_MAJOR_VERSION} ${KF_MIN_VERSION} REQUIRED COMPONENTS KIO Config)
+ find_package(FFmpeg COMPONENTS AVCODEC AVFORMAT SWSCALE)
+
+ include_directories(
+@@ -71,7 +71,6 @@ target_link_libraries(ffmpegthumbs
+ Qt::Gui
+ KF${QT_MAJOR_VERSION}::KIOWidgets
+ KF${QT_MAJOR_VERSION}::KIOCore
+- KF${QT_MAJOR_VERSION}::I18n
+ KF${QT_MAJOR_VERSION}::ConfigCore
+ KF${QT_MAJOR_VERSION}::ConfigGui
+ ${AVUTIL_LIBRARIES}
+diff --git a/ffmpegthumbnailer.cpp b/ffmpegthumbnailer.cpp
+index 5bee237..40bf1be 100644
+--- a/ffmpegthumbnailer.cpp
++++ b/ffmpegthumbnailer.cpp
+@@ -11,7 +11,6 @@
+
+ #include <limits>
+
+-#include <KLocalizedString>
+ #include <KPluginFactory>
+ #include <QCheckBox>
+ #include <QFormLayout>
+diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
+index 7f4c7e3..ec7e964 100644
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -26,7 +26,6 @@ target_link_libraries(ffmpegthumbtest
+ Qt::Gui
+ KF${QT_MAJOR_VERSION}::KIOWidgets
+ KF${QT_MAJOR_VERSION}::KIOCore
+- KF${QT_MAJOR_VERSION}::I18n
+ KF${QT_MAJOR_VERSION}::ConfigCore
+ KF${QT_MAJOR_VERSION}::ConfigGui
+ ${AVUTIL_LIBRARIES}
+--
+2.42.0
+