diff options
author | Matt Turner <mattst88@gentoo.org> | 2016-04-20 21:36:22 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2016-04-20 21:36:53 -0700 |
commit | e9e21224c3cba0617b8b9d0e5a8cc7636b0412d1 (patch) | |
tree | d493e25b46c8ff21b9fa363bf4c26706254fa016 /media-libs/mesa/mesa-9999.ebuild | |
parent | dev-python/gcs-oauth2-boto-plugin: fix SocksiPy-branch reference for bug 577892 (diff) | |
download | gentoo-e9e21224c3cba0617b8b9d0e5a8cc7636b0412d1.tar.gz gentoo-e9e21224c3cba0617b8b9d0e5a8cc7636b0412d1.tar.bz2 gentoo-e9e21224c3cba0617b8b9d0e5a8cc7636b0412d1.zip |
media-libs/mesa: Add valgrind USE flag.
Diffstat (limited to 'media-libs/mesa/mesa-9999.ebuild')
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 6c2c4ebe96af..00213165a443 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -44,8 +44,8 @@ done IUSE="${IUSE_VIDEO_CARDS} bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm - +nptl opencl osmesa pax_kernel openmax pic selinux +udev vaapi vdpau - wayland xvmc xa kernel_FreeBSD" + +nptl opencl osmesa pax_kernel openmax pic selinux +udev vaapi valgrind + vdpau wayland xvmc xa kernel_FreeBSD" REQUIRED_USE=" d3d9? ( dri3 gallium ) @@ -148,6 +148,7 @@ DEPEND="${RDEPEND} ) sys-devel/gettext virtual/pkgconfig + valgrind? ( dev-util/valgrind ) >=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}] dri3? ( >=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}] @@ -299,6 +300,7 @@ multilib_src_configure() { $(use_enable gles2) \ $(use_enable nptl glx-tls) \ $(use_enable !udev sysfs) \ + --enable-valgrind=$(usex valgrind auto no) \ --enable-llvm-shared-libs \ --with-dri-drivers=${DRI_DRIVERS} \ --with-gallium-drivers=${GALLIUM_DRIVERS} \ |