kitemviews: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 12:19:35 +10:00
parent 9e31624a53
commit 6b4da76a4c

View File

@@ -3,11 +3,11 @@ DESCRIPTION="KItemViews includes a set of views, which can be used with item \
models. It includes views for categorizing lists and to add search filters to \
flat and hierarchical lists."
HOMEPAGE="https://github.com/KDE/kitemviews/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kitemviews/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="a6dda86706a3bec6414e5eabd2dec1e1dbd608f9ed831bd16fd178f9a867bc93"
CHECKSUM_SHA256="47fe8514fd42aa79cc3a466d63870f3eb79d295fd336b68c83a04a5e3d926194"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -34,7 +34,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
@@ -43,6 +43,11 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -52,6 +57,7 @@ BUILD()
-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}