void-packages/srcpkgs/ktextaddons/template

33 lines
1.2 KiB
Bash

# Template file for 'ktextaddons'
pkgname=ktextaddons
version=1.5.4
revision=1
build_style=cmake
configure_args="-DBUILD_WITH_QT6=ON -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 kf6-kcoreaddons kf6-kconfig
gettext"
makedepends="kf6-kxmlgui-devel kf6-syntax-highlighting-devel kf6-kio-devel
kf6-sonnet-devel qtkeychain-qt6-devel qt6-speech-devel qt6-multimedia-devel
qt6-tools-devel qt6-speech-plugin-flite qt6-speech-plugin-mock
qt6-speech-plugin-speechd"
checkdepends="speech-dispatcher"
short_desc="Various text handling addon"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, GPL-2.0-or-later"
homepage="https://invent.kde.org/libraries/ktextaddons"
distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=64b80602e84b25e9164620af3f6341fa865b85e826ab8f5e02061ae24a277b20
ktextaddons-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}