filelight, revert to 25.08.3 (#13473)

requires Qt >= 6.8.1?
This commit is contained in:
Schrijvers Luc
2025-12-23 08:28:21 +01:00
committed by GitHub
parent 7019a82054
commit 6907d07f42
2 changed files with 3 additions and 33 deletions

View File

@@ -15,7 +15,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/filelight-$portVersion.tar.xz"
CHECKSUM_SHA256="355386cc10e88808eebf76fbc84094bc24b90d76afe28a9bda41b6b49381a5ab"
CHECKSUM_SHA256="8a3a825c5a1c4f3662d7b786f75bf8faef6ac9f6723c8e8cd29e6cf15bda8080"
SOURCE_DIR="filelight-$portVersion"
PATCHES="filelight-$portVersion.patchset"
ADDITIONAL_FILES="filelight.rdef.in"
@@ -111,7 +111,7 @@ TEST_REQUIRES="
PATCH()
{
# reset Qt version
sed -e 's|6.9.0|6.7.2|' CMakeLists.txt
sed -e 's|6.8.1|6.7.2|' CMakeLists.txt
}
BUILD()
@@ -119,6 +119,7 @@ BUILD()
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DCMAKE_INSTALL_BINDIR=$appsDir \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev

View File

@@ -1,31 +0,0 @@
From f37c504bd9991d32a55929482e99427cbbfaa0de Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 4 Mar 2024 22:51:23 +1000
Subject: Fix for Haiku
diff --git a/autotests/directoryIteratorTest.cpp b/autotests/directoryIteratorTest.cpp
index 20806cf..625e5ea 100644
--- a/autotests/directoryIteratorTest.cpp
+++ b/autotests/directoryIteratorTest.cpp
@@ -65,7 +65,7 @@ private Q_SLOTS:
QVERIFY(!file.isSkippable);
#ifdef Q_OS_WINDOWS
QCOMPARE(file.size, 7682);
-#elif defined(Q_OS_FREEBSD)
+#elif defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU)
// CI keeps changing, we don't assert anything for freebsd.
#elif defined(Q_OS_LINUX)
QCOMPARE(file.size, 16 * DEV_BSIZE);
@@ -90,7 +90,7 @@ private Q_SLOTS:
QVERIFY(!symlink.isSkippable);
#ifdef Q_OS_WINDOWS
QCOMPARE(symlink.size, 7682);
-#elif defined(Q_OS_FREEBSD)
+#elif defined(Q_OS_FREEBSD) || defined(Q_OS_HAIKU)
// CI keeps changing, we don't assert anything for freebsd.
#else
// We don't know the order, but one should be a duplicate
--
2.50.1