kwidgetsaddons: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 12:23:08 +10:00
parent 6b4da76a4c
commit 466fd8a18f

View File

@@ -8,11 +8,11 @@ range of widgets for selecting characters, fonts, colors, actions, dates and \
times, or MIME types, as well as platform-aware dialogs for configuration \
pages, message boxes, and password requests."
HOMEPAGE="https://github.com/KDE/kwidgetsaddons/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kwidgetsaddons/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="7be1771dc991f8717d4e4b86e87804c94aa4d0f7cbe2360a58dc0caa0717a059"
CHECKSUM_SHA256="09dc8696cd21c2d17e49f80639b5474acb985fcae8add3f7298d4e16dc8eb3bb"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -39,7 +39,7 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
@@ -48,6 +48,11 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -57,6 +62,7 @@ BUILD()
-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}