Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnma/
Date: Sat, 27 Jun 2020 21:03:46
Message-Id: 1593291797.b556dbce182a49bb66df6920fc5fcf4a546d6215.leio@gentoo
1 commit: b556dbce182a49bb66df6920fc5fcf4a546d6215
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 27 21:03:09 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 27 21:03:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b556dbce
7
8 net-libs/libnma: bump to 1.8.30
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 net-libs/libnma/Manifest | 1 +
14 net-libs/libnma/libnma-1.8.30.ebuild | 68 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/net-libs/libnma/Manifest b/net-libs/libnma/Manifest
18 index 9428f91e9ef..411e28380aa 100644
19 --- a/net-libs/libnma/Manifest
20 +++ b/net-libs/libnma/Manifest
21 @@ -1 +1,2 @@
22 DIST libnma-1.8.28.tar.xz 1366584 BLAKE2B 598c2d310844930a5ed8b8d4b8bc0ae91193a8e62bccdb60050cc980cd37d198adf728b98694d9f1cf9f523998b865d9682fd271c88e434ead777ed5b69866b4 SHA512 d3996da3433493149edf0743b7f2280a83db2efc2228f04eddb773bbcb08ea2efcb640f781cb1d0a5cbabd8b25b1c612387682ff5239151d8ce249568e877f5b
23 +DIST libnma-1.8.30.tar.xz 1386248 BLAKE2B 7021e85595819b0cbd44b8c62087f49a5ecccc4bb230820d9a0159bf33b904df4f5c8021a79822c37d0933bdcde790a44f6d960b7f5f504e7506849aed35d54c SHA512 4d8f93d035fca4252e5c5dafc756ee6bc8f1d302aaeca77c5c0acb5d7f6cd4214224fb48e2706e69084c5a714aafa7837769be17d0642cc29eded9eb175a1107
24
25 diff --git a/net-libs/libnma/libnma-1.8.30.ebuild b/net-libs/libnma/libnma-1.8.30.ebuild
26 new file mode 100644
27 index 00000000000..dac7e9407e8
28 --- /dev/null
29 +++ b/net-libs/libnma/libnma-1.8.30.ebuild
30 @@ -0,0 +1,68 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
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="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +
48 +DEPEND="
49 + app-text/iso-codes
50 + net-misc/mobile-broadband-provider-info
51 + >=dev-libs/glib-2.38:2
52 + >=x11-libs/gtk+-3.10:3[introspection?]
53 + >=net-misc/networkmanager-1.7[introspection?]
54 + pkcs11? ( >=app-crypt/gcr-3.14:= )
55 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
56 +"
57 +RDEPEND="${DEPEND}
58 + !<gnome-extra/nm-applet-1.16.0" # gschema moved to here before nm-applet-1.16.0
59 +BDEPEND="
60 + dev-libs/libxml2
61 + >=sys-devel/gettext-0.19.8
62 + virtual/pkgconfig
63 + gtk-doc? ( dev-util/gtk-doc
64 + app-text/docbook-xml-dtd:4.3 )
65 + vala? ( $(vala_depend)
66 + net-misc/networkmanager[vala]
67 + )
68 +"
69 +
70 +src_prepare() {
71 + use vala && vala_src_prepare
72 + xdg_src_prepare
73 +}
74 +
75 +src_configure() {
76 + local emesonargs=(
77 + -Dlibnma_gtk4=false
78 + $(meson_use pkcs11 gcr)
79 + -Dmore_asserts=0
80 + -Diso_codes=true
81 + -Dmobile_broadband_provider_info=true
82 + -Dld_gc=false
83 + $(meson_use gtk-doc gtk_doc)
84 + $(meson_use introspection)
85 + $(meson_use vala vapi)
86 + )
87 + meson_src_configure
88 +}
89 +
90 +pkg_postinst() {
91 + xdg_pkg_postinst
92 + gnome2_schemas_update
93 +}
94 +
95 +pkg_postrm() {
96 + xdg_pkg_postrm
97 + gnome2_schemas_update
98 +}