dolphin_kf6, bump to 25.12.0 (#13449)

This commit is contained in:
Schrijvers Luc
2025-12-21 15:20:56 +01:00
committed by GitHub
parent 5aa11ca400
commit 980fd35ad9
2 changed files with 4 additions and 33 deletions

View File

@@ -25,11 +25,10 @@ At first look, this is a simple file manager, but it has many talents. Some feat
HOMEPAGE="https://userbase.kde.org/Dolphin"
COPYRIGHT="2000-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/dolphin-$portVersion.tar.xz"
CHECKSUM_SHA256="ddd5e5622594792490695999188c6215c3a0821787c71dfb57dbfdd08e1ce935"
CHECKSUM_SHA256="02d67059c13c5a4cf74847f0f1c0cf9a6de47345ca80f2e3ba5ba8f408481bff"
SOURCE_DIR="dolphin-$portVersion"
PATCHES="dolphin-$portVersion.patchset"
ADDITIONAL_FILES="dolphin.rdef.in"
ARCHITECTURES="all !x86_gcc2"
@@ -47,7 +46,7 @@ libVersionCompat="$libVersion compat >= 6"
PROVIDES="
dolphin_kf6$secondaryArchSuffix = $portVersion
app:Dolphin$secondaryArchSuffix = $portVersion
app:Dolphin = $portVersion
cmd:dolphin$commandSuffix = $portVersion
cmd:servicemenuinstaller$commandSuffix = $portVersion
lib:libdolphinprivate$secondaryArchSuffix = $libVersionCompat
@@ -76,7 +75,6 @@ REQUIRES="
lib:libKF6CoreAddons$secondaryArchSuffix
lib:libKF6Crash$secondaryArchSuffix
lib:libKF6DBusAddons$secondaryArchSuffix
lib:libKF6DocTools$secondaryArchSuffix
lib:libKF6FileMetadata$secondaryArchSuffix
lib:libKF6GuiAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
@@ -183,10 +181,8 @@ BUILD()
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
-DKDE_INSTALL_DATAROOTDIR=$dataDir \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR="/system/data/cmake/Modules/ECM/cmake" \
-DHAVE_PACKAGEKIT=FALSE \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev

View File

@@ -1,25 +0,0 @@
From f91b67cd7b0e9ec3e52e4076bb1977e2bde17943 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Sun, 17 Aug 2025 16:54:30 +0200
Subject: Fix Qt >= 6.8 error
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index b702f5b..1ed8578 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -2247,7 +2247,11 @@ void DolphinView::applyDynamicView()
for (const auto &file : itemList) {
++checkedItems;
+#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
const QString type = file.mimetype().slice(0, 5);
+#else
+ const QString type = file.mimetype().sliced(0, 5);
+#endif
if (type == "image" || type == "video") {
++imageAndVideoCount;
--
2.50.1