diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2014-03-12 04:40:46 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2014-03-12 04:40:46 +0000 |
commit | 24c4ad95aee0773908b5389702d3ed5c6b620720 (patch) | |
tree | 2abee1722f6b4a517c9c72907b67a47ed315285e /net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9.8.4-r1.ebuild | |
parent | Shorten description for improved repoman happy (diff) | |
download | gentoo-2-24c4ad95aee0773908b5389702d3ed5c6b620720.tar.gz gentoo-2-24c4ad95aee0773908b5389702d3ed5c6b620720.tar.bz2 gentoo-2-24c4ad95aee0773908b5389702d3ed5c6b620720.zip |
Fix support for >=openconnect-4.99 (bug #504192, thanks to Kobboi and Pacho Ramos).
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9.8.4-r1.ebuild')
-rw-r--r-- | net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9.8.4-r1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9.8.4-r1.ebuild b/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9.8.4-r1.ebuild new file mode 100644 index 000000000000..e85d37646bf2 --- /dev/null +++ b/net-misc/networkmanager-openconnect/networkmanager-openconnect-0.9.8.4-r1.ebuild @@ -0,0 +1,59 @@ +# 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.4-r1.ebuild,v 1.1 2014/03/12 04:40:46 tetromino Exp $ + +EAPI="5" +GNOME_ORG_MODULE="NetworkManager-${PN##*-}" + +inherit eutils gnome.org gnome2-utils user + +DESCRIPTION="NetworkManager OpenConnect plugin" +HOMEPAGE="http://www.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 + )" + +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/intltool + virtual/pkgconfig +" + +src_prepare() { + # fix build failure with >=openconnect-5.99; in next release + epatch "${FILESDIR}/${P}-auth-dialog-"{formchoice,newgroup,ignore}.patch + gnome2_disable_deprecation_warning + default +} + +src_configure() { + econf \ + --disable-more-warnings \ + --disable-static \ + --with-gtkver=3 \ + $(use_with gtk gnome) \ + $(use_with gtk authdlg) +} + +src_install() { + default + prune_libtool_files --modules +} + +pkg_postinst() { + enewgroup nm-openconnect + enewuser nm-openconnect -1 -1 -1 nm-openconnect +} |