knotifyconfig: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 16:19:10 +10:00
parent 83851c8c64
commit e287b83ecd

View File

@@ -2,11 +2,11 @@ SUMMARY="Configuration dialog for desktop notificationsr"
DESCRIPTION="KNotifyConfig provides a configuration dialog for desktop \
notifications which can be embedded in your application."
HOMEPAGE="https://github.com/KDE/knotifyconfig/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/knotifyconfig/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="97508aef1721639038458fcf578aeeac3a7e56afa46e50452ede70b142aff9e1"
CHECKSUM_SHA256="135580a4a50d87c04273b7d45a3ea2ebb7113b009ca28d7977fc2765778cc10b"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -65,16 +65,21 @@ BUILD_REQUIRES="
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
devel:libKF5XmlGui$secondaryArchSuffix == $portVersion
devel:libphonon4qt5$secondaryArchSuffix
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
@@ -84,6 +89,7 @@ BUILD()
-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}