commit:     3ca39f948256f7401e24b940f47c58583af50e7c
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 17:28:06 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 21:30:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca39f94

gnome-extra/nm-applet: bump to 1.8.25-dev

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/14676
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 gnome-extra/nm-applet/Manifest                |  1 +
 gnome-extra/nm-applet/metadata.xml            |  3 ++
 gnome-extra/nm-applet/nm-applet-1.8.25.ebuild | 73 +++++++++++++++++++++++++++
 3 files changed, 77 insertions(+)

diff --git a/gnome-extra/nm-applet/Manifest b/gnome-extra/nm-applet/Manifest
index a251a32d68d..190d390f09a 100644
--- a/gnome-extra/nm-applet/Manifest
+++ b/gnome-extra/nm-applet/Manifest
@@ -1 +1,2 @@
 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

diff --git a/gnome-extra/nm-applet/metadata.xml 
b/gnome-extra/nm-applet/metadata.xml
index 7cb30b744ca..7bbb6fe7064 100644
--- a/gnome-extra/nm-applet/metadata.xml
+++ b/gnome-extra/nm-applet/metadata.xml
@@ -7,8 +7,11 @@
        </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>

diff --git a/gnome-extra/nm-applet/nm-applet-1.8.25.ebuild 
b/gnome-extra/nm-applet/nm-applet-1.8.25.ebuild
new file mode 100644
index 00000000000..18462f2d74e
--- /dev/null
+++ b/gnome-extra/nm-applet/nm-applet-1.8.25.ebuild
@@ -0,0 +1,73 @@
+# 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
+}

Reply via email to