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

32 lines
988 B
Bash

# Template file for 'kf6-networkmanager-qt'
pkgname=kf6-networkmanager-qt
version=6.3.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=0ca96a3bf78f033a36be59c75d3d6382b4ef13e753419eed13ef2e33821e39e0
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"
}
}