Skip to content

Commit

Permalink
sonnet: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
threedeyes committed May 9, 2022
1 parent 6c9e45e commit 36bf37c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -57,6 +57,11 @@ BUILD_PREREQUIRES="
cmd:make
"

PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}

BUILD()
{
mkdir -p build
Expand All @@ -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
}

Expand Down

0 comments on commit 36bf37c

Please sign in to comment.