diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-05-23 01:11:31 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-05-23 01:14:22 +0200 |
commit | feed2edc9f754ae073f57c25acb5114b21483158 (patch) | |
tree | 971f4d9362a7b74b95cda6dae95c76e1d449271f /net-vpn | |
parent | sys-devel/gcc: unkeyword 9.4.1_p20220520 (diff) | |
download | gentoo-feed2edc9f754ae073f57c25acb5114b21483158.tar.gz gentoo-feed2edc9f754ae073f57c25acb5114b21483158.tar.bz2 gentoo-feed2edc9f754ae073f57c25acb5114b21483158.zip |
net-vpn/networkmanager-strongswan: add 1.6.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/networkmanager-strongswan/Manifest | 1 | ||||
-rw-r--r-- | net-vpn/networkmanager-strongswan/metadata.xml | 3 | ||||
-rw-r--r-- | net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.6.0.ebuild | 60 |
3 files changed, 64 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-strongswan/Manifest b/net-vpn/networkmanager-strongswan/Manifest index b1cfec963f30..bc5029198274 100644 --- a/net-vpn/networkmanager-strongswan/Manifest +++ b/net-vpn/networkmanager-strongswan/Manifest @@ -1 +1,2 @@ DIST NetworkManager-strongswan-1.5.2.tar.bz2 300735 BLAKE2B f8ac0002d14bc79b33b897785eb60ac46d43d29c2e897a9d2249c905a524bd7e8942d8bb535a551956b81be0af16b6fa8876a8c636aadc06d2c068a4b21b403e SHA512 c79f011470778ae05f80b71330acfd7df75363fd089624007e9bdd82b75513a23eaaa3ef10141f780df075eb501ee675e4c293710e0a4c5fd9d4f4b0565bae59 +DIST NetworkManager-strongswan-1.6.0.tar.bz2 302787 BLAKE2B 2c54f9f13ab61d4a265dd6639cba93089a211f0b75cb976f638a4f5a6565b1386b273a9e80fca90c6581706592e3c396790143e910d2ecac574380eed278b325 SHA512 ecfae6c100f9344d07a9d67f01894edbd509178698ad3bce6f8c1ccdd53e08baca4e95c10f7f72991b163042f9cc19d876bcf71ab8b2efb10a25c5e00fe03572 diff --git a/net-vpn/networkmanager-strongswan/metadata.xml b/net-vpn/networkmanager-strongswan/metadata.xml index c07e13d4a6bd..fe2e4590e7e8 100644 --- a/net-vpn/networkmanager-strongswan/metadata.xml +++ b/net-vpn/networkmanager-strongswan/metadata.xml @@ -5,4 +5,7 @@ <email>conikost@gentoo.org</email> <name>Conrad Kostecki</name> </maintainer> + <use> + <flag name="gtk4">Use GTK4 instead of GTK3.</flag> + </use> </pkgmetadata> diff --git a/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.6.0.ebuild b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.6.0.ebuild new file mode 100644 index 000000000000..4a389a2a6bcb --- /dev/null +++ b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.6.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_PN="NetworkManager" +MY_P="${P/networkmanager/${MY_PN}}" + +DESCRIPTION="NetworkManager StrongSwan plugin" +HOMEPAGE="https://www.strongswan.org/" +SRC_URI="https://download.strongswan.org/${MY_PN}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk4" + +RDEPEND=" + app-crypt/libsecret + >=net-libs/libnma-1.1.0 + net-misc/networkmanager + >=net-vpn/strongswan-5.8.3[networkmanager] + !gtk4? ( x11-libs/gtk+:3 ) + gtk4? ( + net-libs/libnma + gui-libs/gtk:4 + ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + dev-util/intltool + virtual/pkgconfig +" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + # Don't enable all warnings, as some are treated as errors and the compilation will fail + --disable-more-warnings + --disable-static + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +} |