threadweaver: bump version

This commit is contained in:
Gerasim Troeglazov
2022-05-09 12:56:52 +10:00
parent 36bf37c772
commit 61333e1eef
2 changed files with 9 additions and 3 deletions

View File

@@ -10,11 +10,11 @@ See the information on [use cases](@ref usecases) and [why multithreading can \
help](@ref multithreading), as well as the usage section below, for more \
detailed information."
HOMEPAGE="https://github.com/KDE/threadweaver/"
COPYRIGHT="2010-2021 KDE Organisation"
COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/KDE/threadweaver/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="bb8c1341ece9fea7d4f1101a04479d7a18c9d682fb8454b92d7a39e8a768fe0e"
CHECKSUM_SHA256="13baa973f3d79043bfd83f6187b9e837ea319510b0242f7e1d6f2589fa09f0a8"
PATCHES="threadweaver-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
@@ -40,7 +40,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
}