kcmutils: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 16:08:33 +10:00
parent 615e9c6f8c
commit 8369469dc2

View File

@@ -2,11 +2,11 @@ SUMMARY="Utilities for KDE System Settings modules"
DESCRIPTION="KCMUtils provides various classes to work with KCModules. \
KCModules can be created with the KConfigWidgets framework."
HOMEPAGE="https://github.com/KDE/kcmutils/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kcmutils/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="bca5d88df251e819c0f7959c00f5ed821d30573b7e3950f40a48c69eb956c099"
CHECKSUM_SHA256="0bffc6edd75fcf4822d52a82821714da11a2b7e002744b7bf4d8aac6591c5886"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -68,16 +68,21 @@ BUILD_REQUIRES="
devel:libKF5Service$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
@@ -87,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
}