kdeclarative: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 15:54:49 +10:00
parent fee19d5223
commit 615e9c6f8c

View File

@@ -4,11 +4,11 @@ It's comprises two parts: a library used by the C++ part of your application \
to intergrate QML with KDE Frameworks specific features, and a series of QML \
imports that offer bindings to some of the Frameworks."
HOMEPAGE="https://github.com/KDE/kdeclarative/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kdeclarative/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="bc1c7a9957f7742ee7a6299521ccd3b9c902d972aa99e70563664cb2c637573e"
CHECKSUM_SHA256="2f15daa3d5cefd13291bdf692637289a2786d693887c90a8bc5d1929b42833c6"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -84,16 +84,21 @@ BUILD_REQUIRES="
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
devel:libKF5WindowSystem$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
@@ -104,6 +109,7 @@ BUILD()
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}