gear-apps, bump to 25.08.0, part2 (#12765)

This commit is contained in:
Schrijvers Luc
2025-08-17 19:28:08 +02:00
committed by GitHub
parent 3dc84049d1
commit e2e7b32b9b
17 changed files with 317 additions and 220 deletions

View File

@@ -12,7 +12,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kbreakout-$portVersion.tar.xz"
CHECKSUM_SHA256="2071cb79de4ec7379fbb0dbbfc9fdcaea641f58fe154d1626fe038aecef60b03"
CHECKSUM_SHA256="23f0cf5d1814bfb8f396a4d02973c1391a0ed4fe7f45bd91bcbdf5718dbb6ca7"
SOURCE_DIR="kbreakout-$portVersion"
ADDITIONAL_FILES="kbreakout.rdef.in"

View File

@@ -18,7 +18,7 @@ COPYRIGHT="2002-2011 Sebastian Stein
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kbruch-$portVersion.tar.xz"
CHECKSUM_SHA256="608874c6b716e42021ef8c0ce20fcb7536591eaf20282feb577a9dd279dd86ab"
CHECKSUM_SHA256="28ba55e51ce49b56ce30061667ae89f6965cf8d9186a985858647ab31a904e3d"
SOURCE_DIR="kbruch-$portVersion"
ADDITIONAL_FILES="kbruch.rdef.in"

View File

@@ -17,7 +17,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kcachegrind-$portVersion.tar.xz"
CHECKSUM_SHA256="9b5c8a1f97e8dd899f868fec0236e2bdd55d3e0064f1a7119d9b5481f2f58672"
CHECKSUM_SHA256="4253d8643a5e1c9261be470ac61c8f5eb2ce721036115ae204ac3aab6b38a0a4"
SOURCE_DIR="kcachegrind-$portVersion"
PATCHES="kcachegrind-$portVersion.patchset"
ADDITIONAL_FILES="kcachegrind.rdef.in"

View File

@@ -11,7 +11,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kcalc-$portVersion.tar.xz"
CHECKSUM_SHA256="a3464ea18562f599e20b9ac304c4658756878609e37f9845a49f53e7f36e791e"
CHECKSUM_SHA256="449a0d8827c44735f34cdddbdca9c3e038b3debcc86c60a57bca3ed42512d5f9"
SOURCE_DIR="kcalc-$portVersion"
ADDITIONAL_FILES="kcalc.rdef.in"

View File

@@ -13,7 +13,8 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kcharselect-$portVersion.tar.xz"
CHECKSUM_SHA256="4de53cd099291e046cf479878688cd2689a7e7f9ee27550d9b03703323cab4a4"
CHECKSUM_SHA256="ec9f2be0e119b1c7bff3363d4d405a3fa58c9cddeab68e3cdfe1d0a7908d3ee5"
PATCHES="33.patch"
ADDITIONAL_FILES="kcharselect.rdef.in"
ARCHITECTURES="all !x86_gcc2"
@@ -36,6 +37,7 @@ REQUIRES="
lib:libKF6Crash$secondaryArchSuffix
lib:libKF6GuiAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
lib:libKF6IconThemes$secondaryArchSuffix
lib:libKF6WidgetsAddons$secondaryArchSuffix
lib:libKF6XmlGui$secondaryArchSuffix
# Qt6
@@ -58,6 +60,7 @@ BUILD_REQUIRES="
devel:libKF6Crash$secondaryArchSuffix
devel:libKF6GuiAddons$secondaryArchSuffix
devel:libKF6I18n$secondaryArchSuffix
devel:libKF6IconThemes$secondaryArchSuffix
devel:libKF6WidgetsAddons$secondaryArchSuffix
devel:libKF6XmlGui$secondaryArchSuffix
# Qt6
@@ -73,6 +76,12 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
"
PATCH()
{
# use Haiku's icon theme
sed -e 's,\ KIconTheme::initTheme();,\// KIconTheme::initTheme();,g' -i main.cc
}
BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \

View File

@@ -0,0 +1,94 @@
From 0f837224651968661ccd2518d02a77648c33d539 Mon Sep 17 00:00:00 2001
From: Sune Vuorela <sune@vuorela.dk>
Date: Fri, 15 Aug 2025 10:06:04 +0000
Subject: [PATCH] Make KConfigWidgets and KIconThemes required
BUG: 506958
(cherry picked from commit 51d483c6945f1f6c50b39c4e062cd47efce9dfe1)
Co-authored-by: Nicolas Fella <nicolas.fella@gmx.de>
---
CMakeLists.txt | 17 +++++------------
kcharselectdia.cc | 5 -----
2 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e944561..c4e2502 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,6 +35,8 @@ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
I18n
WidgetsAddons
XmlGui
+ ConfigWidgets
+ IconThemes
)
find_package(KF6DocTools ${KF_MIN_VERSION})
@@ -42,8 +44,6 @@ set_package_properties(KF6DocTools PROPERTIES DESCRIPTION
"Tools to generate documentation"
TYPE OPTIONAL
)
-find_package(KF6ConfigWidgets ${KF_DEP_VERSION} QUIET)
-find_package(KF6IconThemes ${KF_DEP_VERSION} QUIET)
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KCHARSELECT VERSION_HEADER kcharselect_version.h)
@@ -77,18 +77,11 @@ target_link_libraries(kcharselect
KF6::I18n
KF6::WidgetsAddons
KF6::XmlGui
+ KF6::ConfigWidgets
+ KF6::IconThemes
+ KF6::BookmarksWidgets
)
-if(TARGET KF6::ConfigWidgets)
- target_link_libraries(kcharselect KF6::ConfigWidgets)
- target_compile_definitions(kcharselect PRIVATE WITH_CONFIGWIDGET_LIB)
-endif()
-if(TARGET KF6::IconThemes)
- target_link_libraries(kcharselect KF6::IconThemes)
-endif ()
-
-target_link_libraries(kcharselect KF6::BookmarksWidgets)
-
install(TARGETS kcharselect ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES org.kde.kcharselect.desktop DESTINATION ${KDE_INSTALL_APPDIR})
diff --git a/kcharselectdia.cc b/kcharselectdia.cc
index 3c4dedb..8c5edf6 100644
--- a/kcharselectdia.cc
+++ b/kcharselectdia.cc
@@ -25,12 +25,9 @@
#include <KStandardAction>
#include <KStandardShortcut>
#include <KToggleAction>
-
-#ifdef WITH_CONFIGWIDGET_LIB
#include <KActionMenu>
#include <KColorSchemeManager>
#include <KColorSchemeMenu>
-#endif
class KCharSelectBookmarkOwner : public KBookmarkOwner
{
@@ -172,13 +169,11 @@ KCharSelectDia::KCharSelectDia(QWidget *parent)
else
lined->setAlignment(Qt::AlignLeft);
-#if defined(WITH_CONFIGWIDGET_LIB)
// Load themes
KColorSchemeManager *manager = KColorSchemeManager::instance();
auto *colorSelectionMenu = KColorSchemeMenu::createMenu(manager, this);
colorSelectionMenu->menu()->setTitle(i18n("&Window Color Scheme"));
actionCollection()->addAction(QStringLiteral("colorscheme_menu"), colorSelectionMenu);
-#endif
QString filename = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kcharselect/bookmarks.xml"));
if (filename.isEmpty()) {
--
GitLab

View File

@@ -7,8 +7,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kdebugsettings-$portVersion.tar.xz"
CHECKSUM_SHA256="3c5642b2c9b6d95334ef4d462b4b821dd0dbd0f5b649bbd751bbc0e5ce1778d1"
PATCHES="kdebugsettings-$portVersion.patchset"
CHECKSUM_SHA256="bedd634252ff85621c2246b26d61ab1a05ed9ab18bebbf8d658f4638af5f695e"
ADDITIONAL_FILES="kdebugsettings.rdef.in"
ARCHITECTURES="all !x86_gcc2"
@@ -61,7 +60,7 @@ BUILD_REQUIRES="
devel:libKF6XmlGui$secondaryArchSuffix
# Qt6
qt6_tools${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Core$secondaryArchSuffix >= 6.8
devel:libQt6DBus$secondaryArchSuffix
devel:libQt6Gui$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
@@ -77,7 +76,7 @@ BUILD_PREREQUIRES="
"
TEST_REQUIRES="
haikuplugins$secondaryArchSuffix
qt6_haikuplugins$secondaryArchSuffix
"
BUILD()

View File

@@ -1,22 +0,0 @@
From 50b08cd87a07ef46ef4f0d9be48b822df2f24c95 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Fri, 9 May 2025 08:03:04 +0200
Subject: Disable KF6DBusAddons on Haiku
diff --git a/CMakeLists.txt b/CMakeLists.txt
index be461c7..aba74df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,7 +42,7 @@ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
Crash
)
-if(NOT WIN32 AND NOT APPLE)
+if(NOT WIN32 AND NOT APPLE AND NOT HAIKU)
find_package(KF6DBusAddons ${KF_MIN_VERSION} CONFIG REQUIRED)
set(HAVE_KDBUSADDONS true)
endif()
--
2.48.1

View File

@@ -8,7 +8,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kdenlive-$portVersion.tar.xz"
CHECKSUM_SHA256="3f07e23e5e58441acd02b89d969b33940994d9d1a8a8006b15e61eb575abd519"
CHECKSUM_SHA256="f86206b9f86fe5693121723d0bb1750f96c295e9b6c7eb1fea2b408f56cc30d6"
SOURCE_DIR="kdenlive-$portVersion"
ADDITIONAL_FILES="kdenlive.rdef.in"

View File

@@ -14,7 +14,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kdiamond-$portVersion.tar.xz"
CHECKSUM_SHA256="04328eee9500b0285c79ff10fb518714ba2d9a6b2d2e9a991f5fd7c95c7b4ea8"
CHECKSUM_SHA256="b74e0e900da60556576133dda9ef80f10a572be21c0ce5da1772a4452044e204"
SOURCE_DIR="kdiamond-$portVersion"
ADDITIONAL_FILES="kdiamond.rdef.in"

View File

@@ -6,7 +6,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kfourinline-$portVersion.tar.xz"
CHECKSUM_SHA256="149ea2a60af524ab779c97662bec0d546ee00116339a57f922b6c1b5956c8d15"
CHECKSUM_SHA256="9c613dc7bb2ed9b33ba996b7e7e18a60c944877ae1dc9472237248735c014521"
SOURCE_DIR="kfourinline-$portVersion"
ADDITIONAL_FILES="kfourinline.rdef.in"

View File

@@ -16,7 +16,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kgeography-$portVersion.tar.xz"
CHECKSUM_SHA256="a8bba4e4d1f7c15417c0b250288f9fbe5c8da9b4919be58e33567adc6492d1b0"
CHECKSUM_SHA256="4aed07a1c6e69fa3986038f1d2186aed402b792cc024417c0c195871ec02c3ed"
SOURCE_DIR="kgeography-$portVersion"
ADDITIONAL_FILES="kgeography.rdef.in"

View File

@@ -1,183 +0,0 @@
SUMMARY="Advanced download manager by KDE"
DESCRIPTION="KGet is a versatile and user-friendly download manager.
Features:
* Downloading files from FTP and HTTP(S) sources.
* Pausing and resuming of downloading files, as well as the ability to restart a download.
* Tells lots of information about current and pending downloads.
* Embedding into system tray.
* Integration with the Konqueror web browser.
* Metalink support which contain multiple URLs for downloads, along with checksums and other information."
HOMEPAGE="https://apps.kde.org/en/kget"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kget-$portVersion.tar.xz"
CHECKSUM_SHA256="2eaa2b7bf0726ea7fcdf7fef5ce6798ca306107dd9724a061d823a8d2edbf38e"
ADDITIONAL_FILES="kget.rdef.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
kget$secondaryArchSuffix = $portVersion
app:KGet = $portVersion
cmd:kget$commandSuffix = $portVersion
lib:libkgetcore$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libassuan$secondaryArchSuffix
lib:libgpgmepp$secondaryArchSuffix
lib:libKF5Archive$secondaryArchSuffix
lib:libKF5Auth$secondaryArchSuffix
lib:libKF5Bookmarks$secondaryArchSuffix
lib:libKF5Codecs$secondaryArchSuffix
lib:libKF5Completion$secondaryArchSuffix
lib:libKF5ConfigCore$secondaryArchSuffix
lib:libKF5ConfigGui$secondaryArchSuffix
lib:libKF5ConfigWidgets$secondaryArchSuffix
lib:libKF5CoreAddons$secondaryArchSuffix
lib:libKF5Crash$secondaryArchSuffix
lib:libKF5DBusAddons$secondaryArchSuffix
lib:libKF5GuiAddons$secondaryArchSuffix
lib:libKF5I18n$secondaryArchSuffix
lib:libKF5IconThemes$secondaryArchSuffix
lib:libKF5ItemViews$secondaryArchSuffix
lib:libKF5JobWidgets$secondaryArchSuffix
lib:libKF5KCMUtils$secondaryArchSuffix
lib:libKF5KIOCore$secondaryArchSuffix
lib:libKF5Notifications$secondaryArchSuffix
lib:libKF5NotifyConfig$secondaryArchSuffix
lib:libKF5Parts$secondaryArchSuffix
lib:libKF5Service$secondaryArchSuffix
lib:libKF5Solid$secondaryArchSuffix
lib:libKF5SonnetUi$secondaryArchSuffix
lib:libKF5TextEditor$secondaryArchSuffix
lib:libKF5TextWidgets$secondaryArchSuffix
lib:libKF5WidgetsAddons$secondaryArchSuffix
lib:libKF5WindowSystem$secondaryArchSuffix
lib:libKF5XmlGui$secondaryArchSuffix
lib:libmms$secondaryArchSuffix
lib:libqca_qt5$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5DBus$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libKF5Wallet$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libQt5Xml$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix
devel:libassuan$secondaryArchSuffix
devel:libboost_iostreams$secondaryArchSuffix >= 1.83.0
devel:libboost_system$secondaryArchSuffix >= 1.83.0
devel:libboost_thread$secondaryArchSuffix >= 1.83.0
devel:libgpgmepp$secondaryArchSuffix
devel:libKF5Archive$secondaryArchSuffix
devel:libKF5Auth$secondaryArchSuffix
devel:libKF5Bookmarks$secondaryArchSuffix
devel:libKF5Codecs$secondaryArchSuffix
devel:libKF5Completion$secondaryArchSuffix
devel:libKF5ConfigCore$secondaryArchSuffix
devel:libKF5ConfigWidgets$secondaryArchSuffix
devel:libKF5CoreAddons$secondaryArchSuffix
devel:libKF5Crash$secondaryArchSuffix
devel:libKF5DBusAddons$secondaryArchSuffix
devel:libKF5DocTools$secondaryArchSuffix
devel:libKF5GuiAddons$secondaryArchSuffix
devel:libKF5I18n$secondaryArchSuffix
devel:libKF5IconThemes$secondaryArchSuffix
devel:libKF5ItemModels$secondaryArchSuffix
devel:libKF5ItemViews$secondaryArchSuffix
devel:libKF5JobWidgets$secondaryArchSuffix
devel:libKF5KCMUtils$secondaryArchSuffix
devel:libKF5KIOCore$secondaryArchSuffix
devel:libKF5Notifications$secondaryArchSuffix
devel:libKF5NotifyConfig$secondaryArchSuffix
devel:libKF5Parts$secondaryArchSuffix
devel:libKF5Service$secondaryArchSuffix
devel:libKF5Solid$secondaryArchSuffix
devel:libKF5SonnetUi$secondaryArchSuffix
devel:libKF5TextEditor$secondaryArchSuffix
devel:libKF5TextWidgets$secondaryArchSuffix
devel:libKF5Wallet$secondaryArchSuffix
devel:libKF5WidgetsAddons$secondaryArchSuffix
devel:libKF5WindowSystem$secondaryArchSuffix
devel:libKF5XmlGui$secondaryArchSuffix
devel:libmms$secondaryArchSuffix
devel:libqca_qt5$secondaryArchSuffix >= 2
devel:libQt5Core$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
# disable docs generation
sed -e '/add_subdirectory(doc)/ s/^#*/#/' -i CMakeLists.txt
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
# remove dbus service
sed -e '/KDBusService dbusService/d' -i main.cpp
sed -e '/QObject::connect(&dbusService/d' -i main.cpp
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$appsDir \
-DCMAKE_INSTALL_LIBDIR=$libDir \
-DCMAKE_INSTALL_DATADIR=$dataDir \
-DCMAKE_INSTALL_DATAROOTDIR=$dataDir \
-DSHARE_INSTALL_PREFIX=$dataDir \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt5 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}
INSTALL()
{
cd build
make install
mv $appsDir/bin/kget $appsDir/KGet
rm -rf $appsDir/bin
mkdir -p $commandBinDir
ln -s $appsDir/KGet $commandBinDir/kget
local APP_SIGNATURE="application/x-vnd.kde-kget"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local LONG_INFO="$SUMMARY"
sed \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@LONG_INFO@|$LONG_INFO|" \
$portDir/additional-files/kget.rdef.in > kget.rdef
addResourcesToBinaries kget.rdef $appsDir/KGet
addAppDeskbarSymlink $appsDir/KGet
}

View File

@@ -0,0 +1,200 @@
SUMMARY="Advanced download manager by KDE"
DESCRIPTION="KGet is a versatile and user-friendly download manager.
Features:
* Downloading files from FTP and HTTP(S) sources.
* Pausing and resuming of downloading files, as well as the ability to restart a download.
* Tells lots of information about current and pending downloads.
* Embedding into system tray.
* Integration with the Konqueror web browser.
* Metalink support which contain multiple URLs for downloads, along with checksums and other information."
HOMEPAGE="https://apps.kde.org/kget/"
COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kget-$portVersion.tar.xz"
CHECKSUM_SHA256="153e2fc21af6188f2f2b0b9763496192966d1694382f536625e1c820779e4a2c"
SOURCE_DIR="kget-$portVersion"
ADDITIONAL_FILES="kget.rdef.in"
# kio issue?
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
kget$secondaryArchSuffix = $portVersion
app:KGet$secondaryArchSuffix = $portVersion
lib:libkgetcore$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libassuan$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libgpgmepp$secondaryArchSuffix
lib:libKTorrent6$secondaryArchSuffix
lib:libmms$secondaryArchSuffix
lib:libqca_qt6$secondaryArchSuffix
lib:libqgpgmeqt6$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
# KF6
lib:libKF6Archive$secondaryArchSuffix
lib:libKF6AuthCore$secondaryArchSuffix
lib:libKF6Bookmarks$secondaryArchSuffix
lib:libKF6Codecs$secondaryArchSuffix
lib:libKF6ColorScheme$secondaryArchSuffix
lib:libKF6Completion$secondaryArchSuffix
lib:libKF6ConfigCore$secondaryArchSuffix
lib:libKF6ConfigGui$secondaryArchSuffix
lib:libKF6ConfigWidgets$secondaryArchSuffix
lib:libKF6CoreAddons$secondaryArchSuffix
lib:libKF6Crash$secondaryArchSuffix
lib:libKF6DBusAddons$secondaryArchSuffix
lib:libKF6GuiAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
lib:libKF6IconThemes$secondaryArchSuffix
lib:libKF6ItemViews$secondaryArchSuffix
lib:libKF6JobWidgets$secondaryArchSuffix
lib:libKF6KCMUtils$secondaryArchSuffix
lib:libKF6KIOCore$secondaryArchSuffix
lib:libKF6Notifications$secondaryArchSuffix
lib:libKF6NotifyConfig$secondaryArchSuffix
lib:libKF6Parts$secondaryArchSuffix
lib:libKF6Service$secondaryArchSuffix
lib:libKF6Solid$secondaryArchSuffix
lib:libKF6SonnetUi$secondaryArchSuffix
lib:libKF6StatusNotifierItem$secondaryArchSuffix
lib:libKF6TextEditor$secondaryArchSuffix
lib:libKF6TextWidgets$secondaryArchSuffix
lib:libKF6WidgetsAddons$secondaryArchSuffix
lib:libKF6WindowSystem$secondaryArchSuffix
lib:libKF6XmlGui$secondaryArchSuffix
# Qt6
lib:libQt6Core$secondaryArchSuffix
lib:libQt6DBus$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
lib:libQt6Qml$secondaryArchSuffix
lib:libKF6Wallet$secondaryArchSuffix
lib:libQt6Widgets$secondaryArchSuffix
lib:libQt6Xml$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libassuan$secondaryArchSuffix
devel:libboost_iostreams$secondaryArchSuffix >= 1.88.0
devel:libboost_system$secondaryArchSuffix >= 1.88.0
devel:libboost_thread$secondaryArchSuffix >= 1.88.0
devel:libgpgmepp$secondaryArchSuffix
devel:libKTorrent6$secondaryArchSuffix
devel:libmms$secondaryArchSuffix
devel:libqca_qt6$secondaryArchSuffix
devel:libqgpgmeqt6$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
# KF6
extra_cmake_modules$secondaryArchSuffix
devel:libKF6Archive$secondaryArchSuffix
devel:libKF6AuthCore$secondaryArchSuffix
devel:libKF6Bookmarks$secondaryArchSuffix
devel:libKF6Codecs$secondaryArchSuffix
devel:libKF6ColorScheme$secondaryArchSuffix
devel:libKF6Completion$secondaryArchSuffix
devel:libKF6ConfigCore$secondaryArchSuffix
devel:libKF6ConfigWidgets$secondaryArchSuffix
devel:libKF6CoreAddons$secondaryArchSuffix
devel:libKF6Crash$secondaryArchSuffix
devel:libKF6DBusAddons$secondaryArchSuffix
devel:libKF6DocTools$secondaryArchSuffix
devel:libKF6GuiAddons$secondaryArchSuffix
devel:libKF6I18n$secondaryArchSuffix
devel:libKF6IconThemes$secondaryArchSuffix
devel:libKF6ItemModels$secondaryArchSuffix
devel:libKF6ItemViews$secondaryArchSuffix
devel:libKF6JobWidgets$secondaryArchSuffix
devel:libKF6KCMUtils$secondaryArchSuffix
devel:libKF6KIOCore$secondaryArchSuffix
devel:libKF6Notifications$secondaryArchSuffix
devel:libKF6NotifyConfig$secondaryArchSuffix
devel:libKF6Parts$secondaryArchSuffix
devel:libKF6Service$secondaryArchSuffix
devel:libKF6Solid$secondaryArchSuffix
devel:libKF6SonnetUi$secondaryArchSuffix
devel:libKF6StatusNotifierItem$secondaryArchSuffix
devel:libKF6TextEditor$secondaryArchSuffix
devel:libKF6TextWidgets$secondaryArchSuffix
devel:libKF6Wallet$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$secondaryArchSuffix
cmd:msgmerge$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
TEST_REQUIRES="
qthaikuplugins$secondaryArchSuffix
"
PATCH()
{
# disable docs generation
sed -e '/add_subdirectory(doc)/ s/^#*/#/' -i CMakeLists.txt
sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt
# remove dbus service
sed -e '/KDBusService dbusService/d' -i main.cpp
sed -e '/QObject::connect(&dbusService/d' -i main.cpp
}
BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DCMAKE_INSTALL_BINDIR=$appsDir \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
}
INSTALL()
{
make -C build install
# cleanup
rm -rf $dataDir/{applications,config.kcfg,dbus-1,icons,kio,knotifications6,metainfo}
mv $appsDir/kget $appsDir/KGet
local APP_SIGNATURE="application/x-vnd.kde-kget"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local LONG_INFO="$SUMMARY"
sed \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@LONG_INFO@|$LONG_INFO|" \
$portDir/additional-files/kget.rdef.in > kget.rdef
addResourcesToBinaries kget.rdef $appsDir/KGet
addAppDeskbarSymlink $appsDir/KGet
}
TEST()
{
# 75% tests passed, 1 tests failed out of 4
ctest --test-dir build --output-on-failure
}

View File

@@ -8,7 +8,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kgoldrunner-$portVersion.tar.xz"
CHECKSUM_SHA256="5bceca5556c6c8600512ca889b399d4a567068378f5f0b07cdaebd97a648bf1e"
CHECKSUM_SHA256="95dcd86e97ab768fcecedd5aa2d0c2a86a9d0b079430539878e11e151f9d32a4"
SOURCE_DIR="kgoldrunner-$portVersion"
ADDITIONAL_FILES="kgoldrunner.rdef.in"

View File

@@ -10,7 +10,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/khangman-$portVersion.tar.xz"
CHECKSUM_SHA256="ef1b64d67f82da8063d9f33ce30541f1eaafcc4df644605b77d766ec2e876ab2"
CHECKSUM_SHA256="6e0395602370083082525717485fa1030ae7b4e31ecb97ad2035aa3c4788a890"
ADDITIONAL_FILES="khangman.rdef.in"
ARCHITECTURES="all !x86_gcc2"