blob: 145fe1c4dd0c8f7d0f27d8bd6923bfc48be21698 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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)
}
|