From 7adcfae8866b1548453558a322edcca1cbb3301c Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Wed, 28 Aug 2024 10:54:13 +0200 Subject: [PATCH] kcrash6, bump version (#10949) --- ...ash6-6.2.0.recipe => kcrash6-6.5.0.recipe} | 10 +++-- .../kcrash/patches/kcrash-6.2.0.patchset | 37 ------------------- .../kcrash/patches/kcrash-6.5.0.patchset | 24 ++++++++++++ 3 files changed, 30 insertions(+), 41 deletions(-) rename kde-frameworks/kcrash/{kcrash6-6.2.0.recipe => kcrash6-6.5.0.recipe} (88%) delete mode 100644 kde-frameworks/kcrash/patches/kcrash-6.2.0.patchset create mode 100644 kde-frameworks/kcrash/patches/kcrash-6.5.0.patchset diff --git a/kde-frameworks/kcrash/kcrash6-6.2.0.recipe b/kde-frameworks/kcrash/kcrash6-6.5.0.recipe similarity index 88% rename from kde-frameworks/kcrash/kcrash6-6.2.0.recipe rename to kde-frameworks/kcrash/kcrash6-6.5.0.recipe index b68cabb22..0eef8ba0e 100644 --- a/kde-frameworks/kcrash/kcrash6-6.2.0.recipe +++ b/kde-frameworks/kcrash/kcrash6-6.5.0.recipe @@ -6,7 +6,7 @@ COPYRIGHT="2010-2024 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kcrash-${portVersion}.tar.xz" -CHECKSUM_SHA256="00b7b4885cb2a92e832816e9cc1da8cf5cccc4c4482c13648f020988c86cf588" +CHECKSUM_SHA256="870c6ce15132cc3040bc593447125ed3c256b698ba233b758430f4e725319bf3" SOURCE_DIR="kcrash-$portVersion" PATCHES="kcrash-$portVersion.patchset" @@ -64,7 +64,9 @@ BUILD() { cmake -Bbuild -S. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ + -DKDE_INSTALL_QTQCHDIR=$documentationDir/packages/qt6 \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ + -DWITH_X11=OFF \ -DBUILD_QCH=ON \ -DBUILD_TESTING=OFF make -Cbuild $jobArgs @@ -79,13 +81,13 @@ INSTALL() packageEntries devel \ $developDir \ - $dataDir/doc \ + $documentationDir \ $libDir/cmake } TEST() { # 67% tests passed, 1 tests failed out of 3 - export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}" - make -Cbuild test + export LIBRARY_PATH=$LIBRARY_PATH:$sourceDir/build/bin + ctest --test-dir build --output-on-failure } diff --git a/kde-frameworks/kcrash/patches/kcrash-6.2.0.patchset b/kde-frameworks/kcrash/patches/kcrash-6.2.0.patchset deleted file mode 100644 index d444f980e..000000000 --- a/kde-frameworks/kcrash/patches/kcrash-6.2.0.patchset +++ /dev/null @@ -1,37 +0,0 @@ -From 08fd8b8a2cbd606a1e735c2c7c39e322022029fd Mon Sep 17 00:00:00 2001 -From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Sun, 25 Feb 2024 21:57:58 +1000 -Subject: Fix build on Haiku - - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4818ffa..fee977d 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -23,7 +23,7 @@ include(ECMDeprecationSettings) - set(REQUIRED_QT_VERSION 6.5.0) - find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core Gui) - --if (UNIX AND NOT APPLE AND NOT ANDROID) -+if (UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAIKU) - option(WITH_X11 "Build with X11 integration" ON) - else() - set(WITH_X11 OFF) -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 3bdb2b5..fd3f1b7 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -47,6 +47,10 @@ target_include_directories(KF6Crash INTERFACE "$ +Date: Sun, 25 Feb 2024 21:57:58 +1000 +Subject: Fix build on Haiku + + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 16c520c..7bdf9d1 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -47,6 +47,10 @@ target_include_directories(KF6Crash INTERFACE "$