DIST network-manager-applet-1.8.24.tar.xz 2062132 BLAKE2B fed75ab78e05b59a4f20c7570b84ac6fe3dd2cf6f8ad060f6c65bc9e2a32e29d295fc919de1037ba30c2609d35079dccb3f625ffc019150c9c69cfa94388e2c8 SHA512 76e914ec4f2e6eadd21ccc3e1f613fb97cb72d9551730a1dc09454177365dcaa2cdeea4b855c53732ad6a22cfa5e62e03f09fc8b04a277ce213dcf8c3beaf77c
+DIST network-manager-applet-1.8.25-dev.tar.bz2 1795238 BLAKE2B 2cdf81b1395dc69fa35ed19d5410dc94b8a7ea5cf99a3a8b81e7d4f0b0852f883d8a0c4fbe42e0088ba79e5473c6c01e332feb6f78a3526bb21237f6fe17719e SHA512 3441b8c3c195c0ff9528d219d5769bcc56d7fac92030af75ae2d16e3c91accb2350286c18c2c46cc12a20e87099d05183f0510398519c6fcd8520d0ab56850a2
</maintainer>
<use>
<flag name="gcr">Enable advanced certificate chooser, requires <pkg>app-crypt/gcr</pkg></flag>
+ <flag name="gtk">Enable legacy library libnm-gtk</flag>
+ <flag name="lto">Enable link time optimization</flag>
<flag name="modemmanager">Enable support for mobile broadband devices
using <pkg>net-misc/modemmanager</pkg></flag>
<flag name="teamd">Enable teamd configuration editor</flag>
+ <flag name="wwan">Enable WWAN support</flag>
</use>
</pkgmetadata>
--- /dev/null
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils meson xdg-utils
+
+DESCRIPTION="GNOME applet for NetworkManager"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager https://gitlab.gnome.org/GNOME/network-manager-applet"
+SRC_URI="https://gitlab.gnome.org/GNOME/network-manager-applet/-/archive/${PV}-dev/network-manager-applet-${PV}-dev.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana doc gtk introspection lto modemmanager selinux teamd test wwan"
+
+DEPEND="
+ app-crypt/libsecret
+ app-text/iso-codes
+ dev-libs/glib:2[dbus]
+ dev-libs/libgudev:=
+ net-misc/networkmanager
+ x11-libs/gtk+:3[introspection?]
+ x11-libs/libnotify
+ ayatana? (
+ dev-libs/libappindicator:3
+ dev-libs/libdbusmenu
+ )
+ gtk? ( ~net-misc/networkmanager-1.18.4 )
+ introspection? ( dev-libs/gobject-introspection:= )
+ modemmanager? ( net-misc/modemmanager )
+ selinux? ( sys-libs/libselinux )
+ teamd? ( dev-libs/jansson )
+ wwan? ( ~net-misc/networkmanager-1.18.4 )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="doc? ( dev-util/gtk-doc )"
+
+# TODO
+RESTRICT="test"
+
+S="${WORKDIR}"/network-manager-applet-${PV}-dev
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use gtk libnm_gtk)
+ -Dlibnma_gtk4=false
+ -Dappindicator=$(usex ayatana yes no)
+ $(meson_use wwan)
+ $(meson_use selinux)
+ $(meson_use teamd team)
+ $(meson_use test gcr)
+ -Dmore_asserts=$(usex test 1 0)
+ -Diso_codes=true
+ $(meson_use modemmanager mobile_broadband_provider_info)
+ $(meson_use test ld_gc)
+ $(meson_use doc gtk_doc)
+ $(meson_use introspection)
+ $(meson_use lto b_lto)
+ )
+
+ meson_src_configure
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+ xdg_icon_cache_update
+}