# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ktexteditor pkgver=9999_git1689126460 pkgrel=0 pkgdesc="Advanced embeddable text editor" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.0-or-later AND (LGPL-2.0-only OR LGPL-3.0-only)" depends_dev=" karchive-dev kauth-dev kconfig-dev kguiaddons-dev ki18n-dev kiconthemes-dev kio-dev kparts-dev sonnet-dev syntax-highlighting-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai " checkdepends="xvfb-run" options="!check" # fail on builders source="https://download.kde.org/stable/frameworks/${pkgver%.*}/ktexteditor-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc " build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 52f0246ac87e70107b17f051585f3543ec38696201b45839338b9b53cc0aaabe3b1408f033c5c72786a9e8e747188fbae5bd64028ca06a36dd15f1700f4993a6 ktexteditor-5.108.0.tar.xz " options="$options !strip"