From 97c244b269cb48717c8fc3c5554a0d1ffa45ffd2 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 13 Sep 2024 10:54:01 +0200 Subject: [PATCH] dolphin_plugins24, add KF6 version (#11115) --- .../dolphin_plugins24-24.08.0.recipe | 90 +++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 kde-apps/dolphin-plugins/dolphin_plugins24-24.08.0.recipe diff --git a/kde-apps/dolphin-plugins/dolphin_plugins24-24.08.0.recipe b/kde-apps/dolphin-plugins/dolphin_plugins24-24.08.0.recipe new file mode 100644 index 000000000..a991f4e03 --- /dev/null +++ b/kde-apps/dolphin-plugins/dolphin_plugins24-24.08.0.recipe @@ -0,0 +1,90 @@ +SUMMARY="Plugins for Dolphin" +DESCRIPTION="Dolphin integration for revision control systems, Dropbox, and disk images." +HOMEPAGE="https://invent.kde.org/sdk/dolphin-plugins" +COPYRIGHT="2010-2024 KDE Organisation" +LICENSE="CC0 v1.0 + GNU GPL v2" +REVISION="1" +SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/dolphin-plugins-$portVersion.tar.xz" +CHECKSUM_SHA256="3e9c27f667cdb30b7b3264557e1aa3e3f04664615585d024797c2ca4e74e02df" +SOURCE_DIR="dolphin-plugins-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + dolphin_plugins24$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libdolphinvcs$secondaryArchSuffix + lib:libGL$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + # KF6 + lib:libKF6I18n$secondaryArchSuffix + lib:libKF6Solid$secondaryArchSuffix + lib:libKF6TextEditor$secondaryArchSuffix + lib:libKF6TextWidgets$secondaryArchSuffix + lib:libKF6WidgetsAddons$secondaryArchSuffix + lib:libKF6XmlGui$secondaryArchSuffix + # Qt6 + lib:libQt6Core$secondaryArchSuffix + lib:libQt6Core5Compat$secondaryArchSuffix + lib:libQt6DBus$secondaryArchSuffix + lib:libQt6Gui$secondaryArchSuffix + lib:libQt6Network$secondaryArchSuffix + lib:libQt6Qml$secondaryArchSuffix + lib:libQt6Widgets$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libdolphinvcs$secondaryArchSuffix >= 24 + # KF6 + extra_cmake_modules$secondaryArchSuffix + devel:libKF6Bookmarks$secondaryArchSuffix + devel:libKF6Codecs$secondaryArchSuffix + devel:libKF6ColorScheme$secondaryArchSuffix + devel:libKF6Completion$secondaryArchSuffix + devel:libKF6ConfigCore$secondaryArchSuffix + devel:libKF6CoreAddons$secondaryArchSuffix + devel:libKF6I18n$secondaryArchSuffix + devel:libKF6ItemViews$secondaryArchSuffix + devel:libKF6JobWidgets$secondaryArchSuffix + devel:libKF6KIOCore$secondaryArchSuffix + devel:libKF6Parts$secondaryArchSuffix + devel:libKF6Service$secondaryArchSuffix + devel:libKF6Solid$secondaryArchSuffix + devel:libKF6SyntaxHighlighting$secondaryArchSuffix + devel:libKF6TextEditor$secondaryArchSuffix + devel:libKF6TextWidgets$secondaryArchSuffix + devel:libKF6WidgetsAddons$secondaryArchSuffix + devel:libKF6WindowSystem$secondaryArchSuffix + devel:libKF6XmlGui$secondaryArchSuffix + # Qt6 + devel:libQt6Core$secondaryArchSuffix + devel:libQt6Core5Compat$secondaryArchSuffix + devel:libQt6Qml$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:g++$secondaryArchSuffix + cmd:make + cmd:msgfmt + cmd:msgmerge + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + cmake -Bbuild -S. $cmakeDirArgs \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \ + -DECM_DIR=/system/data/cmake/Modules/ECM/cmake + make -C build $jobArgs +} + +INSTALL() +{ + make -C build install +}