From 951c15a15749b67abe7ad9dc1876ef95e2e6a13a Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Tue, 13 May 2025 14:51:55 +0200 Subject: [PATCH] kgoldrunner, bump to 25.04.0 (#12372) --- ...unner-24.12.3.recipe => kgoldrunner-25.04.0.recipe} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename kde-apps/kgoldrunner/{kgoldrunner-24.12.3.recipe => kgoldrunner-25.04.0.recipe} (95%) diff --git a/kde-apps/kgoldrunner/kgoldrunner-24.12.3.recipe b/kde-apps/kgoldrunner/kgoldrunner-25.04.0.recipe similarity index 95% rename from kde-apps/kgoldrunner/kgoldrunner-24.12.3.recipe rename to kde-apps/kgoldrunner/kgoldrunner-25.04.0.recipe index 572568c50..a4603860d 100644 --- a/kde-apps/kgoldrunner/kgoldrunner-24.12.3.recipe +++ b/kde-apps/kgoldrunner/kgoldrunner-25.04.0.recipe @@ -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="4956cb028ef381fbbe57ee88b80ef4ad5a9f00037f6f0e920118f0aed240d972" +CHECKSUM_SHA256="5bceca5556c6c8600512ca889b399d4a567068378f5f0b07cdaebd97a648bf1e" SOURCE_DIR="kgoldrunner-$portVersion" ADDITIONAL_FILES="kgoldrunner.rdef.in" @@ -17,7 +17,7 @@ SECONDARY_ARCHITECTURES="x86" PROVIDES=" kgoldrunner$secondaryArchSuffix = $portVersion - app:KGoldRunner$secondaryArchSuffix = $portVersion + app:KGoldRunner = $portVersion " REQUIRES=" haiku$secondaryArchSuffix @@ -105,6 +105,8 @@ PATCH() sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt # remove dbus sed -e '/KDBusService service;/d' -i src/main.cpp + # use Haiku's icon theme + sed -e 's,\ KIconTheme::initTheme();,\// KIconTheme::initTheme();,g' -i src/main.cpp } BUILD() @@ -126,17 +128,17 @@ INSTALL() mv $appsDir/kgoldrunner $appsDir/KGoldRunner - local APP_SIGNATURE="application/x-vnd.kde-kgoldrunner" 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" + local APP_SIGNATURE="application/x-vnd.kde-kgoldrunner" 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|" \ + -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ $portDir/additional-files/kgoldrunner.rdef.in > kgoldrunner.rdef addResourcesToBinaries kgoldrunner.rdef $appsDir/KGoldRunner