summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2019-12-14 00:57:41 +0100
committerConrad Kostecki <conikost@gentoo.org>2019-12-14 00:59:58 +0100
commitf1ef233b97784de32fdca25cec4bbd6c710dbbec (patch)
treef98f94ea0020e79fdbbf6ba1c14f8330309b3446 /net-vpn
parentapp-benchmarks/stress-ng: drop old version (diff)
downloadgentoo-f1ef233b97784de32fdca25cec4bbd6c710dbbec.tar.gz
gentoo-f1ef233b97784de32fdca25cec4bbd6c710dbbec.tar.bz2
gentoo-f1ef233b97784de32fdca25cec4bbd6c710dbbec.zip
net-vpn/networkmanager-wireguard: bump to verion 0_pre20191128
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/networkmanager-wireguard/Manifest1
-rw-r--r--net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20191128.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-wireguard/Manifest b/net-vpn/networkmanager-wireguard/Manifest
index 2f57e78aba4c..1eece8ae8d7d 100644
--- a/net-vpn/networkmanager-wireguard/Manifest
+++ b/net-vpn/networkmanager-wireguard/Manifest
@@ -1 +1,2 @@
DIST networkmanager-wireguard-0_pre20181128.tar.gz 233338 BLAKE2B 46695c640cb6599efef2e90bacf1ec924303689bdc45cf5cbf5c1bc807ea7ee708015592881b23e38dcf51a5c32b04aefd994aec09010ab9790522b8aee4f371 SHA512 4a2b97c88f20c8eb6bfe495204eb0d751a85120a3043b90f3475913ec1242905c49cba7c179974cf360137ee3828a0d1794b09998fe5e90bdf47b718b059f8d1
+DIST networkmanager-wireguard-0_pre20191128.tar.gz 238536 BLAKE2B e926c08c68df3e452a7ba25c66e7678969594002cb45a03ca26af32c86b021260c7836157fe9244c07223bf2e1c821ee64c3535c392f3636217c6ae67d8b800a SHA512 4ed9566a18be01b1be7d92da4663a292e17804a706045d58f08640e2fe81f9672880f20d1657b70eafc769b2688f72928c6fa601c0011bde91347902a222e670
diff --git a/net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20191128.ebuild b/net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20191128.ebuild
new file mode 100644
index 000000000000..2779b36f5cff
--- /dev/null
+++ b/net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20191128.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+EGIT_COMMIT="0e1124df9e97129c5e0d9996a2c3876ae18f01c4"
+MY_PN="${PN/network/network-}"
+
+DESCRIPTION="NetworkManager WireGuard plugin"
+HOMEPAGE="https://github.com/max-moser/network-manager-wireguard"
+SRC_URI="https://github.com/max-moser/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+glib +gtk +nls"
+REQUIRED_USE="glib? ( gtk )"
+
+RDEPEND="
+ net-misc/networkmanager
+ net-vpn/wireguard
+ glib? ( dev-libs/glib )
+ gtk? (
+ app-crypt/libsecret
+ gnome-extra/nm-applet
+ x11-libs/gtk+:3
+ )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ virtual/pkgconfig
+ nls? (
+ dev-util/intltool
+ sys-devel/gettext
+ )
+"
+
+S="${WORKDIR}/${MY_PN}-${EGIT_COMMIT}"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-lto
+ --disable-more-warnings
+ --disable-static
+ $(use_with glib libnm-glib)
+ $(use_with gtk gnome)
+ $(use_enable nls)
+ --with-dist-version="Gentoo"
+ )
+
+ econf "${myeconfargs[@]}"
+}