void-packages/srcpkgs/kf6-networkmanager-qt/template

32 lines
988 B
Bash

# Template file for 'kf6-networkmanager-qt'
pkgname=kf6-networkmanager-qt
version=6.2.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
pkg-config qt6-declarative-host-tools"
makedepends="qt6-declarative-devel NetworkManager-devel"
short_desc="Qt wrapper for NetworkManager API"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/networkmanager-qt"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=7be22a6bbc5843b1ada0a170fb56c9c96bef643d7d485413f2af792914ed02d2
do_check() {
cd build
# disable failing tests
ctest -E "managertest|settingstest|activeconnectiontest"
}
kf6-networkmanager-qt-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}