kglobalaccel: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 14:14:52 +10:00
parent b4050311bd
commit b87c183c7f

View File

@@ -3,11 +3,11 @@ DESCRIPTION="KGlobalAccel allows you to have global accelerators that are \
independent of the focused window. Unlike regular shortcuts, the \
application\'s window does not need focus for them to be activated."
HOMEPAGE="https://github.com/KDE/kglobalaccel/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kglobalaccel/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="ad81ede10b94035cf101ad9ad87b89db884b701dd16e8f43c56cfa8ec4924b65"
CHECKSUM_SHA256="33ebf2164bf72fa88f4c167de648742b542831236058cf6758f66372d7d93b01"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -53,12 +53,12 @@ BUILD_REQUIRES="
devel:libKF5I18n$secondaryArchSuffix == $portVersion
devel:libKF5Service$secondaryArchSuffix == $portVersion
devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion
devel:libQt5Concurrent$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5DBus$secondaryArchSuffix >= 5.7
devel:libQt5Test$secondaryArchSuffix >= 5.7
devel:libQt5Widgets$secondaryArchSuffix >= 5.7
devel:libQt5Xml$secondaryArchSuffix >= 5.7
devel:libQt5Concurrent$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
devel:libQt5DBus$secondaryArchSuffix
devel:libQt5Test$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
@@ -67,6 +67,11 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -76,6 +81,7 @@ BUILD()
-DCMAKE_BUILD_TYPE=Release \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs
make $jobArgs
}