mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
kde-frameworks: bump to 5.39.0.
add Qt version requires.
This commit is contained in:
80
kde-frameworks/threadweaver/threadweaver-5.39.0.recipe
Normal file
80
kde-frameworks/threadweaver/threadweaver-5.39.0.recipe
Normal file
@@ -0,0 +1,80 @@
|
||||
SUMMARY="Helper for multithreaded programming"
|
||||
DESCRIPTION="ThreadWeaver is a helper for multithreaded programming. It uses \
|
||||
a job-based interface to queue tasks and execute them in an efficient way.
|
||||
|
||||
You simply divide the workload into jobs, state the dependencies between the \
|
||||
jobs and ThreadWeaver will work out the most efficient way of dividing the \
|
||||
work between threads within a set of resource limits.
|
||||
|
||||
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-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/threadweaver/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="73be8ee89f7bd7b6bef2240b62034fa33696b641fa9b07bbe9cd234a774bfb89"
|
||||
PATCHES="threadweaver-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
threadweaver$secondaryArchSuffix = $portVersion
|
||||
lib:libKF5ThreadWeaver$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
threadweaver${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libKF5ThreadWeaver$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
threadweaver$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libKF5ThreadWeaver
|
||||
|
||||
packageEntries devel \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt5/mkspecs \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user