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

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-05-16 03:40:26 +01:00
parent 3334690c90
commit ce8e25973d

View File

@@ -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)
)