void-packages/srcpkgs/kf6-kxmlgui/template

32 lines
976 B
Bash

# Template file for 'kf6-kxmlgui'
pkgname=kf6-kxmlgui
version=6.7.0
revision=1
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=a451c16d70a591de13973079115f35905e3c42302f5c8c8ae3ec75d76a06fca1
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"
}
}