void-packages/srcpkgs/plasma5support/template

34 lines
1.0 KiB
Bash

# Template file for 'plasma5support'
pkgname=plasma5support
version=6.1.5
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext
qt6-declarative-host-tools"
makedepends="qt6-declarative-devel kf6-kconfig-devel kf6-ki18n-devel
kf6-kcoreaddons-devel kf6-knotifications-devel kf6-kguiaddons-devel
kf6-solid-devel libksysguard-devel"
short_desc="Support components for porting from KF5/Qt5 to KF6/Qt6"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/plasma5support"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=0563585222c5333e2279efda829c36a139741c9e0cf3ad36e3e8096840c017d1
do_check() {
cd build
ctest -E "pluginloadertest"
}
plasma5support-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}