commit:     f1abcd5fe17e9afe3129f69f59cd765a3bca3645
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 29 21:15:51 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 29 21:40:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1abcd5f

media-video/ffmpegthumbnailer: update EAPI 7 -> 8, switch to libjpeg-turbo

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../ffmpegthumbnailer-2.2.2-r2.ebuild              | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.2-r2.ebuild 
b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.2-r2.ebuild
new file mode 100644
index 000000000000..87077b6ce2fe
--- /dev/null
+++ b/media-video/ffmpegthumbnailer/ffmpegthumbnailer-2.2.2-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Lightweight video thumbnailer that can be used by file managers"
+HOMEPAGE="https://github.com/dirkvdb/ffmpegthumbnailer";
+SRC_URI="https://github.com/dirkvdb/${PN}/releases/download/${PV}/${P}.tar.bz2";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86"
+IUSE="gnome gtk jpeg png test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="gnome? ( gtk )
+       test? ( png jpeg )"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+       >=media-video/ffmpeg-2.7:0=
+       gtk? ( dev-libs/glib:2 )
+       jpeg? ( media-libs/libjpeg-turbo:0= )
+       png? ( media-libs/libpng:0= )
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog README.md )
+
+PATCHES=( "${FILESDIR}"/ffmpeg5-{1,2,3,4,5,6,7,8,9,10}.patch )
+
+src_configure() {
+       local mycmakeargs=(
+               -DENABLE_GIO=$(usex gtk)
+               -DENABLE_TESTS=$(usex test)
+               -DENABLE_THUMBNAILER=$(usex gnome)
+               -DHAVE_JPEG=$(usex jpeg)
+               -DHAVE_PNG=$(usex png)
+       )
+       cmake_src_configure
+}

Reply via email to