ktextwidgets: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 15:00:28 +10:00
parent b5eae5c15f
commit b677d1e579

View File

@@ -2,11 +2,11 @@ SUMMARY="Text editing widgets"
DESCRIPTION="KTextWidgets provides widgets for displaying and editing text. \
It supports rich text as well as plain text."
HOMEPAGE="https://github.com/KDE/ktextwidgets/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/ktextwidgets/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="811103672b1a82349828de0c008ae3dc2693af4b8881f2551a14374bd6e2e00a"
CHECKSUM_SHA256="998cd3c3fb45fba12eeb020716bac861dadf07ce2065b537621f5e59e695f91b"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -72,11 +72,17 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:python2
cmd:qdbuscpp2xml$secondaryArchSuffix
cmd:qdbuscpp2xml$secondaryArchSuffix >= 5
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -86,6 +92,7 @@ BUILD()
-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}