# Description: Panel applet used to configure wired and wireless network connections through GUI # URL: https://gitlab.gnome.org/GNOME/network-manager-applet # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: libayatana-appindicator libnma name=network-manager-applet version=1.36.0 release=1 source=(https://download.gnome.org/sources/${name}/${version%.*}/${name}-${version}.tar.xz) build() { cd $name-$version export LDFLAGS="$LDFLAGS -Wl,--undefined-version" meson setup \ -Dprefix=/usr \ -Dlibdir=/usr/lib \ -Dlibexecdir=/usr/lib/$name \ -Dincludedir=/usr/include \ -Ddatadir=/usr/share \ -Dmandir=/usr/share/man \ -Dinfodir=/usr/share/info \ -Dlocaledir=/usr/share/locale \ -Dsysconfdir=/etc \ -Dlocalstatedir=/var \ -Dsharedstatedir=/var/lib \ -Dbuildtype=plain \ -Dauto_features=auto \ -Dwrap_mode=nodownload \ -Db_lto=true \ -Db_pie=true \ -Dwwan=false \ -Dselinux=false \ build ninja -C build DESTDIR=$PKG meson install -C build rm $PKG/usr/share/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml }