kqtquickcharts, new recipe, dependency for ktouch (#10566)

This commit is contained in:
Schrijvers Luc
2024-06-04 17:48:38 +02:00
committed by GitHub
parent bd4911bb0e
commit a7bdbb4503

View File

@@ -0,0 +1,60 @@
SUMMARY="QtQuick plugin to render beautiful and interactive charts"
DESCRIPTION="kqtquickcharts, a QtQuick plugin to render beautiful and interactive charts."
HOMEPAGE="https://invent.kde.org/libraries/kqtquickcharts"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kqtquickcharts-$portVersion.tar.xz"
CHECKSUM_SHA256="1e48f6684e7dbb3212409273c75beab95054b46698665a2fa1eb5392c3a054ce"
SOURCE_DIR="kqtquickcharts-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
kqtquickcharts$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
"
PROVIDES_devel="
kqtquickcharts${secondaryArchSuffix}_devel = $portVersion
devel:kqtquickcharts$secondaryArchSuffix = $portVersion
"
REQUIRES="
kqtquickcharts$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix >= 6.0.0
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:msgfmt
cmd:msgmerge
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cmake -Bbuild -S. $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
make -Cbuild $jobArgs
}
INSTALL()
{
make -Cbuild install
packageEntries devel \
$developDir \
$libDir
}