New package: kf6-networkmanager-qt-6.1.0

This commit is contained in:
John 2024-02-29 22:25:35 +01:00 committed by Đoàn Trần Công Danh
parent fbbae63b48
commit 96a44414d7
3 changed files with 33 additions and 0 deletions

View File

@ -1983,6 +1983,7 @@ libKF6JobWidgets.so.6 kf6-kjobwidgets-6.0.0_1
libKF6Wallet.so.6 kf6-kwallet-6.0.0_1
libKF6WalletBackend.so.6 kf6-kwallet-6.0.0_1
libKF6ModemManagerQt.so.6 kf6-modemmanager-qt-6.0.0_1
libKF6NetworkManagerQt.so.6 kf6-networkmanager-qt-6.0.0_1
libKF6NewStuffCore.so.6 kf6-knewstuff-6.0.0_1
libKF6Notifications.so.6 kf6-knotifications-6.0.0_1
libKF6NotifyConfig.so.6 kf6-knotifyconfig-6.0.0_1

View File

@ -0,0 +1 @@
kf6-networkmanager-qt

View File

@ -0,0 +1,31 @@
# Template file for 'kf6-networkmanager-qt'
pkgname=kf6-networkmanager-qt
version=6.1.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=6e4979b5f889afcff4f8c7417e283c1db9e4df36ca0628bb3ebef09b62abd302
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"
}
}