summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-12-14 02:06:46 -0800
committerZac Medico <zmedico@gentoo.org>2020-12-14 02:07:23 -0800
commit5f551c0bf9e65c2725e6c0097ea088eeddaaffb4 (patch)
tree288fe9f9cbfa4cd627295053fd051cea28c6c758
parentdev-haskell/abstract-deque: fix USE=usecas case (diff)
downloadgentoo-5f551c0bf9e65c2725e6c0097ea088eeddaaffb4.tar.gz
gentoo-5f551c0bf9e65c2725e6c0097ea088eeddaaffb4.tar.bz2
gentoo-5f551c0bf9e65c2725e6c0097ea088eeddaaffb4.zip
net-libs/libslirp: Bump to version 4.4.0
Bug: https://bugs.gentoo.org/759964 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--net-libs/libslirp/Manifest1
-rw-r--r--net-libs/libslirp/libslirp-4.4.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/net-libs/libslirp/Manifest b/net-libs/libslirp/Manifest
index b508e930c3e..eaa6c1a9a55 100644
--- a/net-libs/libslirp/Manifest
+++ b/net-libs/libslirp/Manifest
@@ -1 +1,2 @@
DIST libslirp-4.3.1.tar.gz 127008 BLAKE2B de40980521a54367fda73b9a67a80159ff14e8ea073086d8df3b42028ffe778b62f0aabe2b3f0929e168c73c453a8eda3fe0bb866d22de5b0712775e9cece19f SHA512 fa38a5e508b00802538f8466b8b52fc4842d6f7f74caa399db1011c15bb37198678415147327a606e3f259fd5def9390012df1d4dc76e8869e9bb77ca6514005
+DIST libslirp-4.4.0.tar.gz 128453 BLAKE2B da747071c22522649627dd8b2e1cd621129a6898b2391d0da2a8f032068f129d11de3dc0e0f94ac38b36c79e2cc0c9508a3bd3e9a07beca914219146c82faec0 SHA512 27f5d41730a3070df4ead1af4ec42fdff141289e5072ec93053b9236d9197bc3f1a3a804c85eef08458ab47a0d4921457df57ece5aae42cab9f068ccda31f3ee
diff --git a/net-libs/libslirp/libslirp-4.4.0.ebuild b/net-libs/libslirp/libslirp-4.4.0.ebuild
new file mode 100644
index 00000000000..013229b4fd9
--- /dev/null
+++ b/net-libs/libslirp/libslirp-4.4.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+MY_P="${PN}-v${PV}"
+SRC_URI="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
+DESCRIPTION="A general purpose TCP-IP emulator used by virtual machine hypervisors to provide virtual networking services."
+HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/glib:="
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ echo "${PV}" > .tarball-version || die
+ echo -e "#!${BASH}\necho -n \$(cat '${S}/.tarball-version')" > build-aux/git-version-gen || die
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddefault_library=$(usex static-libs both shared)
+ )
+ meson_src_configure
+}