Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/networkmanager-strongswan/
Date: Sat, 19 Jan 2019 05:49:59
Message-Id: 1547876962.10330282dce2f076e10519de92e088c9daf6d8e4.whissi@gentoo
1 commit: 10330282dce2f076e10519de92e088c9daf6d8e4
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sun Oct 28 13:10:50 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 19 05:49:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10330282
7
8 net-misc/networkmanager-strongswan: bump to EAPI=7
9
10 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 .../networkmanager-strongswan-1.4.4-r1.ebuild | 50 ++++++++++++++++++++++
15 1 file changed, 50 insertions(+)
16
17 diff --git a/net-misc/networkmanager-strongswan/networkmanager-strongswan-1.4.4-r1.ebuild b/net-misc/networkmanager-strongswan/networkmanager-strongswan-1.4.4-r1.ebuild
18 new file mode 100644
19 index 00000000000..de93d1d5100
20 --- /dev/null
21 +++ b/net-misc/networkmanager-strongswan/networkmanager-strongswan-1.4.4-r1.ebuild
22 @@ -0,0 +1,50 @@
23 +# Copyright 1999-2018 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +MY_PN="NetworkManager"
29 +MY_P="${P/networkmanager/${MY_PN}}"
30 +
31 +DESCRIPTION="NetworkManager StrongSwan plugin"
32 +HOMEPAGE="https://www.strongswan.org/"
33 +SRC_URI="https://download.strongswan.org/${MY_PN}/${MY_P}.tar.bz2"
34 +
35 +LICENSE="GPL-2+"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +IUSE="+glib"
39 +
40 +RDEPEND="
41 + app-crypt/libsecret
42 + gnome-extra/nm-applet
43 + net-misc/networkmanager
44 + net-vpn/strongswan[networkmanager]
45 + x11-libs/gtk+:3
46 +"
47 +
48 +DEPEND="
49 + ${RDEPEND}
50 + dev-util/intltool
51 +"
52 +
53 +BDEPEND="virtual/pkgconfig"
54 +
55 +S="${WORKDIR}/${MY_P}"
56 +
57 +src_configure() {
58 + local myeconfargs=(
59 + # Don't enable all warnings, as some are treated as errors and the compilation will fail
60 + --disable-more-warnings
61 + --disable-static
62 + $(usex glib '' --without-libnm-glib)
63 + )
64 +
65 + econf "${myeconfargs[@]}"
66 +}
67 +
68 +src_install() {
69 + default
70 +
71 + find "${D}" -name '*.la' -delete || die
72 +}