# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9.8.6.ebuild,v 1.4 2014/06/24 01:29:57 tetromino Exp $ EAPI="5" GCONF_DEBUG="no" GNOME_ORG_MODULE="NetworkManager-${PN##*-}" inherit gnome2 user DESCRIPTION="NetworkManager OpenConnect plugin" HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" IUSE="gtk" RDEPEND=" >=net-misc/networkmanager-0.9.8:= >=dev-libs/dbus-glib-0.74 dev-libs/libxml2:2 gnome-base/libgnome-keyring >=net-misc/openconnect-3.02:= gtk? ( >=x11-libs/gtk+-2.91.4:3 gnome-base/gnome-keyring gnome-base/libgnome-keyring )" DEPEND="${RDEPEND} sys-devel/gettext dev-util/intltool virtual/pkgconfig " src_configure() { gnome2_src_configure \ --disable-more-warnings \ --disable-static \ --with-gtkver=3 \ $(use_with gtk gnome) \ $(use_with gtk authdlg) } pkg_postinst() { gnome2_pkg_postinst enewgroup nm-openconnect enewuser nm-openconnect -1 -1 -1 nm-openconnect }