void-packages/srcpkgs/kf6-kconfigwidgets/template

33 lines
1.0 KiB
Bash

# Template file for 'kf6-kconfigwidgets'
pkgname=kf6-kconfigwidgets
version=6.3.0
revision=2
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext kf6-kconfig-devel"
makedepends="kf6-kcodecs-devel kf6-kcolorscheme-devel kf6-kconfig-devel
kf6-kcoreaddons-devel kf6-kwidgetsaddons-devel qt6-base-private-devel"
short_desc="Widgets for KConfig"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kconfigwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=bac86669b83c39fa0d3d45804202ed6db5aa48edc6b4d177c572a2214d262090
do_check() {
cd build
# disable failing tests
ctest -E "kstandardactiontest"
}
kf6-kconfigwidgets-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}