kholidays: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 17:26:30 +10:00
parent 652f90a66e
commit e56f31f98a

View File

@@ -2,11 +2,11 @@ SUMMARY="Dates for holidays and other special events"
DESCRIPTION="This library provides a C++ API that determines holiday and \
other special events for a geographical region."
HOMEPAGE="https://github.com/KDE/kholidays/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/kholidays/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="f56598873c97c67929e8d2a22dbb539b3b312a5654a1316e148f892c85cef738"
CHECKSUM_SHA256="51e8dea54e377f503d12b5c0e4ebade61c25d414428aa7839bb8dd1688d0c6cb"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -36,7 +36,7 @@ BUILD_REQUIRES="
extra_cmake_modules$secondaryArchSuffix >= $portVersion
devel:libbz2$secondaryArchSuffix
devel:liblzma$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix >= 5.7
devel:libQt5Core$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
@@ -46,6 +46,11 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCH()
{
sed -e '/platforms:/ a \ \ \ \ - name: Haiku' -i $sourceDir/metainfo.yaml
}
BUILD()
{
mkdir -p build
@@ -55,6 +60,7 @@ BUILD()
-DCMAKE_BUILD_TYPE=Release \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make $jobArgs
}