1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
9 DESCRIPTION="NetworkManager OpenVPN plugin"
10 HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
14 KEYWORDS="amd64 ~arm x86"
16 RESTRICT="!test? ( test )"
19 >=dev-libs/glib-2.32:2
20 >=net-misc/networkmanager-1.7.0:=
23 >=app-crypt/libsecret-0.18
24 >=gnome-extra/nm-applet-1.7.0
31 >=dev-util/intltool-0.35
37 enewuser nm-openvpn -1 -1 -1 nm-openvpn
41 # Test will fail if the machine doesn't have a particular locale installed
42 # FAIL: (tls-import-data) unexpected 'ca' secret value, upstream bug #742708
43 sed '/test_non_utf8_import (plugin, test_dir)/ d' \
44 -i properties/tests/test-import-export.c || die "sed failed"
50 # --localstatedir=/var needed per bug #536248
51 gnome2_src_configure \
52 --localstatedir=/var \
53 --disable-more-warnings \
55 --with-dist-version=Gentoo \