void-packages/srcpkgs/kf6-kxmlgui/template

32 lines
976 B
Bash

# Template file for 'kf6-kxmlgui'
pkgname=kf6-kxmlgui
version=6.3.0
revision=3
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-kconfig-devel kf6-kconfigwidgets-devel qt6-base-private-devel
kf6-kitemviews-devel kf6-kiconthemes-devel kf6-kglobalaccel-devel"
short_desc="KDE Framework for managing menu and toolbar actions"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kxmlgui"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=2273fdb2eb32f8cc9150c4cbcc4f7d9eb2f1268fcba7e21add27105c04e7995e
do_check() {
cd build
# disable failing test
ctest -E "ktoolbar_unittest|kxmlgui_unittest"
}
kf6-kxmlgui-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"
}
}