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 16:32:22 +01:00
|
|
|
# Depends on: consolekit libgudev libnma libnotify libsecret
|
2021-01-24 01:34:08 +01:00
|
|
|
# Optional: libappindicator-gtk3
|
2019-06-11 23:45:47 +02:00
|
|
|
|
|
|
|
name=network-manager-applet
|
2021-08-21 20:43:24 +02:00
|
|
|
version=1.24.0
|
2021-09-08 12:10:35 +02:00
|
|
|
release=2
|
2021-01-24 01:34:08 +01: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() {
|
2021-09-08 12:10:35 +02:00
|
|
|
prt-get isinst libappindicator-gtk3 && PKGMK_NMA+=' -D appidicator=yes' || PKGMK_NMA+=' -D appindicator=no'
|
2021-01-24 01:34:08 +01:00
|
|
|
meson setup $name-$version build $PKGMK_NMA \
|
2020-06-23 18:10:51 +02:00
|
|
|
--prefix=/usr \
|
2019-06-11 23:45:47 +02:00
|
|
|
--sysconfdir=/etc \
|
2020-11-03 21:12:12 +01: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 01:34:08 +01:00
|
|
|
-D selinux=false \
|
|
|
|
-D team=false \
|
|
|
|
-D wwan=false
|
2020-11-03 21:12:12 +01:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2021-01-24 01:34:08 +01:00
|
|
|
|
2020-03-19 16:32:22 +01:00
|
|
|
rm -r $PKG/usr/share/locale
|
2019-06-11 23:45:47 +02:00
|
|
|
}
|