pmaports/kde/plasma-nm/APKBUILD
Bart Ribbers 5267dd0301
kde/*: cleanups and updated git-based packages (!375)
All packages are now built as RelWithDebugInfo rather than Release. This
should make debugging these packages easier.

I've also updated all Plasma packages without releases (git-based) to
their latest masters. plasma-angelfish now has it's first release, and a
new dependency called "purpose".

Calindori had a typo in the pkgver causing it to look like it was
released in the 30th month of the year. Because of this, the old package
will have to explicitly be removed from the repository. Let's hope no
one uses that package yet, or they will have to wait till 2020 before
it'll get updated again on their system lol.

[skip ci]: it does not finish in time. ollieparanoid made sure that it
           builds on all arches. Usually we would use [ci:skip-build]
           instead of [skip-ci], but now that [ci:skip-build] also
           verifies that downloading sources is working as expected,
           and for some reason gitlab CI can't download one source file
           even when retrying [1] (cache on their end?), let's skip it
           this time.

[1] https://gitlab.com/postmarketOS/pmaports/-/jobs/219539514
2019-05-26 19:49:43 +02:00

33 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-nm
pkgver=5.15.5
pkgrel=2
pkgdesc="Plasma applet written in QML for managing network connections"
arch="all"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="networkmanager"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qttools-dev ki18n-dev kwindowsystem-dev kservice-dev kcompletion-dev kwidgetsaddons-dev kio-dev kcoreaddons-dev kwallet-dev kitemviews-dev kxmlgui-dev kconfigwidgets-dev kiconthemes-dev solid-dev kdbusaddons-dev knotifications-dev plasma-workspace-dev kdeclarative-dev kinit-dev kdelibs4support-dev networkmanager-qt-dev modemmanager-qt-dev qca-dev"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"
build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_MOBILE=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="f3f78f40b754de5afbd63c5713e684fe3d37ae25af5a9e6ba808647e0d7d4f23456ed4b94aa8138e1fab99e7f7d7e0dffb697e0e46c99bd312bad5e2a7b9833f plasma-nm-5.15.5.tar.xz"