/[gentoo-x86]/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.9.4.0.ebuild
Gentoo

Contents of /net-misc/networkmanager-openvpn/networkmanager-openvpn-0.9.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jun 10 09:36:23 2013 UTC (6 years, 5 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Version bump, drop old

(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager-openvpn/networkmanager-openvpn-0.9.4.0.ebuild,v 1.5 2012/08/17 09:44:24 johu Exp $
4
5 EAPI="4"
6 GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
7
8 inherit gnome.org
9
10 DESCRIPTION="NetworkManager OpenVPN plugin"
11 HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="gtk test"
17
18 RDEPEND="
19 >=dev-libs/dbus-glib-0.74
20 >=net-misc/networkmanager-${PV}
21 >=net-misc/openvpn-2.1_rc9
22 gtk? (
23 >=x11-libs/gtk+-2.91.4:3
24 gnome-base/gnome-keyring
25 )"
26
27 DEPEND="${RDEPEND}
28 sys-devel/gettext
29 >=dev-util/intltool-0.35
30 virtual/pkgconfig"
31
32 src_prepare() {
33 # Test will fail if the machine doesn't have a particular locale installed
34 # FAIL: (tls-import-data) unexpected 'ca' secret value
35 sed '/test_non_utf8_import (plugin, test_dir)/ d' \
36 -i properties/tests/test-import-export.c || die "sed failed"
37
38 # Drop DEPRECATED flags, bug #385597
39 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
40 auth-dialog/Makefile.am auth-dialog/Makefile.in \
41 common/Makefile.am common/Makefile.in \
42 properties/Makefile.am properties/Makefile.in \
43 src/Makefile.am src/Makefile.in \
44 configure.ac configure || die
45 }
46
47 src_configure() {
48 ECONF="--disable-more-warnings
49 --disable-static
50 --with-dist-version=Gentoo
51 --with-gtkver=3
52 $(use_with gtk gnome)
53 $(use_with test tests)"
54
55 econf ${ECONF}
56 }
57
58 src_install() {
59 default
60 # Remove useless .la files
61 find "${D}" -name '*.la' -exec rm -f {} +
62 }

  ViewVC Help
Powered by ViewVC 1.1.20