void-packages/srcpkgs/kconfigwidgets/template

35 lines
1.1 KiB
Bash

# Template file for 'kconfigwidgets'
pkgname=kconfigwidgets
version=5.116.0
revision=1
build_style=cmake
configure_args="-DBUILD_DESIGNERPLUGIN=ON"
hostmakedepends="kcoreaddons extra-cmake-modules qt5-devel qt5-host-tools
kconfig gettext kcoreaddons kdoctools"
makedepends="qt5-devel kauth-devel kcodecs-devel kconfig-devel kguiaddons-devel
kdoctools-devel ki18n-devel kwidgetsaddons-devel"
short_desc="KDE Widgets for configuration dialogs"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kconfigwidgets"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e45697f01297a1f7a6058be267e08bdf0b4f7332e3b8d78f932a36e5bd57c5b8
do_check() {
cd build
# Skip failing tests
ctest -E "kstandardactiontest"
}
kconfigwidgets-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/qt5/plugins/designer
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}