kparts: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 16:26:01 +10:00
parent e287b83ecd
commit 2926c607b8

View File

@@ -3,11 +3,11 @@ DESCRIPTION="This library implements the framework for KDE parts, which are \
elaborate widgets with a user-interface defined in terms of actions (menu \
items, toolbar icons)."
HOMEPAGE="https://github.com/KDE/kparts/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kparts/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="d6716de72590db219b3080ba2b031572cc05606b77521f7fcde17d23e49a5372"
CHECKSUM_SHA256="1ceeabbb91f9070e2b4a7bae335f0f781b2b66c64d79045d4ca5ba67bec3a3df"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -75,16 +75,21 @@ BUILD_REQUIRES="
devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
devel:libKF5XmlGui$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:python2
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -95,6 +100,7 @@ BUILD()
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}