From 36bf37c7724b88aa883b927563cda59d96074aa9 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Mon, 9 May 2022 12:44:58 +1000 Subject: [PATCH] sonnet: bump version --- ...sonnet-5.86.0.patchset => sonnet-5.93.0.patchset} | 0 .../{sonnet-5.86.0.recipe => sonnet-5.93.0.recipe} | 12 +++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) rename kde-frameworks/sonnet/patches/{sonnet-5.86.0.patchset => sonnet-5.93.0.patchset} (100%) rename kde-frameworks/sonnet/{sonnet-5.86.0.recipe => sonnet-5.93.0.recipe} (89%) diff --git a/kde-frameworks/sonnet/patches/sonnet-5.86.0.patchset b/kde-frameworks/sonnet/patches/sonnet-5.93.0.patchset similarity index 100% rename from kde-frameworks/sonnet/patches/sonnet-5.86.0.patchset rename to kde-frameworks/sonnet/patches/sonnet-5.93.0.patchset diff --git a/kde-frameworks/sonnet/sonnet-5.86.0.recipe b/kde-frameworks/sonnet/sonnet-5.93.0.recipe similarity index 89% rename from kde-frameworks/sonnet/sonnet-5.86.0.recipe rename to kde-frameworks/sonnet/sonnet-5.93.0.recipe index d4d2f1c08..829589c25 100644 --- a/kde-frameworks/sonnet/sonnet-5.86.0.recipe +++ b/kde-frameworks/sonnet/sonnet-5.93.0.recipe @@ -9,11 +9,11 @@ different algorithms. The simplest way to use Sonnet in your application is to use the \ SpellCheckDecorator class on your QTextEdit." HOMEPAGE="https://github.com/KDE/sonnet/" -COPYRIGHT="2010-2021 KDE Organisation" +COPYRIGHT="2010-2022 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" SOURCE_URI="https://github.com/KDE/sonnet/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="a971bc7c381dc0e44375fc3696ff7cfbf0592983924c6d298c7b14255ae37d7d" +CHECKSUM_SHA256="67ff004735f57ccec9ed489011b656e3f3b0f7827ca0e43a2f93e9dd6f974dc1" PATCHES="sonnet-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" @@ -48,7 +48,7 @@ BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix >= $portVersion devel:libaspell$secondaryArchSuffix - devel:libQt5Core$secondaryArchSuffix >= 5.13 + devel:libQt5Core$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:cmake @@ -57,6 +57,11 @@ BUILD_PREREQUIRES=" cmd:make " +PATCH() +{ + sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml +} + BUILD() { mkdir -p build @@ -67,6 +72,7 @@ BUILD() -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake + make $jobArgs }