summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-20 22:03:44 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-20 22:22:26 +0200
commit3907b389de9b2d0c7d7fe05fa258e6ec8ff0c192 (patch)
treef7db3715aaae24fe0baa4c121a694b23edbe77ee /net-vpn
parentnet-vpn/networkmanager-openvpn: drop old version (diff)
downloadgentoo-3907b389de9b2d0c7d7fe05fa258e6ec8ff0c192.tar.gz
gentoo-3907b389de9b2d0c7d7fe05fa258e6ec8ff0c192.tar.bz2
gentoo-3907b389de9b2d0c7d7fe05fa258e6ec8ff0c192.zip
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 <conikost@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.6-r1.ebuild53
1 files changed, 53 insertions, 0 deletions
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
+}