summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-05-29 08:45:45 +0300
committerSam James <sam@gentoo.org>2022-05-29 07:45:00 +0100
commitac14f4e2cb672cc22266d8b715527b008f1974a1 (patch)
tree8e8e5221272fe7d7c4a5bd6595a982d91d747cd0 /media-libs/libpulse
parentmedia-libs/suil: bump to 1.10.12, added python3_11 (diff)
downloadgentoo-ac14f4e2cb672cc22266d8b715527b008f1974a1.tar.gz
gentoo-ac14f4e2cb672cc22266d8b715527b008f1974a1.tar.bz2
gentoo-ac14f4e2cb672cc22266d8b715527b008f1974a1.zip
media-libs/libpulse: Add IUSE valgrind
Replace pulseaudio valgrind auto-detection with explicit local USE. Bug: https://bugs.gentoo.org/847541 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libpulse')
-rw-r--r--media-libs/libpulse/libpulse-16.0.ebuild5
-rw-r--r--media-libs/libpulse/metadata.xml1
2 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/libpulse/libpulse-16.0.ebuild b/media-libs/libpulse/libpulse-16.0.ebuild
index 8065b23b30d2..2de9bf92797f 100644
--- a/media-libs/libpulse/libpulse-16.0.ebuild
+++ b/media-libs/libpulse/libpulse-16.0.ebuild
@@ -24,7 +24,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-2.1+"
SLOT="0"
-IUSE="+asyncns dbus doc +glib gtk selinux systemd tcpd test X"
+IUSE="+asyncns dbus doc +glib gtk selinux systemd tcpd test valgrind X"
RESTRICT="!test? ( test )"
# NOTE: libpcre needed in some cases, bug #472228
@@ -40,6 +40,7 @@ RDEPEND="
selinux? ( sec-policy/selinux-pulseaudio )
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )
+ valgrind? ( dev-util/valgrind )
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]
>=x11-libs/libxcb-1.6[${MULTILIB_USEDEP}]
@@ -131,7 +132,7 @@ multilib_src_configure() {
$(meson_native_use_feature systemd)
$(meson_native_use_feature tcpd tcpwrap)
-Dudev=disabled
- -Dvalgrind=auto
+ $(meson_native_use_feature valgrind)
$(meson_feature X x11)
# Echo cancellation
diff --git a/media-libs/libpulse/metadata.xml b/media-libs/libpulse/metadata.xml
index afe3111f5cf9..7e1166ebdbfd 100644
--- a/media-libs/libpulse/metadata.xml
+++ b/media-libs/libpulse/metadata.xml
@@ -13,5 +13,6 @@
</flag>
<flag name="asyncns">Use libasyncns for asynchronous name resolution.</flag>
<flag name="doc">Build the doxygen-described API documentation.</flag>
+ <flag name="valgrind">Compile in valgrind memory hints</flag>
</use>
</pkgmetadata>