# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=networkmanager-qt pkgver=5.62.0 pkgrel=0 pkgdesc="Qt wrapper for NetworkManager API" arch="all !s390x" # Limited by networkmanager 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 extra-cmake-modules doxygen qt5-qttools-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/networkmanager-qt-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver/build" prepare() { default_prepare mkdir "$builddir" && cd "$builddir" } build() { cmake .. \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { # The excluded tests currently fail CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E '(manager|settings|activeconnection)test' } package() { DESTDIR="$pkgdir" make install } sha512sums="f770f9a0f21b498fdca781cd84ce71f10a41d198d7fb8910012c4f4c937fbbebd07616deadf1ae96b23db35206d0aad3aea61d4d1435ea99b06c4ad30f6fd10f networkmanager-qt-5.62.0.tar.xz"