blob: 460051ff25c5f5082de066801dda681fc5532b4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-mobile
pkgver=5.26.3
pkgrel=0
pkgdesc="Modules providing phone functionality for Plasma"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://www.plasma-mobile.org/"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="
breeze-icons
dbus-x11
kactivities
kpipewire
maliit-keyboard
plasma-nano
plasma-nm-mobile
plasma-pa
plasma-settings
plasma-workspace
qqc2-breeze-style
qt5-qtquickcontrols2
"
makedepends="
extra-cmake-modules
kactivities-dev
kauth-dev
kbookmarks-dev
kcodecs-dev
kcompletion-dev
kconfig-dev
kconfigwidgets-dev
kcoreaddons-dev
kdbusaddons-dev
kdeclarative-dev
ki18n-dev
kio-dev
kitemviews-dev
kjobwidgets-dev
knotifications-dev
kpackage-dev
kpeople-dev
kservice-dev
kwayland-dev
kwidgetsaddons-dev
kwin-dev
kwindowsystem-dev
kxmlgui-dev
libphonenumber-dev
modemmanager-qt-dev
networkmanager-qt-dev
plasma-framework-dev
plasma-workspace-dev
qt5-qtdeclarative-dev
samurai
solid-dev
telepathy-qt-dev
"
provides="plasma-phone-components=$pkgver-r$pkgrel" # For backwards compatibility
replaces="plasma-phone-components" # For backwards compatibility
subpackages="$pkgname-lang"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-mobile-$pkgver.tar.xz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
f6a95ec1a73d8650e13b9ccf76ffbb67a1716467d0bb0e4afac961468dcdf27762b5bb08fe5bd3ca6c053534f8687d4e2551d373659bf3ae267102ebe1c331a3 plasma-mobile-5.26.3.tar.xz
"
|