kidletime: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 17:28:03 +10:00
parent e719229ca3
commit f528aa20dc

View File

@@ -4,11 +4,11 @@ It is useful not only for finding out about the current idle time of the PC, \
but also for getting notified upon idle time events, such as custom timeouts, \
or user activity."
HOMEPAGE="https://github.com/KDE/kidletime/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kidletime/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="87279ea3544b0daac48b60aec770fe2d9d5a626fa139f4fd8e60e1721bd9cf64"
CHECKSUM_SHA256="3ce0ac42ed94ddfe34deaa9af8b474c8d8ace63d2127d3f1d6ceb1b8049ddd41"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -36,14 +36,20 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -54,6 +60,7 @@ BUILD()
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}