commit:     01b50d8c847aaae6d0444f7a17f556c61e3e1f54
Author:     Nick Sarnie <commendsarnex <AT> gmail <DOT> com>
AuthorDate: Sat Apr 14 19:05:31 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Apr 14 19:50:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b50d8c

media-libs/vulkan-loader: Require X if building demos

Reported-by: Simon <simon.vanderveldt <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/8002

 media-libs/vulkan-loader/vulkan-loader-1.1.70.0.ebuild | 1 +
 media-libs/vulkan-loader/vulkan-loader-9999.ebuild     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/media-libs/vulkan-loader/vulkan-loader-1.1.70.0.ebuild 
b/media-libs/vulkan-loader/vulkan-loader-1.1.70.0.ebuild
index 05bb1fc476f..0209e422b94 100644
--- a/media-libs/vulkan-loader/vulkan-loader-1.1.70.0.ebuild
+++ b/media-libs/vulkan-loader/vulkan-loader-1.1.70.0.ebuild
@@ -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}

diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild 
b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
index b3a7e0743f4..50481bec95e 100644
--- a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
+++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
@@ -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}

Reply via email to