mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
committed by
Sam James
parent
70c844925c
commit
ac14f4e2cb
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user