KDE frameworks, bump to 6.19.0 part7 (#13113)

This commit is contained in:
Schrijvers Luc
2025-10-28 13:21:06 +01:00
committed by GitHub
parent fc735bf6f4
commit ecfa8d3811
11 changed files with 257 additions and 95 deletions

View File

@@ -10,7 +10,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/ktexteditor-${portVersion}.tar.xz"
CHECKSUM_SHA256="abebfe7a9ee4ba1ab8e1b1b8035e948a174451cce8ab4ad8278d389a0e597128"
CHECKSUM_SHA256="f2382910fe32e92bfd07def4e8f53d58d85725194a244123d938ab0c42a807f1"
SOURCE_DIR="ktexteditor-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -66,28 +66,35 @@ PROVIDES_devel="
"
REQUIRES_devel="
ktexteditor6$secondaryArchSuffix == $portVersion base
devel:libKF6Parts$secondaryArchSuffix == $libVersion
devel:libKF6SyntaxHighlighting$secondaryArchSuffix == $libVersion
devel:libKF6Parts$secondaryArchSuffix
devel:libKF6SyntaxHighlighting$secondaryArchSuffix
"
ARCHITECTURES_doc="any"
PROVIDES_doc="
ktexteditor6_doc = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
extra_cmake_modules$secondaryArchSuffix == $portVersion
extra_cmake_modules$secondaryArchSuffix >= $portVersion
qt6_tools${secondaryArchSuffix}_devel
devel:libeditorconfig$secondaryArchSuffix
devel:libgit2$secondaryArchSuffix >= 1.8
devel:libKF6Archive$secondaryArchSuffix == $libVersion
devel:libKF6GuiAddons$secondaryArchSuffix == $libVersion
devel:libKF6I18n$secondaryArchSuffix == $libVersion
devel:libKF6KIOCore$secondaryArchSuffix == $libVersion
devel:libKF6Parts$secondaryArchSuffix == $libVersion
devel:libKF6SonnetCore$secondaryArchSuffix == $libVersion
devel:libKF6SyntaxHighlighting$secondaryArchSuffix == $libVersion
devel:libKF6Archive$secondaryArchSuffix >= $libVersion
devel:libKF6GuiAddons$secondaryArchSuffix >= $libVersion
devel:libKF6I18n$secondaryArchSuffix >= $libVersion
devel:libKF6KIOCore$secondaryArchSuffix >= $libVersion
devel:libKF6Parts$secondaryArchSuffix >= $libVersion
devel:libKF6SonnetCore$secondaryArchSuffix >= $libVersion
devel:libKF6SyntaxHighlighting$secondaryArchSuffix >= $libVersion
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
devel:libQt6TextToSpeech$secondaryArchSuffix
"
BUILD_PREREQUIRES="
kde_qdoc_common
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
@@ -102,22 +109,25 @@ TEST_REQUIRES="
BUILD()
{
export KDE_DOCS="`finddir B_SYSTEM_DATA_DIRECTORY`"/kde-qdoc-common
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt6 \
-DKDE_INSTALL_QMLDIR=$dataDir/Qt6/qml \
-DKDE_INSTALL_QTPLUGINDIR=$addOnsDir/Qt6 \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DCMAKE_SKIP_RPATH=YES \
-DBUILD_TESTING=OFF \
-Wno-dev
make -C build $jobArgs
cmake --build build --target prepare_docs
cmake --build build --target generate_docs
cmake --build build --target generate_qch
}
INSTALL()
{
make -C build install
# cmake --build build --target install_html_docs
cmake --build build --target install_qch_docs
prepareInstalledDevelLib \
libKF6TextEditor
@@ -125,6 +135,9 @@ INSTALL()
packageEntries devel \
$developDir \
$libDir/cmake
packageEntries doc \
$documentationDir
}
TEST()