diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-01-22 12:02:31 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-01-22 12:02:31 +0300 |
commit | 5ade6e205e32dff685a176ca13c44e42c6ec698f (patch) | |
tree | 562c524ace4450afe92eca9b98fefb4d60577303 | |
parent | 88430e977b0c66185c753ea9ab22c5af2861bc37 (diff) |
vulkan-loader: build fix, deps fix
-rw-r--r-- | media-libs/vulkan-loader/vulkan-loader-scm.ebuild | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/media-libs/vulkan-loader/vulkan-loader-scm.ebuild b/media-libs/vulkan-loader/vulkan-loader-scm.ebuild index dc4801d..2f9bb73 100644 --- a/media-libs/vulkan-loader/vulkan-loader-scm.ebuild +++ b/media-libs/vulkan-loader/vulkan-loader-scm.ebuild @@ -19,16 +19,31 @@ IUSE="+layers wayland X vulkaninfo" RDEPEND="" DEPEND="${PYTHON_DEPS} wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) - X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )" + X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] ) + dev-util/SPIRV-Tools + dev-util/glslang + " src_unpack(){ git-r3_src_unpack + + mkdir -p external/glslang + EGIT_REPO_URI="https://github.com/KhronosGroup/glslang.git" + EGIT_CHECKOUT_DIR=${WORKDIR}/${P}/external/glslang + 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 + + mkdir -p external/glslang/External/spirv-headers/ + EGIT_REPO_URI="https://github.com/KhronosGroup/SPIRV-Headers" + EGIT_CHECKOUT_DIR=${WORKDIR}/${P}/external/glslang/External/spirv-headers + git-r3_src_unpack } + multilib_src_configure() { if [[ ${ABI} == x86 ]]; then export ASFLAGS="--32" |