From 964c51313f59cc28efbd4cf33315ebbc86dc806c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 22 May 2023 07:15:01 +0000 Subject: [PATCH] net-libs/libslirp: Sync with Gentoo It's from Gentoo commit 5c4ce05d4512e36686209cba6f719bc7a6dc28f2. --- .../net-libs/libslirp/libslirp-4.7.0.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.7.0.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.7.0.ebuild index 7f4caff457..0810b697f5 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.7.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.7.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit meson -KEYWORDS="~amd64 ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~loong ~m68k ~ppc ppc64 ~riscv 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 TCP-IP emulator used to provide virtual networking services" @@ -13,11 +13,14 @@ HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp" LICENSE="BSD" SLOT="0" -IUSE="static-libs" +IUSE="static-libs valgrind" RDEPEND="dev-libs/glib:=" - -DEPEND="${RDEPEND}" +# Valgrind usage is automagic but it's not so bad given it's a header-only dep. +DEPEND=" + ${RDEPEND} + valgrind? ( dev-util/valgrind ) +" S=${WORKDIR}/${MY_P}