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

32 lines
988 B
Bash

# Template file for 'kf6-networkmanager-qt'
pkgname=kf6-networkmanager-qt
version=6.7.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=563231644587918c950bcbe5fda0bf6a35e97a12f6b0e9bf9eaa4ce3141d3122
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"
}
}