# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-frameworks pkgname=networkmanager-qt pkgver=6.5.0 pkgrel=0 pkgdesc="Qt wrapper for NetworkManager API" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only OR LGPL-3.0-only" depends="networkmanager" depends_dev="networkmanager-dev" makedepends="$depends_dev doxygen extra-cmake-modules qt6-qttools-dev samurai " subpackages="$pkgname-dev $pkgname-doc" _repo_url="https://invent.kde.org/frameworks/networkmanager-qt.git" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/networkmanager-qt-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { # The excluded tests currently fail ctest --test-dir build --output-on-failure -E '(manager|settings|activeconnection)test' } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 64176da47c1d9647feea4f6bc17da55f820602283ef9179eea90a33140192d03020205333c3ee60ae9b80d9bdf87fd8985a00425e9d25aaba227f33e6595bea3 networkmanager-qt-6.5.0.tar.xz "