pmaports/temp/plasma-nm/APKBUILD

31 lines
1.2 KiB
Text

# Forked from Alpine to build Plasma 5.17 pre-release
pkgname=plasma-nm
pkgver=5.16.90
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/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # broken with cross-compiling
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_MOBILE=ON
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="0a422f049a6bcaffefdec4b73f7ce47355bab807d7c617beb735ff6123fbc86d51c76313cec79d42329d5339710e4c644058a61daf5e22b6b4a89ac82de6b17e plasma-nm-5.16.90.tar.xz"