summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-14 13:10:24 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-14 13:10:24 +0300
commit8ee3deafbb593d7dd1639daf4b7c39a6d88b90d0 (patch)
tree6fb8e0558c69ff377f8a7974b85687985f53d5c2 /media-libs
parent724a94be65a90b6b873287b679d124e2fc31998f (diff)
vulkan-loader: build fix via ugly hack
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-scm.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/media-libs/vulkan-loader/vulkan-loader-scm.ebuild b/media-libs/vulkan-loader/vulkan-loader-scm.ebuild
index 085a9ac..8c5bfdf 100644
--- a/media-libs/vulkan-loader/vulkan-loader-scm.ebuild
+++ b/media-libs/vulkan-loader/vulkan-loader-scm.ebuild
@@ -21,6 +21,14 @@ DEPEND="${PYTHON_DEPS}
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+src_unpack(){
+ git-r3_src_unpack
+ mkdir -p external/glslang/External/spirv-tools/
+ EGIT_REPO_URI="https://github.com/KhronosGroup/SPIRV-Tools"
+ EGIT_CHECKOUT_DIR=${WORKDIR}/${P}/external/glslang/External/spirv-tools
+ git-r3_src_unpack
+}
+
multilib_src_configure() {
if [[ ${ABI} == x86 ]]; then
export ASFLAGS="--32"