blob: aa4bbcb9565914fc4d356db074f29b6d31e7ecfa (
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
|
# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net>
# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# # I maintain this because:
# Arch version depends on ModemManager and MM conflicts with NeuG
# Arch version does not explicitly specify /usr/lib
# Arch version lacks additional optimization and hardening flags
_pkgname=plasma-nm
pkgname=$_pkgname-neug
pkgver=5.25.4
pkgrel=1
pkgdesc='Plasma applet written in QML for managing network connections'
pkgdesc+=", modified to support neug"
arch=(x86_64)
url='https://kde.org/plasma-desktop/'
license=(GPL2)
options=(lto)
depends=(plasma-workspace networkmanager-qt qca-qt5)
makedepends=(extra-cmake-modules openconnect)
optdepends=('openconnect: Cisco AnyConnect VPN plugin')
groups=(plasma)
source=(https://download.kde.org/stable/plasma/$pkgver/$_pkgname-$pkgver.tar.xz{,.sig})
sha256sums=('62621220cdd030098fa4c90a613cd279f8be29d21ff27d45792fcf7ac529f790'
'SKIP')
b2sums=('0132fd2767a7f4d05468cbc55c62b11eb5663cf346ce84887aee1161106ff83c263900139a9b7c68785833737ce893cbde41e3c4489b59f8474166cf1653b4bb'
'SKIP')
validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell <jr@jriddell.org>
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
options=(debug)
build() {
# Fails to build with -fPIE
export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIC"
export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIC"
cmake -B build -S $_pkgname-$pkgver \
-DBUILD_TESTING=OFF \
-DDISABLE_MODEMMANAGER_SUPPORT=ON
cmake --build build
}
package() {
depends=(rng-tools-openrc-neug)
conflicts=(plasma-nm modemmanager modemmanager-qt)
provides=(plasma-nm)
DESTDIR="$pkgdir" cmake --install build
}
|