net-vpn/networkmanager-strongswan: add 1.6.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
parent
59ecc31e43
commit
feed2edc9f
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue