KDE frameworks, bump to 6.19.0 part7 (#13113)

This commit is contained in:
Schrijvers Luc
2025-10-28 13:21:06 +01:00
committed by GitHub
parent fc735bf6f4
commit ecfa8d3811
11 changed files with 257 additions and 95 deletions

View File

@@ -7,8 +7,9 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/krunner-${portVersion}.tar.xz"
CHECKSUM_SHA256="f311741131552d14875880707d70402028bfb000d0d96f8073464311fcab5dbc"
CHECKSUM_SHA256="d59ca1a7142529bdca28f539dc7b3784f975be68b36c69d0c3e6835966ec32ab"
SOURCE_DIR="krunner-$portVersion"
PATCHES="krunner6-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -27,6 +28,7 @@ REQUIRES="
lib:libKF6CoreAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
lib:libKF6ItemModels$secondaryArchSuffix
lib:libKF6WindowSystem$secondaryArchSuffix
lib:libQt6Core$secondaryArchSuffix
lib:libQt6DBus$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
@@ -40,18 +42,26 @@ REQUIRES_devel="
krunner6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
krunner6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libKF6ConfigCore$secondaryArchSuffix == $libVersion
devel:libKF6CoreAddons$secondaryArchSuffix == $libVersion
devel:libKF6I18n$secondaryArchSuffix == $libVersion
devel:libKF6ItemModels$secondaryArchSuffix == $libVersion
devel:libKF6ConfigCore$secondaryArchSuffix >= $libVersion
devel:libKF6CoreAddons$secondaryArchSuffix >= $libVersion
devel:libKF6I18n$secondaryArchSuffix >= $libVersion
devel:libKF6ItemModels$secondaryArchSuffix >= $libVersion
devel:libKF6WindowSystem$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
@@ -68,22 +78,25 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLib \
libKF6Runner
@@ -91,6 +104,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -0,0 +1,41 @@
From 08aee05e07a20c115be085e34d4a2bcf2b5ec234 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Sat, 13 Sep 2025 11:39:22 +0200
Subject: Disable KWaylandExtras
diff --git a/src/dbusrunner.cpp b/src/dbusrunner.cpp
index 84293ec..5c62150 100644
--- a/src/dbusrunner.cpp
+++ b/src/dbusrunner.cpp
@@ -17,7 +17,9 @@
#include <QIcon>
#include <set>
+#ifndef Q_OS_HAIKU
#include <KWaylandExtras>
+#endif
#include <KWindowSystem>
#include "dbusutils_p.h"
@@ -288,6 +290,9 @@ void DBusRunner::run(const KRunner::RunnerContext & /*context*/, const KRunner::
QDBusConnection::sessionBus().call(runMethod, QDBus::NoBlock);
};
+#ifdef Q_OS_HAIKU
+ run();
+#else
if (KWindowSystem::isPlatformWayland() && qGuiApp->focusWindow()) {
auto tokenFuture = KWaylandExtras::xdgActivationToken(qGuiApp->focusWindow(), {});
tokenFuture.then(this, [this, service, matchId, actionId, run](const QString &token) {
@@ -301,6 +306,7 @@ void DBusRunner::run(const KRunner::RunnerContext & /*context*/, const KRunner::
} else {
run();
}
+#endif
}
QImage DBusRunner::decodeImage(const RemoteImage &remoteImage)
--
2.51.0

View File

@@ -8,7 +8,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kstatusnotifieritem-$portVersion.tar.xz"
CHECKSUM_SHA256="73c2590b2f6fb5f61fc3b7dc021df763bf0f3969c1eab8c5d0b85df445acad20"
CHECKSUM_SHA256="5e40cb3eee9ad5695d504c790475223601e8569cfe5fbc3717480da2f3556949"
SOURCE_DIR="kstatusnotifieritem-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -38,14 +38,21 @@ REQUIRES_devel="
kstatusnotifieritem6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
kstatusnotifieritem6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libKF6WindowSystem$secondaryArchSuffix == $libVersion
devel:libKF6WindowSystem$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
@@ -60,22 +67,25 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLib \
libKF6StatusNotifierItem
@@ -83,6 +93,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/ksvg-$portVersion.tar.xz"
CHECKSUM_SHA256="ee3bf0726e84137c131ccd5c61c17f08edc0c0d8e9fa27d26cd3a4524f5cf6c3"
CHECKSUM_SHA256="92a2cbc4604a3ea86d9b8ad921adff93646156017bc8fa5c75958ef324b5e9ef"
SOURCE_DIR="ksvg-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -41,21 +41,28 @@ REQUIRES_devel="
ksvg6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
ksvg6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libKF6Archive$secondaryArchSuffix == $libVersion
devel:libKF6ColorScheme$secondaryArchSuffix == $libVersion
devel:libKF6ConfigCore$secondaryArchSuffix == $libVersion
devel:libKF6CoreAddons$secondaryArchSuffix == $libVersion
devel:libKF6GuiAddons$secondaryArchSuffix == $libVersion
devel:libKirigamiPlatform$secondaryArchSuffix == $libVersion
devel:libKF6Archive$secondaryArchSuffix >= $libVersion
devel:libKF6ColorScheme$secondaryArchSuffix >= $libVersion
devel:libKF6ConfigCore$secondaryArchSuffix >= $libVersion
devel:libKF6CoreAddons$secondaryArchSuffix >= $libVersion
devel:libKF6GuiAddons$secondaryArchSuffix >= $libVersion
devel:libKirigamiPlatform$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
devel:libQt6Svg$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
@@ -70,22 +77,25 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLib \
libKF6Svg
@@ -93,6 +103,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -10,7 +10,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/ktexteditor-${portVersion}.tar.xz"
CHECKSUM_SHA256="abebfe7a9ee4ba1ab8e1b1b8035e948a174451cce8ab4ad8278d389a0e597128"
CHECKSUM_SHA256="f2382910fe32e92bfd07def4e8f53d58d85725194a244123d938ab0c42a807f1"
SOURCE_DIR="ktexteditor-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -66,28 +66,35 @@ PROVIDES_devel="
"
REQUIRES_devel="
ktexteditor6$secondaryArchSuffix == $portVersion base
devel:libKF6Parts$secondaryArchSuffix == $libVersion
devel:libKF6SyntaxHighlighting$secondaryArchSuffix == $libVersion
devel:libKF6Parts$secondaryArchSuffix
devel:libKF6SyntaxHighlighting$secondaryArchSuffix
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
ktexteditor6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libeditorconfig$secondaryArchSuffix
devel:libgit2$secondaryArchSuffix >= 1.8
devel:libKF6Archive$secondaryArchSuffix == $libVersion
devel:libKF6GuiAddons$secondaryArchSuffix == $libVersion
devel:libKF6I18n$secondaryArchSuffix == $libVersion
devel:libKF6KIOCore$secondaryArchSuffix == $libVersion
devel:libKF6Parts$secondaryArchSuffix == $libVersion
devel:libKF6SonnetCore$secondaryArchSuffix == $libVersion
devel:libKF6SyntaxHighlighting$secondaryArchSuffix == $libVersion
devel:libKF6Archive$secondaryArchSuffix >= $libVersion
devel:libKF6GuiAddons$secondaryArchSuffix >= $libVersion
devel:libKF6I18n$secondaryArchSuffix >= $libVersion
devel:libKF6KIOCore$secondaryArchSuffix >= $libVersion
devel:libKF6Parts$secondaryArchSuffix >= $libVersion
devel:libKF6SonnetCore$secondaryArchSuffix >= $libVersion
devel:libKF6SyntaxHighlighting$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
devel:libQt6TextToSpeech$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
@@ -102,22 +109,25 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLib \
libKF6TextEditor
@@ -125,6 +135,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -10,7 +10,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/ktexttemplate-$portVersion.tar.xz"
CHECKSUM_SHA256="1880cf1a890031dc6172513d3dfe78f38d5726184978220ca7142a3a6e40f9b5"
CHECKSUM_SHA256="4087353ac20e376a3dce2ef49bc62f8856eb3b7933707faf62bb31b179c11c83"
SOURCE_DIR="ktexttemplate-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -37,14 +37,21 @@ REQUIRES_devel="
ktexttemplate6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
ktexttemplate6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
@@ -55,22 +62,25 @@ BUILD_PREREQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLib \
libKF6TextTemplate
@@ -79,6 +89,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -32,7 +32,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kunitconversion-${portVersion}.tar.xz"
CHECKSUM_SHA256="a5a472e9bf584191195dd407d09bc4679a34b869a97ab9fdf83aaca58e8b0e0d"
CHECKSUM_SHA256="d4f0e39e27596c6550f3fc72fb67b0d4966acfd7d702a011a0fca420b6f9b393"
SOURCE_DIR="kunitconversion-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -61,16 +61,23 @@ REQUIRES_devel="
kunitconversion6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
kunitconversion6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libKF6I18n$secondaryArchSuffix == $libVersion
devel:libKF6I18n$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Network$secondaryArchSuffix
devel:libQt6Xml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
@@ -81,22 +88,25 @@ BUILD_PREREQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLib \
libKF6UnitConversion
@@ -104,6 +114,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -6,7 +6,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kuserfeedback-$portVersion.tar.xz"
CHECKSUM_SHA256="f4f744e0aa878a4c98499eefa798eaed9dd9cdeb192182292a54dfd7eb81e6f5"
CHECKSUM_SHA256="6768e73fd21a290f928b8d5714f6231ca5df8a72df625f43ac8f7ab6bb711f9f"
SOURCE_DIR="kuserfeedback-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -43,9 +43,15 @@ REQUIRES_devel="
kuserfeedback6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
kuserfeedback6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libQt6Charts$secondaryArchSuffix
devel:libQt6Core$secondaryArchSuffix
@@ -57,6 +63,7 @@ BUILD_REQUIRES="
devel:libQt6Widgets$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:bison
cmd:cmake
cmd:flex
@@ -74,23 +81,26 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt6/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
# cleanup
rm -rf $dataDir/{applications,metainfo}
@@ -102,6 +112,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -7,7 +7,7 @@ COPYRIGHT="2010-2025 KDE Foundations"
LICENSE="GNU LGPL v3"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/prison-$portVersion.tar.xz"
CHECKSUM_SHA256="382b2b9e3a0055c34b60290352b8566a8bff75ca8735b9534a076383d6e4e510"
CHECKSUM_SHA256="bfd623f95e00af25ec49966679010c411ef8798b7c1a31c258484c31067d5356"
SOURCE_DIR="prison-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -47,9 +47,15 @@ REQUIRES_devel="
prison6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
prison6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libdmtx$secondaryArchSuffix
devel:libqrencode$secondaryArchSuffix
@@ -59,6 +65,7 @@ BUILD_REQUIRES="
devel:libZXing$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
@@ -69,23 +76,26 @@ BUILD_PREREQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_LOGGINGCATEGORIESDIR=$settingsDir/xdg \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLibs \
libKF6Prison \
@@ -94,6 +104,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -8,7 +8,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/purpose-${portVersion}.tar.xz"
CHECKSUM_SHA256="aa0ff2c98e0cd517c4d81914ba28f4a6101b25ee9acb177480967f45b03988bf"
CHECKSUM_SHA256="799ff3e69872400d2fa6e5e2c91fed66ed6bd0d7a9163efc004eee0bf6d093a2"
SOURCE_DIR="purpose-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -28,6 +28,8 @@ REQUIRES="
lib:libKF6ConfigCore$secondaryArchSuffix
lib:libKF6CoreAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
lib:libKF6ItemModels$secondaryArchSuffix
lib:libKF6Prison$secondaryArchSuffix
lib:libQt6Core$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
lib:libQt6Network$secondaryArchSuffix
@@ -50,19 +52,26 @@ REQUIRES_devel="
purpose6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
purpose6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libKF6CalendarEvents$secondaryArchSuffix == $libVersion
devel:libKF6ConfigCore$secondaryArchSuffix == $libVersion
devel:libKF6CoreAddons$secondaryArchSuffix == $libVersion
devel:libKF6I18n$secondaryArchSuffix == $libVersion
devel:libKF6KIOCore$secondaryArchSuffix == $libVersion
devel:libKF6Notifications$secondaryArchSuffix == $libVersion
devel:libKF6PrisonScanner$secondaryArchSuffix == $libVersion
devel:libKF6Service$secondaryArchSuffix == $libVersion
devel:libKirigami$secondaryArchSuffix == $libVersion
devel:libKF6CalendarEvents$secondaryArchSuffix >= $libVersion
devel:libKF6ConfigCore$secondaryArchSuffix >= $libVersion
devel:libKF6CoreAddons$secondaryArchSuffix >= $libVersion
devel:libKF6I18n$secondaryArchSuffix >= $libVersion
devel:libKF6ItemModels$secondaryArchSuffix >= $libVersion
devel:libKF6KIOCore$secondaryArchSuffix >= $libVersion
devel:libKF6Notifications$secondaryArchSuffix >= $libVersion
devel:libKF6PrisonScanner$secondaryArchSuffix >= $libVersion
devel:libKF6Service$secondaryArchSuffix >= $libVersion
devel:libKirigami$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
"
@@ -73,6 +82,7 @@ if [ "$targetArchitecture" != x86_gcc2 ]; then
"
fi
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:arc
cmd:cmake
cmd:g++$secondaryArchSuffix
@@ -89,22 +99,25 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLibs \
libKF6Purpose \
@@ -113,6 +126,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()

View File

@@ -8,7 +8,7 @@ LICENSE="GNU LGPL v3
GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/qqc2-desktop-style-${portVersion}.tar.xz"
CHECKSUM_SHA256="3ab12c3e232c6c5bdca39738ac6f1a517beff6da58de36e1014b8355ff63c3e7"
CHECKSUM_SHA256="68f9b93f6e8b0fba244f022d8367ef4735422be746e6752764ab3887e05f8535"
SOURCE_DIR="qqc2-desktop-style-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -44,13 +44,13 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
devel:libKF6ColorScheme$secondaryArchSuffix == $libVersion
devel:libKF6ConfigCore$secondaryArchSuffix == $libVersion
devel:libKF6Iconthemes$secondaryArchSuffix == $libVersion
devel:libKF6SonnetCore$secondaryArchSuffix == $libVersion
devel:libKirigami$secondaryArchSuffix == $libVersion
devel:libKF6ColorScheme$secondaryArchSuffix >= $libVersion
devel:libKF6ConfigCore$secondaryArchSuffix >= $libVersion
devel:libKF6Iconthemes$secondaryArchSuffix >= $libVersion
devel:libKF6SonnetCore$secondaryArchSuffix >= $libVersion
devel:libKirigami$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
"
@@ -70,12 +70,10 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev