From a625e7b95df420863cb89fd6da79be25b12509c8 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 2 Aug 2025 10:08:14 +0200 Subject: [PATCH] ffmpegthumbs, new recipes for KF5/KF6 (#12651) --- .../ffmpegthumbs/ffmpegthumbs-25.04.3.recipe | 78 +++++++++++++++ .../ffmpegthumbs_kf5-23.08.5.recipe | 97 +++++++++++++++++++ 2 files changed, 175 insertions(+) create mode 100644 kde-apps/ffmpegthumbs/ffmpegthumbs-25.04.3.recipe create mode 100644 kde-apps/ffmpegthumbs/ffmpegthumbs_kf5-23.08.5.recipe diff --git a/kde-apps/ffmpegthumbs/ffmpegthumbs-25.04.3.recipe b/kde-apps/ffmpegthumbs/ffmpegthumbs-25.04.3.recipe new file mode 100644 index 000000000..30da1a383 --- /dev/null +++ b/kde-apps/ffmpegthumbs/ffmpegthumbs-25.04.3.recipe @@ -0,0 +1,78 @@ +SUMMARY="A video thumbnail generator" +DESCRIPTION="FFmpeg Thumbnailer is a video thumbnail generator for KDE file managers. +Extends: Dolphin | Konqueror | Krusader" +HOMEPAGE="https://apps.kde.org/ffmpegthumbs/" +COPYRIGHT="2010-2025 KDE Organisation" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/ffmpegthumbs-$portVersion.tar.xz" +CHECKSUM_SHA256="78204751a7a57716971ed194a6636d559fb114113f24c193fd1cf798dfb2a994" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + ffmpegthumbs$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libavutil$secondaryArchSuffix + lib:libavfilter$secondaryArchSuffix + lib:libavformat$secondaryArchSuffix + lib:libavcodec$secondaryArchSuffix + lib:libswscale$secondaryArchSuffix + # KF6 + lib:libKF6Completion$secondaryArchSuffix + lib:libKF6ConfigCore$secondaryArchSuffix + lib:libKF6CoreAddons$secondaryArchSuffix + lib:libKF6JobWidgets$secondaryArchSuffix + lib:libKF6KIOCore$secondaryArchSuffix + lib:libKF6Service$secondaryArchSuffix + lib:libKF6WidgetsAddons$secondaryArchSuffix + # Qt6 + lib:libQt6Core$secondaryArchSuffix + lib:libQt6Gui$secondaryArchSuffix + lib:libQt6Network$secondaryArchSuffix + lib:libQt6Widgets$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + ffmpeg6${secondaryArchSuffix}_devel + devel:libpostproc$secondaryArchSuffix + # KF6 + extra_cmake_modules$secondaryArchSuffix + devel:libKF6ConfigCore$secondaryArchSuffix + devel:libKF6KIOCore$secondaryArchSuffix + # Qt6 + devel:libQt6Core$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:g++$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ + $cmakeDirArgs \ + -DCMAKE_INSTALL_DATAROOTDIR=data \ + -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \ + -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ + -DCMAKE_SKIP_RPATH=YES \ + -DBUILD_WITH_QT6=ON \ + -Wno-dev + + make -C build $jobArgs +} + +INSTALL() +{ + make -C build install + + # cleanup + rm -rf $dataDir/metainfo +} + diff --git a/kde-apps/ffmpegthumbs/ffmpegthumbs_kf5-23.08.5.recipe b/kde-apps/ffmpegthumbs/ffmpegthumbs_kf5-23.08.5.recipe new file mode 100644 index 000000000..27c6dd801 --- /dev/null +++ b/kde-apps/ffmpegthumbs/ffmpegthumbs_kf5-23.08.5.recipe @@ -0,0 +1,97 @@ +SUMMARY="A video thumbnail generator" +DESCRIPTION="FFmpeg Thumbnailer is a video thumbnail generator for KDE file managers. +Extends: Dolphin | Konqueror | Krusader" +HOMEPAGE="https://apps.kde.org/ffmpegthumbs/" +COPYRIGHT="2010-2025 KDE Organisation" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/ffmpegthumbs-$portVersion.tar.xz" +CHECKSUM_SHA256="dad83ce22fccf141bb19fd6192c73dc0cab6365c86251e68f393962f0a5be5df" +SOURCE_DIR="ffmpegthumbs-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + ffmpegthumbs_kf5$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libavutil$secondaryArchSuffix + lib:libavfilter$secondaryArchSuffix + lib:libavformat$secondaryArchSuffix + lib:libavcodec$secondaryArchSuffix + lib:libswscale$secondaryArchSuffix + # KF5 + lib:libKF5Completion$secondaryArchSuffix + lib:libKF5ConfigCore$secondaryArchSuffix + lib:libKF5CoreAddons$secondaryArchSuffix + lib:libKF5JobWidgets$secondaryArchSuffix + lib:libKF5KIOCore$secondaryArchSuffix + lib:libKF5Service$secondaryArchSuffix + lib:libKF5Solid$secondaryArchSuffix + lib:libKF5WidgetsAddons$secondaryArchSuffix + lib:libKF5WindowSystem$secondaryArchSuffix + # Qt5 + lib:libQt5Core$secondaryArchSuffix + lib:libQt5DBus$secondaryArchSuffix + lib:libQt5Gui$secondaryArchSuffix + lib:libQt5Network$secondaryArchSuffix + lib:libQt5Widgets$secondaryArchSuffix + lib:libQt5Xml$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + ffmpeg6${secondaryArchSuffix}_devel + devel:libpostproc$secondaryArchSuffix + # KF5 + extra_cmake_modules$secondaryArchSuffix + devel:libKF5Auth$secondaryArchSuffix + devel:libKF5Bookmarks$secondaryArchSuffix + devel:libKF5Codecs$secondaryArchSuffix + devel:libKF5Completion$secondaryArchSuffix + devel:libKF5ConfigCore$secondaryArchSuffix + devel:libKF5ConfigWidgets$secondaryArchSuffix + devel:libKF5CoreAddons$secondaryArchSuffix + devel:libKF5ItemViews$secondaryArchSuffix + devel:libKF5JobWidgets$secondaryArchSuffix + devel:libKF5KIOCore$secondaryArchSuffix + devel:libKF5Service$secondaryArchSuffix + devel:libKF5Solid$secondaryArchSuffix + devel:libKF5WidgetsAddons$secondaryArchSuffix + devel:libKF5WindowSystem$secondaryArchSuffix + devel:libKF5XmlGui$secondaryArchSuffix + # Qt5 + devel:libQt5Core$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:g++$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + cmd:qdbuscpp2xml$secondaryArchSuffix >= 5 + " + +BUILD() +{ + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ + $cmakeDirArgs \ + -DCMAKE_INSTALL_DATAROOTDIR=data \ + -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ + -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ + -DCMAKE_SKIP_RPATH=YES \ + -DBUILD_WITH_Qt5=ON \ + -Wno-dev + + make -C build $jobArgs +} + +INSTALL() +{ + make -C build install + + # cleanup + rm -rf $dataDir/metainfo +} +