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
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')
-rw-r--r--dev-util/glslang/glslang-7.12.3353_pre20191027-r1.ebuild5
-rw-r--r--dev-util/glslang/glslang-9999.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/dev-util/glslang/glslang-7.12.3353_pre20191027-r1.ebuild b/dev-util/glslang/glslang-7.12.3353_pre20191027-r1.ebuild
index c1e6eeb104d2..c44a7ad5833b 100644
--- a/dev-util/glslang/glslang-7.12.3353_pre20191027-r1.ebuild
+++ b/dev-util/glslang/glslang-7.12.3353_pre20191027-r1.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-inherit cmake-multilib cmake-utils
+PYTHON_COMPAT=(python{3_6,3_7})
+
+inherit cmake-multilib cmake-utils python-any-r1
SNAPSHOT_COMMIT="b131630e7c749a5dc19faa458024260c71fb170f"
SRC_URI="https://github.com/KhronosGroup/${PN}/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${P}.tar.gz"
@@ -19,6 +21,7 @@ SLOT="0"
PATCHES=( "${FILESDIR}/${P}-fix-relative-includes.patch" )
RDEPEND="!<media-libs/shaderc-2019-r1"
+BDEPEND="${PYTHON_DEPS}"
# Bug 698850
RESTRICT="test"
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"