KF6 frameworks, part6 (#11799)

This commit is contained in:
Schrijvers Luc
2025-02-19 12:17:38 +01:00
committed by GitHub
parent 6083fdd19f
commit 87e4a7b55b
12 changed files with 159 additions and 64 deletions

View File

@@ -9,7 +9,7 @@ COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/kplotting-${portVersion}.tar.xz"
CHECKSUM_SHA256="5e1883d107de16ccd7a27323c5575bb1ec2fec22c44c9c3199b3de885f5c18f4"
CHECKSUM_SHA256="ceb915cc026cd20ff10e8fdb3e4914ea61f73686a2d9fe6a8839a5ead14a9892"
SOURCE_DIR="kplotting-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -38,6 +38,15 @@ REQUIRES_devel="
kplotting6$secondaryArchSuffix == $portVersion base
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
kplotting6${secondaryArchSuffix}_doc = $portVersion
"
REQUIRES_doc="
kplotting6$secondaryArchSuffix == $portVersion base
"
TEST_REQUIRES="
qthaikuplugins
"
@@ -59,9 +68,6 @@ BUILD_PREREQUIRES="
cmd:pkg_config$secondaryArchSuffix
"
#defineDebugInfoPackage kplotting6$secondaryArchSuffix \
# $libDir/libKF6Plotting.so.$libVersion
BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
@@ -69,7 +75,7 @@ BUILD()
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QTQCHDIR=$documentationDir/packages/qt6 \
-DKDE_INSTALL_QTQCHDIR=$documentationDir/packages/qt6_base \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_QCH=ON \
@@ -87,8 +93,10 @@ INSTALL()
packageEntries devel \
$developDir \
$documentationDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()