void-packages/srcpkgs/kpimtextedit/template

36 lines
1.3 KiB
Bash

# Template file for 'kpimtextedit'
pkgname=kpimtextedit
version=24.08.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext kf6-kconfig"
makedepends="qt6-base-devel ktextaddons-devel kf6-kcodecs-devel kf6-kconfig-devel
kf6-kconfigwidgets-devel kf6-kiconthemes-devel kf6-kio-devel qt6-tools-devel
kf6-syntax-highlighting-devel kf6-sonnet-devel kf6-kxmlgui-devel
kf6-kwidgetsaddons-devel kf6-kiconthemes-devel kf6-ki18n-devel ktextaddons-devel"
short_desc="Textedit with PIM-specific features"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/pim/kpimtextedit"
distfiles="${KDE_SITE}/release-service/${version}/src/kpimtextedit-${version}.tar.xz"
checksum=bf941d245a0626b3b36ab01c18722aa52fcccb91a017c7ff3b06fcf9cb73d2dd
do_check() {
cd build
ctest -E 'kpimtextedit-(grantleebuilder-texthtmlbuilder|composerng-richtextcomposer)test'
}
kpimtextedit-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}