commit:     ce8e25973d4599a418eed89d9e2e778ffaea45ed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 02:40:26 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 16 03:35:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8e2597

net-misc/spice-gtk: add Valgrind annotation support

Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 edfe353dc093..2e31ef2729a7 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)
        )

Reply via email to