net-vpn/networkmanager-wireguard: bump to verion 0_pre20191128
authorConrad Kostecki <conikost@gentoo.org>
Fri, 13 Dec 2019 23:57:41 +0000 (00:57 +0100)
committerConrad Kostecki <conikost@gentoo.org>
Fri, 13 Dec 2019 23:59:58 +0000 (00:59 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
net-vpn/networkmanager-wireguard/Manifest
net-vpn/networkmanager-wireguard/networkmanager-wireguard-0_pre20191128.ebuild [new file with mode: 0644]

index 2f57e78aba4c302aaa8a9a4fe8ccb26b67b4634f..1eece8ae8d7d0b686a42d191973970672f74f334 100644 (file)
@@ -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 (file)
index 0000000..2779b36
--- /dev/null
@@ -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[@]}"
+}