summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-03-03 14:30:21 -0800
committerMatt Turner <mattst88@gentoo.org>2017-03-03 14:50:54 -0800
commit17b0cbe42483cffbe1fa6002276128e345603020 (patch)
tree87ade9cde43662bb30948b71dd11a10e28777693 /media-libs/vulkan-loader
parentmedia-libs/vulkan-loader: Add git ebuild. (diff)
downloadgentoo-17b0cbe42483cffbe1fa6002276128e345603020.tar.gz
gentoo-17b0cbe42483cffbe1fa6002276128e345603020.tar.bz2
gentoo-17b0cbe42483cffbe1fa6002276128e345603020.zip
media-libs/vulkan-loader: Add wayland and X USE flags.
Bug: https://bugs.gentoo.org/607154
Diffstat (limited to 'media-libs/vulkan-loader')
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-9999.ebuild9
1 files 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
}