summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-11-17 21:37:12 -0800
committerMatt Turner <mattst88@gentoo.org>2019-11-17 21:39:52 -0800
commit34d0b8a2ea5c8b4beccd7e25ff268bfc8b137f91 (patch)
tree48b69706a5cc8d575fc57a39e79310803f7400c3 /dev-util/glslang/glslang-9999.ebuild
parentapp-misc/ltunify: remove old (diff)
downloadgentoo-34d0b8a2ea5c8b4beccd7e25ff268bfc8b137f91.tar.gz
gentoo-34d0b8a2ea5c8b4beccd7e25ff268bfc8b137f91.tar.bz2
gentoo-34d0b8a2ea5c8b4beccd7e25ff268bfc8b137f91.zip
dev-util/glslang: Require Python
Thanks to Arfrever for the suggested fix. Closes: https://bugs.gentoo.org/698852 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util/glslang/glslang-9999.ebuild')
-rw-r--r--dev-util/glslang/glslang-9999.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-util/glslang/glslang-9999.ebuild b/dev-util/glslang/glslang-9999.ebuild
index 4283dcd2371b..bbdb6606eab1 100644
--- a/dev-util/glslang/glslang-9999.ebuild
+++ b/dev-util/glslang/glslang-9999.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-inherit cmake-multilib cmake-utils git-r3
+PYTHON_COMPAT=(python{3_6,3_7})
+
+inherit cmake-multilib cmake-utils python-any-r1 git-r3
EGIT_REPO_URI="https://github.com/KhronosGroup/glslang.git"
SRC_URI=""
@@ -15,3 +17,9 @@ LICENSE="BSD"
SLOT="0"
PATCHES=( "${FILESDIR}/${P}-fix-relative-includes.patch" )
+
+RDEPEND="!<media-libs/shaderc-2019-r1"
+BDEPEND="${PYTHON_DEPS}"
+
+# Bug 698850
+RESTRICT="test"