1 |
commit: 3ca39f948256f7401e24b940f47c58583af50e7c |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 16 17:28:06 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 11 21:30:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca39f94 |
7 |
|
8 |
gnome-extra/nm-applet: bump to 1.8.25-dev |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/14676 |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
gnome-extra/nm-applet/Manifest | 1 + |
15 |
gnome-extra/nm-applet/metadata.xml | 3 ++ |
16 |
gnome-extra/nm-applet/nm-applet-1.8.25.ebuild | 73 +++++++++++++++++++++++++++ |
17 |
3 files changed, 77 insertions(+) |
18 |
|
19 |
diff --git a/gnome-extra/nm-applet/Manifest b/gnome-extra/nm-applet/Manifest |
20 |
index a251a32d68d..190d390f09a 100644 |
21 |
--- a/gnome-extra/nm-applet/Manifest |
22 |
+++ b/gnome-extra/nm-applet/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST network-manager-applet-1.8.24.tar.xz 2062132 BLAKE2B fed75ab78e05b59a4f20c7570b84ac6fe3dd2cf6f8ad060f6c65bc9e2a32e29d295fc919de1037ba30c2609d35079dccb3f625ffc019150c9c69cfa94388e2c8 SHA512 76e914ec4f2e6eadd21ccc3e1f613fb97cb72d9551730a1dc09454177365dcaa2cdeea4b855c53732ad6a22cfa5e62e03f09fc8b04a277ce213dcf8c3beaf77c |
25 |
+DIST network-manager-applet-1.8.25-dev.tar.bz2 1795238 BLAKE2B 2cdf81b1395dc69fa35ed19d5410dc94b8a7ea5cf99a3a8b81e7d4f0b0852f883d8a0c4fbe42e0088ba79e5473c6c01e332feb6f78a3526bb21237f6fe17719e SHA512 3441b8c3c195c0ff9528d219d5769bcc56d7fac92030af75ae2d16e3c91accb2350286c18c2c46cc12a20e87099d05183f0510398519c6fcd8520d0ab56850a2 |
26 |
|
27 |
diff --git a/gnome-extra/nm-applet/metadata.xml b/gnome-extra/nm-applet/metadata.xml |
28 |
index 7cb30b744ca..7bbb6fe7064 100644 |
29 |
--- a/gnome-extra/nm-applet/metadata.xml |
30 |
+++ b/gnome-extra/nm-applet/metadata.xml |
31 |
@@ -7,8 +7,11 @@ |
32 |
</maintainer> |
33 |
<use> |
34 |
<flag name="gcr">Enable advanced certificate chooser, requires <pkg>app-crypt/gcr</pkg></flag> |
35 |
+ <flag name="gtk">Enable legacy library libnm-gtk</flag> |
36 |
+ <flag name="lto">Enable link time optimization</flag> |
37 |
<flag name="modemmanager">Enable support for mobile broadband devices |
38 |
using <pkg>net-misc/modemmanager</pkg></flag> |
39 |
<flag name="teamd">Enable teamd configuration editor</flag> |
40 |
+ <flag name="wwan">Enable WWAN support</flag> |
41 |
</use> |
42 |
</pkgmetadata> |
43 |
|
44 |
diff --git a/gnome-extra/nm-applet/nm-applet-1.8.25.ebuild b/gnome-extra/nm-applet/nm-applet-1.8.25.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..18462f2d74e |
47 |
--- /dev/null |
48 |
+++ b/gnome-extra/nm-applet/nm-applet-1.8.25.ebuild |
49 |
@@ -0,0 +1,73 @@ |
50 |
+# Copyright 2019-2020 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=7 |
54 |
+ |
55 |
+inherit gnome2-utils meson xdg-utils |
56 |
+ |
57 |
+DESCRIPTION="GNOME applet for NetworkManager" |
58 |
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager https://gitlab.gnome.org/GNOME/network-manager-applet" |
59 |
+SRC_URI="https://gitlab.gnome.org/GNOME/network-manager-applet/-/archive/${PV}-dev/network-manager-applet-${PV}-dev.tar.bz2" |
60 |
+ |
61 |
+LICENSE="GPL-2+" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~x86" |
64 |
+IUSE="ayatana doc gtk introspection lto modemmanager selinux teamd test wwan" |
65 |
+ |
66 |
+DEPEND=" |
67 |
+ app-crypt/libsecret |
68 |
+ app-text/iso-codes |
69 |
+ dev-libs/glib:2[dbus] |
70 |
+ dev-libs/libgudev:= |
71 |
+ net-misc/networkmanager |
72 |
+ x11-libs/gtk+:3[introspection?] |
73 |
+ x11-libs/libnotify |
74 |
+ ayatana? ( |
75 |
+ dev-libs/libappindicator:3 |
76 |
+ dev-libs/libdbusmenu |
77 |
+ ) |
78 |
+ gtk? ( ~net-misc/networkmanager-1.18.4 ) |
79 |
+ introspection? ( dev-libs/gobject-introspection:= ) |
80 |
+ modemmanager? ( net-misc/modemmanager ) |
81 |
+ selinux? ( sys-libs/libselinux ) |
82 |
+ teamd? ( dev-libs/jansson ) |
83 |
+ wwan? ( ~net-misc/networkmanager-1.18.4 ) |
84 |
+" |
85 |
+RDEPEND="${DEPEND}" |
86 |
+BDEPEND="doc? ( dev-util/gtk-doc )" |
87 |
+ |
88 |
+# TODO |
89 |
+RESTRICT="test" |
90 |
+ |
91 |
+S="${WORKDIR}"/network-manager-applet-${PV}-dev |
92 |
+ |
93 |
+src_configure() { |
94 |
+ local emesonargs=( |
95 |
+ $(meson_use gtk libnm_gtk) |
96 |
+ -Dlibnma_gtk4=false |
97 |
+ -Dappindicator=$(usex ayatana yes no) |
98 |
+ $(meson_use wwan) |
99 |
+ $(meson_use selinux) |
100 |
+ $(meson_use teamd team) |
101 |
+ $(meson_use test gcr) |
102 |
+ -Dmore_asserts=$(usex test 1 0) |
103 |
+ -Diso_codes=true |
104 |
+ $(meson_use modemmanager mobile_broadband_provider_info) |
105 |
+ $(meson_use test ld_gc) |
106 |
+ $(meson_use doc gtk_doc) |
107 |
+ $(meson_use introspection) |
108 |
+ $(meson_use lto b_lto) |
109 |
+ ) |
110 |
+ |
111 |
+ meson_src_configure |
112 |
+} |
113 |
+ |
114 |
+pkg_postinst() { |
115 |
+ gnome2_schemas_update |
116 |
+ xdg_icon_cache_update |
117 |
+} |
118 |
+ |
119 |
+pkg_postrm() { |
120 |
+ gnome2_schemas_update |
121 |
+ xdg_icon_cache_update |
122 |
+} |