void-packages/srcpkgs/plasma5support/template

34 lines
1.0 KiB
Bash

# Template file for 'plasma5support'
pkgname=plasma5support
version=6.2.0
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 kf6-kio-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=46eb4f5d94077c46c24b494bbae2e5749b5b5f7cc1db6ef2923b8112ae6ae58d
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"
}
}