32 lines
988 B
Bash
32 lines
988 B
Bash
# Template file for 'kf6-networkmanager-qt'
|
|
pkgname=kf6-networkmanager-qt
|
|
version=6.6.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=06392d71e6e09758cb1b433d3b1dc667cb59dd7a96b3510f232b5cadff332e40
|
|
|
|
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"
|
|
}
|
|
}
|