sonnet: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 12:44:58 +10:00
parent 6c9e45e623
commit 36bf37c772
2 changed files with 9 additions and 3 deletions

View File

@@ -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
}