media-libs/vulkan-loader: Require X if building demos
authorNick Sarnie <commendsarnex@gmail.com>
Sat, 14 Apr 2018 19:05:31 +0000 (15:05 -0400)
committerMatt Turner <mattst88@gentoo.org>
Sat, 14 Apr 2018 19:50:22 +0000 (12:50 -0700)
Reported-by: Simon <simon.vanderveldt@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/8002

media-libs/vulkan-loader/vulkan-loader-1.1.70.0.ebuild
media-libs/vulkan-loader/vulkan-loader-9999.ebuild

index 05bb1fc476fa700adb989dfc18d2d60ab5181535..0209e422b94cf5c0b2b7db492895a60d3291488a 100644 (file)
@@ -21,6 +21,7 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="demos layers wayland X"
+REQUIRED_USE="demos? ( X )"
 
 RDEPEND=""
 DEPEND="${PYTHON_DEPS}
index b3a7e0743f444c34055ab5f5b510915daa4fb9bc..50481bec95ef4143c8a8f1c569656bb3d6e9ea3e 100644 (file)
@@ -21,6 +21,7 @@ HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="demos layers wayland X"
+REQUIRED_USE="demos? ( X )"
 
 RDEPEND=""
 DEPEND="${PYTHON_DEPS}