From ce8e25973d4599a418eed89d9e2e778ffaea45ed Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 16 May 2023 03:40:26 +0100 Subject: [PATCH] net-misc/spice-gtk: add Valgrind annotation support Signed-off-by: Sam James --- net-misc/spice-gtk/spice-gtk-0.42.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-misc/spice-gtk/spice-gtk-0.42.ebuild b/net-misc/spice-gtk/spice-gtk-0.42.ebuild index edfe353dc0934..2e31ef2729a70 100644 --- a/net-misc/spice-gtk/spice-gtk-0.42.ebuild +++ b/net-misc/spice-gtk/spice-gtk-0.42.ebuild @@ -24,7 +24,7 @@ fi LICENSE="LGPL-2.1" SLOT="0" -IUSE="+gtk3 +introspection lz4 mjpeg policykit sasl smartcard usbredir vala wayland webdav" +IUSE="+gtk3 +introspection lz4 mjpeg policykit sasl smartcard usbredir vala valgrind wayland webdav" # TODO: # * check if sys-freebsd/freebsd-lib (from virtual/acl) provides acl/libacl.h @@ -71,7 +71,8 @@ RDEPEND="${RDEPEND} x86? ( media-libs/libva:= ) " DEPEND="${RDEPEND} - >=app-emulation/spice-protocol-${SPICE_PROTOCOL_VER}" + >=app-emulation/spice-protocol-${SPICE_PROTOCOL_VER} + valgrind? ( dev-util/valgrind )" BDEPEND=" dev-perl/Text-CSV dev-util/glib-utils @@ -106,6 +107,7 @@ src_configure() { $(meson_feature smartcard) $(meson_feature usbredir) $(meson_feature vala vapi) + $(meson_use valgrind) $(meson_feature webdav) $(meson_feature wayland wayland-protocols) )