From 3907b389de9b2d0c7d7fe05fa258e6ec8ff0c192 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Tue, 20 Jul 2021 22:03:44 +0200 Subject: net-vpn/networkmanager-openconnect: migrate to GLEP 81 Bug: https://bugs.gentoo.org/781479 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki --- .../networkmanager-openconnect-1.2.6-r1.ebuild | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.6-r1.ebuild (limited to 'net-vpn') diff --git a/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.6-r1.ebuild b/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.6-r1.ebuild new file mode 100644 index 000000000000..b03a1ae535e8 --- /dev/null +++ b/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.6-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GNOME_ORG_MODULE="NetworkManager-${PN##*-}" + +inherit gnome2 + +DESCRIPTION="NetworkManager OpenConnect plugin" +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~ppc64 x86" +IUSE="gtk" + +DEPEND=" + >=net-misc/networkmanager-1.2:= + >=dev-libs/glib-2.32:2 + >=dev-libs/dbus-glib-0.74 + dev-libs/libxml2:2 + >=net-vpn/openconnect-3.02:= + gtk? ( + >=app-crypt/gcr-3.4:= + >=app-crypt/libsecret-0.18 + >=x11-libs/gtk+-3.4:3 ) +" + +RDEPEND=" + ${DEPEND} + acct-group/nm-openconnect + acct-user/nm-openconnect +" + +BDEPEND=" + sys-devel/gettext + dev-util/intltool + virtual/pkgconfig +" + +src_configure() { + gnome2_src_configure \ + --disable-more-warnings \ + --disable-static \ + --without-libnm-glib \ + $(use_with gtk gnome) \ + $(use_with gtk authdlg) +} + +pkg_postinst() { + gnome2_pkg_postinst +} -- cgit v1.2.3-65-gdbad