From 17b0cbe42483cffbe1fa6002276128e345603020 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 3 Mar 2017 14:30:21 -0800 Subject: [PATCH] media-libs/vulkan-loader: Add wayland and X USE flags. Bug: https://bugs.gentoo.org/607154 --- media-libs/vulkan-loader/vulkan-loader-9999.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild index 3ffa6bfad768..a70dc0dc6471 100644 --- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild +++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild @@ -20,10 +20,12 @@ HOMEPAGE="https://www.khronos.org/vulkan/" LICENSE="Apache-2.0" SLOT="0" -IUSE="" +IUSE="wayland X" -DEPEND="${PYTHON_DEPS}" RDEPEND="" +DEPEND="${PYTHON_DEPS} + wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) + X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )" DOCS=( README.md LICENSE.txt ) @@ -36,6 +38,9 @@ multilib_src_configure() { -DBUILD_VKJSON=False -DBUILD_LOADER=True -DBUILD_WSI_MIR_SUPPORT=False + -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) + -DBUILD_WSI_XCB_SUPPORT=$(usex X) + -DBUILD_WSI_XLIB_SUPPORT=$(usex X) ) cmake-utils_src_configure } -- 2.26.2