Diff libnma-1.8.24 with a libnma-1.8.28

/usr/portage/net-libs/libnma/libnma-1.8.28.ebuild 2020-06-07 23:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit gnome.org gnome2-utils meson xdg vala
7

  
6 8
DESCRIPTION="NetworkManager GUI library"
7 9
HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
8 10

  
9 11
LICENSE="GPL-2+"
10 12
SLOT="0"
11
IUSE="+introspection"
12
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 ~sparc x86"
13

  
14
# This is a transitional package for 1.8.24, but 1.16 version will be a real one split out of nm-applet by upstream
15
RDEPEND="~gnome-extra/nm-applet-${PV}[introspection?]"
16
DEPEND="${RDEPEND}"
17
BDEPEND=""
18

  
19
S="${WORKDIR}"
20

  
21
src_unpack() { :; }
22
src_install() { :; }
13
# 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
14
IUSE="gtk-doc +introspection +pkcs11 vala"
15
REQUIRED_USE="vala? ( introspection )"
16
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
17

  
18
DEPEND="
19
	app-text/iso-codes
20
	net-misc/mobile-broadband-provider-info
21
	>=dev-libs/glib-2.38:2
22
	>=x11-libs/gtk+-3.10:3[introspection?]
23
	>=net-misc/networkmanager-1.7[introspection?]
24
	pkcs11? ( >=app-crypt/gcr-3.14:= )
25
	introspection? ( >=dev-libs/gobject-introspection-1.56:= )
26
"
27
RDEPEND="${DEPEND}
28
	!<gnome-extra/nm-applet-1.16.0" # gschema moved to here before nm-applet-1.16.0
29
BDEPEND="
30
	dev-libs/libxml2
31
	>=sys-devel/gettext-0.19.8
32
	virtual/pkgconfig
33
	gtk-doc? ( dev-util/gtk-doc
34
		app-text/docbook-xml-dtd:4.3 )
35
	vala? ( $(vala_depend)
36
		net-misc/networkmanager[vala]
37
	)
38
"
39

  
40
PATCHES=(
41
	"${FILESDIR}"/${PV}-nma-ws-leak-fix.patch
42
)
43

  
44
src_prepare() {
45
	use vala && vala_src_prepare
46
	xdg_src_prepare
47
}
48

  
49
src_configure() {
50
	local emesonargs=(
51
		-Dlibnma_gtk4=false
52
		$(meson_use pkcs11 gcr)
53
		-Dmore_asserts=0
54
		-Diso_codes=true
55
		-Dmobile_broadband_provider_info=true
56
		-Dld_gc=false
57
		$(meson_use gtk-doc gtk_doc)
58
		$(meson_use introspection)
59
		$(meson_use vala vapi)
60
	)
61
	meson_src_configure
62
}
63

  
64
pkg_postinst() {
65
	xdg_pkg_postinst
66
	gnome2_schemas_update
67
}
68

  
69
pkg_postrm() {
70
	xdg_pkg_postrm
71
	gnome2_schemas_update
72
}
Thank you!