void-packages/srcpkgs/kf6-ktexteditor/template

33 lines
1.2 KiB
Bash

# Template file for 'kf6-ktexteditor'
pkgname=kf6-ktexteditor
version=6.2.0
revision=1
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base kf6-kauth-tools
qt6-declarative-host-tools gettext kf6-kconfig"
makedepends="kf6-karchive-devel kf6-kauth-devel kf6-kconfig-devel
kf6-kguiaddons-devel kf6-ki18n-devel kf6-kio-devel kf6-kxmlgui-devel
kf6-kparts-devel kf6-sonnet-devel kf6-syntax-highlighting-devel
kf6-ktextwidgets-devel qt6-speech-devel qt6-multimedia-devel
qt6-speech-plugin-flite qt6-speech-plugin-mock qt6-speech-plugin-speechd
editorconfig-devel"
short_desc="KDE Full text editor component"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/ktexteditor"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=c10a5e4cc921aeb51b17e97d4f29883ab186b63d108199e6a319440a39f1f2a0
kf6-ktexteditor-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}