summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.8.ebuild')
-rw-r--r--net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.8.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.8.ebuild b/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.8.ebuild
new file mode 100644
index 000000000000..145fe1c4dd0c
--- /dev/null
+++ b/net-vpn/networkmanager-openconnect/networkmanager-openconnect-1.2.8.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
+
+inherit gnome2
+
+DESCRIPTION="NetworkManager OpenConnect plugin"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager https://gitlab.gnome.org/GNOME/NetworkManager-openconnect"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="gtk"
+
+DEPEND="
+ >=net-misc/networkmanager-1.2:=
+ >=dev-libs/glib-2.34:2
+ >=dev-libs/dbus-glib-0.74
+ dev-libs/libxml2:2
+ >=net-vpn/openconnect-3.02:=
+ gtk? (
+ >=app-crypt/libsecret-0.18
+
+ >=app-crypt/gcr-3.4:=
+ >=x11-libs/gtk+-3.12:3
+
+ >=gui-libs/gtk-4.0:4
+ >=net-libs/libnma-1.8.36
+ )
+"
+
+RDEPEND="
+ ${DEPEND}
+ acct-group/nm-openconnect
+ acct-user/nm-openconnect
+"
+
+BDEPEND="
+ sys-devel/gettext
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ # Bug #830257
+ sed -i 's|/appdata|/metainfo|g' Makefile.{in,am} || die
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-more-warnings \
+ --disable-static \
+ --without-libnm-glib \
+ $(use_with gtk gnome) \
+ $(use_with gtk authdlg) \
+ $(use_with gtk gtk4)
+}