qqc2_desktop_style: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 22:23:13 +10:00
parent 81599ef562
commit 237a7af3ee

View File

@@ -3,12 +3,12 @@ DESCRIPTION="This is a style for QtQuickControls 2 that uses QWidget's QStyle \
for painting, making possible to achieve an higher deree of consistency between \
QWidget-based and QML-based apps."
HOMEPAGE="https://github.com/kde/qqc2-desktop-style"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v3
GNU GPL v2"
REVISION="2"
REVISION="1"
SOURCE_URI="https://github.com/kde/qqc2-desktop-style/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="babf3502dc496ac4e4f91e150d6c13926fb55572041d9809a09beab1de4755cb"
CHECKSUM_SHA256="abcc1f7049c11eee7298e15922a85164b89d8443ab5cea0f13abd28bc2124a30"
SOURCE_DIR="qqc2-desktop-style-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -91,7 +91,7 @@ BUILD_REQUIRES="
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
devel:libKF5WindowSystem$secondaryArchSuffix == $portVersion
devel:libKF5XmlGui$secondaryArchSuffix == $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.15
devel:libQt5Core$secondaryArchSuffix
devel:libQt5QuickControls2$secondaryArchSuffix
devel:libQt5QuickTemplates2$secondaryArchSuffix
"
@@ -99,10 +99,15 @@ BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -114,6 +119,7 @@ BUILD()
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}