You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
948 B
54 lines
948 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=7
|
||
|
|
||
5 years ago
|
GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
|
||
|
|
||
3 years ago
|
inherit gnome2
|
||
5 years ago
|
|
||
|
DESCRIPTION="NetworkManager OpenConnect plugin"
|
||
|
HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
|
||
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
4 years ago
|
KEYWORDS="amd64 arm arm64 ~ppc64 x86"
|
||
5 years ago
|
IUSE="gtk"
|
||
|
|
||
3 years ago
|
DEPEND="
|
||
5 years ago
|
>=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 )
|
||
|
"
|
||
3 years ago
|
|
||
|
RDEPEND="
|
||
|
${DEPEND}
|
||
|
acct-group/nm-openconnect
|
||
|
acct-user/nm-openconnect
|
||
|
"
|
||
|
|
||
|
BDEPEND="
|
||
5 years ago
|
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
|
||
|
}
|