Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnma/
Date: Fri, 08 Apr 2022 21:21:13
Message-Id: 1649452848.0d67056ea64a828243fef72c6bb688fe576e3ada.mattst88@gentoo
1 commit: 0d67056ea64a828243fef72c6bb688fe576e3ada
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 8 19:50:07 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 21:20:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d67056e
7
8 net-libs/libnma: Version bump to 1.8.38
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 net-libs/libnma/Manifest | 1 +
13 net-libs/libnma/libnma-1.8.38.ebuild | 71 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/net-libs/libnma/Manifest b/net-libs/libnma/Manifest
17 index ac3d86f692ba..cd17ab7d487e 100644
18 --- a/net-libs/libnma/Manifest
19 +++ b/net-libs/libnma/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libnma-1.8.34.tar.xz 1342040 BLAKE2B e81004cf97832bdd010869fd7a801ceda42b96a70a0bd0aa50f821f7e3c361716f8075ec8ae82a224b6f617ee9b3f177239a53dd9eb982dd49da409d97671fd9 SHA512 aca1e24a852072e65d1fba910613981373bb7bb7869b2e44abc9e41c527d234273f034215d62889a265aa3327ad2cce0cea7368b025df97dab12bff098310aaf
22 DIST libnma-1.8.36.tar.xz 1368748 BLAKE2B b60f3d383e5a55a766be8f8df71eb710d68b388c5ec0b946789856504327f6a8093943cc7b58dba992883099a899f3f55c70e5275d495610e79cef8e3e97d1b8 SHA512 c3f675d773d1be9006c01c3149751c8da1d5d08467be6d9aa921da3d867fdc9e8b26c7e6c9bd46a6cfd38a7eb721f8bcc209b43d9789a0b55c6029e11ca0fd22
23 +DIST libnma-1.8.38.tar.xz 1347004 BLAKE2B 108fc7d0a01ca72c84a738f831d442d82990f7b82301de3a47d8331af1e080a33c10806fb75830463fbfb8a4a1f556cdf5272ee52dbc4616ea3dbca1959cd128 SHA512 0421c598ccb6e3659f182b596eec76ffd695e51c11fd11b8325c2d08cb259536d7e74c11bbaac3ccb841016a0bc69a87f1c682b934a9eb569a74116e677eba63
24
25 diff --git a/net-libs/libnma/libnma-1.8.38.ebuild b/net-libs/libnma/libnma-1.8.38.ebuild
26 new file mode 100644
27 index 000000000000..024459425f6e
28 --- /dev/null
29 +++ b/net-libs/libnma/libnma-1.8.38.ebuild
30 @@ -0,0 +1,71 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit gnome.org gnome2-utils meson xdg vala
37 +
38 +DESCRIPTION="NetworkManager GUI library"
39 +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
40 +
41 +LICENSE="GPL-2+"
42 +SLOT="0"
43 +# pkcs11 default enabled as it's a small dep often already present by libnma users, and it was default enabled as IUSE=+gcr in nm-applet before
44 +IUSE="gtk-doc +introspection +pkcs11 vala"
45 +REQUIRED_USE="vala? ( introspection )"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
47 +
48 +DEPEND="
49 + >=gui-libs/gtk-4.0:4
50 + app-text/iso-codes
51 + net-misc/mobile-broadband-provider-info
52 + >=dev-libs/glib-2.38:2
53 + >=x11-libs/gtk+-3.12:3[introspection?]
54 + >=net-misc/networkmanager-1.7[introspection?]
55 + pkcs11? ( >=app-crypt/gcr-3.14:= )
56 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
57 +"
58 +RDEPEND="${DEPEND}
59 + !<gnome-extra/nm-applet-1.16.0" # gschema moved to here before nm-applet-1.16.0
60 +BDEPEND="
61 + dev-libs/libxml2
62 + >=sys-devel/gettext-0.19.8
63 + virtual/pkgconfig
64 + gtk-doc? ( dev-util/gtk-doc
65 + app-text/docbook-xml-dtd:4.3 )
66 + vala? ( $(vala_depend)
67 + net-misc/networkmanager[vala]
68 + )
69 +"
70 +
71 +src_prepare() {
72 + default
73 + use vala && vala_setup
74 + xdg_environment_reset
75 +}
76 +
77 +src_configure() {
78 + local emesonargs=(
79 + -Dlibnma_gtk4=true
80 + $(meson_use pkcs11 gcr)
81 + -Dmore_asserts=0
82 + -Dgcr_gtk4=false
83 + -Diso_codes=true
84 + -Dmobile_broadband_provider_info=true
85 + -Dld_gc=false
86 + $(meson_use gtk-doc gtk_doc)
87 + $(meson_use introspection)
88 + $(meson_use vala vapi)
89 + )
90 + meson_src_configure
91 +}
92 +
93 +pkg_postinst() {
94 + xdg_pkg_postinst
95 + gnome2_schemas_update
96 +}
97 +
98 +pkg_postrm() {
99 + xdg_pkg_postrm
100 + gnome2_schemas_update
101 +}