2019-06-11 23:45:47 +02:00
|
|
|
# Description: A system tray applet for NetworkManager
|
|
|
|
# URL: https://wiki.gnome.org/Projects/NetworkManager/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-03-19 15:32:22 +00:00
|
|
|
# Depends on: consolekit libgudev libnma libnotify libsecret
|
2023-10-05 11:16:26 +02:00
|
|
|
# Optional: libayatana-appindicator modemmanager
|
2019-06-11 23:45:47 +02:00
|
|
|
|
|
|
|
name=network-manager-applet
|
2023-10-05 11:16:26 +02:00
|
|
|
version=1.34.0
|
2022-03-22 20:08:47 +01:00
|
|
|
release=1
|
2021-01-24 00:34:08 +00:00
|
|
|
source=(https://gitlab.gnome.org/GNOME/network-manager-applet/-/archive/$version/network-manager-applet-$version.tar.bz2)
|
2019-06-11 23:45:47 +02:00
|
|
|
|
|
|
|
build() {
|
2023-10-05 11:16:26 +02:00
|
|
|
prt-get isinst libayatana-appindicator || PKGMK_NMA+=' -D appindicator=no'
|
|
|
|
prt-get isinst modemmanager || PKGMK_NMA+=' -D wwan=false'
|
2022-03-22 20:08:47 +01:00
|
|
|
|
2021-01-24 00:34:08 +00:00
|
|
|
meson setup $name-$version build $PKGMK_NMA \
|
2020-06-23 16:10:51 +00:00
|
|
|
--prefix=/usr \
|
2019-06-11 23:45:47 +02:00
|
|
|
--sysconfdir=/etc \
|
2020-11-03 20:12:12 +00:00
|
|
|
--buildtype=plain \
|
2021-08-21 20:43:24 +02:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2021-01-24 00:34:08 +00:00
|
|
|
-D selinux=false \
|
2023-10-05 11:16:26 +02:00
|
|
|
-D team=false
|
2020-11-03 20:12:12 +00:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2021-01-24 00:34:08 +00:00
|
|
|
|
2020-03-19 15:32:22 +00:00
|
|
|
rm -r $PKG/usr/share/locale
|
2023-04-17 23:04:22 +02:00
|
|
|
|
|
|
|
# provided by libnma
|
|
|
|
rm -r $PKG/usr/share/glib-2.0/schemas
|
2019-06-11 23:45:47 +02:00
|
|
|
}
|