# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-nm pkgver=5.17.1 pkgrel=0 pkgdesc="Plasma applet written in QML for managing network connections" arch="all !s390x" # Limited by networkmanager -> iwd url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0" depends="kirigami2 networkmanager" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev ki18n-dev kwindowsystem-dev kservice-dev kcompletion-dev kwidgetsaddons-dev kio-dev kcoreaddons-dev kwallet-dev kconfigwidgets-dev kiconthemes-dev solid-dev kdbusaddons-dev knotifications-dev plasma-framework-dev kdeclarative-dev qca-dev networkmanager-qt-dev modemmanager-qt-dev mobile-broadband-provider-info" source="https://download.kde.org/stable/plasma/$pkgver/plasma-nm-$pkgver.tar.xz" subpackages="$pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_MOBILE=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="d2f69d0b8032c4c086f0ca9752de5aeeb2ac97f1158370a41ae17abd90122f7ac55aa1d8912c175d2f75d0538df2bb69a074fa5bdafc61d4231ce4ca2ccb8c12 plasma-nm-5.17.1.tar.xz"