# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=networkmanager-qt pkgver=9999_git1688827703 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 qt5-qttools-dev samurai " subpackages="$pkgname-dev $pkgname-doc" 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() { cd build # The excluded tests currently fail CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(manager|settings|activeconnection)test' } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4a0df797c6556cb649d96f83e7b019b5de74289b1709e5afd5b5feefe1508c74e5c32dff733968fc1c6909e677f7eacefa424a3a39b5603dd7c9db95e6d1e587 networkmanager-qt-5.108.0.tar.xz " options="$options !strip"