blob: 86c7b57ec619d22ae2f374e5d2d224c67e5bbe32 (
plain)
1 # Description: A system tray applet for NetworkManager
2 # URL: https://wiki.gnome.org/Projects/NetworkManager/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: consolekit libgudev libnma libnotify libsecret
5 # Optional: libappindicator-gtk3
6
7 name=network-manager-applet
8 version=1.30.0
9 release=1
10 source=(https://gitlab.gnome.org/GNOME/network-manager-applet/-/archive/$version/network-manager-applet-$version.tar.bz2)
11
12 build() {
13 prt-get isinst libappindicator-gtk3 && PKGMK_NMA+=' -D appindicator=yes' || PKGMK_NMA+=' -D appindicator=no'
14
15 meson setup $name-$version build $PKGMK_NMA \
16 --prefix=/usr \
17 --sysconfdir=/etc \
18 --buildtype=plain \
19 --wrap-mode nodownload \
20 -D b_lto=true \
21 -D b_pie=true \
22 -D selinux=false \
23 -D team=false \
24 -D wwan=false
25 meson compile -C build
26 DESTDIR=$PKG meson install -C build
27
28 rm -r $PKG/usr/share/locale
29 }
|