void-packages/srcpkgs/kf6-kconfigwidgets/template

33 lines
1.0 KiB
Bash

# Template file for 'kf6-kconfigwidgets'
pkgname=kf6-kconfigwidgets
version=6.6.0
revision=1
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=83b141867609a8e63e3cbe874e519f2d3d8a53ff7dce958b8157c697d5cc5872
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"
}
}