From 126081dc15efc6603b4f3f96fe0f79de63fbcc78 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 16 May 2025 14:53:55 +0200 Subject: [PATCH] kapman, bump to 25.04.0 (#12395) --- ...n-24.12.3.recipe => kapman-25.04.0.recipe} | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) rename kde-apps/kapman/{kapman-24.12.3.recipe => kapman-25.04.0.recipe} (93%) diff --git a/kde-apps/kapman/kapman-24.12.3.recipe b/kde-apps/kapman/kapman-25.04.0.recipe similarity index 93% rename from kde-apps/kapman/kapman-24.12.3.recipe rename to kde-apps/kapman/kapman-25.04.0.recipe index bb8019d5a..01c96f5dc 100644 --- a/kde-apps/kapman/kapman-24.12.3.recipe +++ b/kde-apps/kapman/kapman-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/kapman-$portVersion.tar.xz" -CHECKSUM_SHA256="9bb246a2114be4f28e5bb7191b21f9ebbd2b040104b0ad4a163efadccb8bf211" +CHECKSUM_SHA256="08040773c710e5d922ca1ac1d57bfaa404a223c9af8e800a345da79635d38ec1" SOURCE_DIR="kapman-$portVersion" ADDITIONAL_FILES="kapman.rdef.in" @@ -103,10 +103,9 @@ BUILD_REQUIRES=" BUILD_PREREQUIRES=" cmd:cmake cmd:g++$secondaryArchSuffix - cmd:lrelease$secondaryArchSuffix >= 5 cmd:make - cmd:msgfmt - cmd:msgmerge + cmd:msgfmt$secondaryArchSuffix + cmd:msgmerge$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix " @@ -117,37 +116,40 @@ PATCH() sed -e '/kdoctools_install(po)/ s/^#*/#/' -i CMakeLists.txt # remove dbus service 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() { - cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ $cmakeDirArgs \ -DCMAKE_INSTALL_BINDIR=$appsDir \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake - make -Cbuild $jobArgs + + make -C build $jobArgs } INSTALL() { - make -Cbuild install + make -C build install # cleanup rm -rf $dataDir/{applications,icons,metainfo} mv $appsDir/kapman $appsDir/Kapman - local APP_SIGNATURE="application/x-vnd.kde-kapman" 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-kapman" 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/kapman.rdef.in > kapman.rdef addResourcesToBinaries kapman.rdef $appsDir/Kapman