summaryrefslogtreecommitdiff
path: root/media-libs/vulkan-loader
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/vulkan-loader
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/vulkan-loader')
-rw-r--r--media-libs/vulkan-loader/Manifest16
-rw-r--r--media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch25
-rw-r--r--media-libs/vulkan-loader/metadata.xml11
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.0.42.0.ebuild50
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild50
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.0.46.0.ebuild50
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.0.51.0.ebuild50
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.0.54.0.ebuild55
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-1.0.61.1.ebuild50
-rw-r--r--media-libs/vulkan-loader/vulkan-loader-9999.ebuild50
10 files changed, 407 insertions, 0 deletions
diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest
new file mode 100644
index 000000000000..de4b1e7ba661
--- /dev/null
+++ b/media-libs/vulkan-loader/Manifest
@@ -0,0 +1,16 @@
+AUX vulkan-loader-1.0.54.0-remove-executable-stack.patch 691 SHA256 186032f21cd2bd1838ccc8f00a6c76c21c0896c1c2e9add449de55e2a1781963 SHA512 b19e8aee1bb1dcf081017d41a4ea228d98515bf403e84a3d81f9ff359014cf1aaf28a7f1d29bce3951000d49df2b260a2f4ff6c27f368ec12791dfad28a4257b WHIRLPOOL c55bbac7ddde95bbedb4c65cfbf24ce82bf0975b4e0e4f983976a2a1eb507a8b6315a6946e977ae6797885deb3d831140bd9c3253263902df4e0c77e2b8cd663
+DIST vulkan-loader-1.0.42.0.tar.gz 3699030 SHA256 305d3070f559a3f5ad332aff285a3ea0618f9d0696cde81a58765fcb5c7c4e42 SHA512 2c35aecffc60992023184e499d036d99a3c39b3b3856341f341fc9c5b2b0c71cc49a4658634165f4d5218a7202f4c2ddfb95107ba95f2c8a9870e375cff7a15b WHIRLPOOL f1f9bc0c7f1b78c37776d8143d110853333cc8015348d30e98cad2cd28b82fabb9b0405d536310421df4f41bad283e0cad0e0d8e24e15d2d37db3e33cf1baa93
+DIST vulkan-loader-1.0.42.2.tar.gz 3701608 SHA256 bc09a5e667c4a34c0a2969c8169e55bbabf9f57a76166ce43fd6e50c8e249725 SHA512 6f591bcb69edde516cf170936e23a3f19f2f57a22b65d19683c10528ed6559501d3dae29ee1d3e820a81a5cd6e608f5710ba15f7c9bc050ea0eaceef2cf82d37 WHIRLPOOL ab5b1cc3a65414c389ab216aba9bb12018969ec6559cfc381881137aa865d8cc79c06221f903f9a3db001fed75dbaea789bc7b17dacbab545ce8fa78f3e968a7
+DIST vulkan-loader-1.0.46.0.tar.gz 3732605 SHA256 439db567f03448f57d7899c4a78986669dc4d930af9699986a85bf2fc3d3acb8 SHA512 dc0728c00e017a2ed0b1e34a500a6335f6dee5dd77c7801d7d450c68c6e8c7cd5dec640be6dec1dea28941d927764a636b82a628e0260ca724163afa4152d8b6 WHIRLPOOL aa2424939b3a6c80909efd1f50d668c83aaf828ef490f13cd02391098e018e8ed33c6949ea47caaa4be0b258ba351447654c814c4bc2aa572e53ca582d7143a0
+DIST vulkan-loader-1.0.51.0.tar.gz 3796337 SHA256 20c07764e3f69d0d2158070a24faa6b8c5242af0bf8088ac538281c42c2ca119 SHA512 5d198fc9537c8fa3cbde19fc74f8d47595fabcb52c8db1c626fa157f171ed74ad202e086f7c9e94827c1ab682d03bae58af690c510c6705ca92db0548ee575f6 WHIRLPOOL ab49cc588efa97cb994d4f151c6328be385d6aaf3200547197306788823c7c908d850bbee396a5b201b79960ab1df5d341921c014032649b9b7b03081d8c8149
+DIST vulkan-loader-1.0.54.0.tar.gz 3842785 SHA256 f2556963f27309485c4d6bd9acece58d51df6a1b13699cc3a2c8d2579e6a3831 SHA512 f5478e1a7f966a2d09b97a3b47a04b4c9ccd68b88126fefcd6f97bfd0347c5a5bebf52e1cdfccc4863d22dd3b875e04cddf406e3e546eb3dc50d2ef61d85a21f WHIRLPOOL 32591f1e9b0e5d91f82dfd48fc676e51e6d3311d680efbc4e8390a6eeb0ebce82905a01eed9ae764ea432f440c9aeeb888d295366074fd57cc0e15b91ecba4a2
+DIST vulkan-loader-1.0.61.1.tar.gz 3889453 SHA256 47a2e56e4721ffac7df6a4e8ce2189da41331b7ed91e3879266c69302604e615 SHA512 e16599ca458dc1c636c80a03693edc4a24563e08768de95e7711cd7927d7cfdcd0ce14d16d938ca066bfe4ce8fe43836d2b61973bc2a7ba6ad14ab5f18166e0e WHIRLPOOL e62e3ae608df180fecf1516dfcfac146903ce07c970bfc0f462583a5cdb48e17b7104138cc083340f23359e0235e95e8fa07ad389b324448b669978fb688adf7
+EBUILD vulkan-loader-1.0.42.0.ebuild 1277 SHA256 202b6ac611cc3e694eef0683eb8964c5ab342a18d24fd976086c5e933193a19c SHA512 0d027423b2419565ea3c3d27e76328ff44cd931ae7596b445fe509ce8f13319e1dc1b0e102f18d87d11a1795f5b8c44595d8c1ee54561c03b86a08246ed8b2d5 WHIRLPOOL 5c7f27d99e4387fce426534d1e8d0800fc937c627b5e2090799396122d298203d273226029de80c3fe4cd357ec129ad1540936d3cd4cc98ff35ce2b33eff1bfe
+EBUILD vulkan-loader-1.0.42.2.ebuild 1278 SHA256 ceb80edcd4ac070c891fb9d770752c4749c47e2f9bf131c6a14535e988c55210 SHA512 2fed44bc56f923aecb47ad0bdd576d1bf69bf0c764ff6d8ca54def5f39a58eafffc68bd880ffd769fe41e234633031c0675657fd56b0214812608b327664a46f WHIRLPOOL fc2613b1aec55915d3cdd95cc52735f38a3b35e2d3af2386f4e2cc9450db63980b1e9648f70574e0d505e626db529c4cd2a141b30b8fb332c22ce62eb5ace5ab
+EBUILD vulkan-loader-1.0.46.0.ebuild 1277 SHA256 202b6ac611cc3e694eef0683eb8964c5ab342a18d24fd976086c5e933193a19c SHA512 0d027423b2419565ea3c3d27e76328ff44cd931ae7596b445fe509ce8f13319e1dc1b0e102f18d87d11a1795f5b8c44595d8c1ee54561c03b86a08246ed8b2d5 WHIRLPOOL 5c7f27d99e4387fce426534d1e8d0800fc937c627b5e2090799396122d298203d273226029de80c3fe4cd357ec129ad1540936d3cd4cc98ff35ce2b33eff1bfe
+EBUILD vulkan-loader-1.0.51.0.ebuild 1278 SHA256 ceb80edcd4ac070c891fb9d770752c4749c47e2f9bf131c6a14535e988c55210 SHA512 2fed44bc56f923aecb47ad0bdd576d1bf69bf0c764ff6d8ca54def5f39a58eafffc68bd880ffd769fe41e234633031c0675657fd56b0214812608b327664a46f WHIRLPOOL fc2613b1aec55915d3cdd95cc52735f38a3b35e2d3af2386f4e2cc9450db63980b1e9648f70574e0d505e626db529c4cd2a141b30b8fb332c22ce62eb5ace5ab
+EBUILD vulkan-loader-1.0.54.0.ebuild 1363 SHA256 809e910cddd1bacc40dbf753cc331ae527beacf158cd3d8c51c989a218df9186 SHA512 1a1468d9ceb9614cc0e422aa35b4febf8cbbd2351e1ee78319d6d79ac27a4ed1fbc9dfe15b51e0b980146c7e099226dcd9b9092250582b1f614d3528ab437cf5 WHIRLPOOL 23a489f7ca3b7e5be24a6c015fcac8be7bd3e67d829684632ff7e68f7cd68e3092225b852febfea0dac6544b67bd69723e7db12946b1d0396e209ea16872d930
+EBUILD vulkan-loader-1.0.61.1.ebuild 1278 SHA256 ceb80edcd4ac070c891fb9d770752c4749c47e2f9bf131c6a14535e988c55210 SHA512 2fed44bc56f923aecb47ad0bdd576d1bf69bf0c764ff6d8ca54def5f39a58eafffc68bd880ffd769fe41e234633031c0675657fd56b0214812608b327664a46f WHIRLPOOL fc2613b1aec55915d3cdd95cc52735f38a3b35e2d3af2386f4e2cc9450db63980b1e9648f70574e0d505e626db529c4cd2a141b30b8fb332c22ce62eb5ace5ab
+EBUILD vulkan-loader-9999.ebuild 1278 SHA256 ceb80edcd4ac070c891fb9d770752c4749c47e2f9bf131c6a14535e988c55210 SHA512 2fed44bc56f923aecb47ad0bdd576d1bf69bf0c764ff6d8ca54def5f39a58eafffc68bd880ffd769fe41e234633031c0675657fd56b0214812608b327664a46f WHIRLPOOL fc2613b1aec55915d3cdd95cc52735f38a3b35e2d3af2386f4e2cc9450db63980b1e9648f70574e0d505e626db529c4cd2a141b30b8fb332c22ce62eb5ace5ab
+MISC ChangeLog 584 SHA256 3dba7a8dce2baca83fdbe03debe6019346f783d7e2a923846bb4dc320c4e2a98 SHA512 2ad96307a8ad30041165083fb7a4beedf83aff6715572e6fb89e8188e241a3081b6e76e7fd1514543eb483eeead5997982593374f1d49b0be9b77a8d7036a190 WHIRLPOOL e3d34ab61cbbed35bdb0473d88da064cd03720ccf0048314962813d1c669f7c2bbd2b9e637e693bd5368055ed7f51e9bbf17e20d7a1d9dd80e288613d1a244ba
+MISC metadata.xml 344 SHA256 52e9c4241a47de3938c50fbac09924ad17abf23bc44c323dd6b0e020a988343f SHA512 b414949f0a6e2b9293d5d6ce2d3816efd2ccd8425d60ede999e31b9e829ec03439a7c99d529200c5c227523387a2439eefd1e77439663fbd23e846f77142513f WHIRLPOOL b356841a9f4317a34b3c915cd1a3265a3aa6b4f5b4a84c04489862b3ae5e1cc6aaf2e87cc323f6f049813702a0ca398e03fa02ca508897d5d45689deaa18fbf8
diff --git a/media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch b/media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch
new file mode 100644
index 000000000000..36b50b91e73e
--- /dev/null
+++ b/media-libs/vulkan-loader/files/vulkan-loader-1.0.54.0-remove-executable-stack.patch
@@ -0,0 +1,25 @@
+From 3152f2a5056077d3e1061ac61e3ef7888ff96dc7 Mon Sep 17 00:00:00 2001
+From: Lenny Komow <lenny@lunarg.com>
+Date: Thu, 20 Jul 2017 16:07:14 -0600
+Subject: [PATCH] loader: Remove executable stack from libvulkan.so
+
+Change-Id: Id77d5560479cbbc6f5453a6362c5a20dd721fdd0
+---
+ loader/unknown_ext_chain_gas.asm | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/loader/unknown_ext_chain_gas.asm b/loader/unknown_ext_chain_gas.asm
+index e463f45be..798760bd8 100644
+--- a/loader/unknown_ext_chain_gas.asm
++++ b/loader/unknown_ext_chain_gas.asm
+@@ -108,6 +108,10 @@ vkdev_ext\num:
+
+ .endif
+
++#if defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
++
+ .data
+
+ termin_error_string:
diff --git a/media-libs/vulkan-loader/metadata.xml b/media-libs/vulkan-loader/metadata.xml
new file mode 100644
index 000000000000..1c806f32b436
--- /dev/null
+++ b/media-libs/vulkan-loader/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">KhronosGroup/Vulkan-LoaderAndValidationLayers</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.42.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.42.0.ebuild
new file mode 100644
index 000000000000..56caaa6fd6ed
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.42.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
+ inherit git-r3
+else
+ KEYWORDS="amd64"
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND=""
+DEPEND="${PYTHON_DEPS}
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=True
+ -DBUILD_TESTS=False
+ -DBUILD_LAYERS=False
+ -DBUILD_DEMOS=False
+ -DBUILD_VKJSON=False
+ -DBUILD_LOADER=True
+ -DBUILD_WSI_MIR_SUPPORT=False
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ default
+}
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild
new file mode 100644
index 000000000000..4ab7f86d5494
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.42.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND=""
+DEPEND="${PYTHON_DEPS}
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=True
+ -DBUILD_TESTS=False
+ -DBUILD_LAYERS=False
+ -DBUILD_DEMOS=False
+ -DBUILD_VKJSON=False
+ -DBUILD_LOADER=True
+ -DBUILD_WSI_MIR_SUPPORT=False
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ default
+}
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.46.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.46.0.ebuild
new file mode 100644
index 000000000000..56caaa6fd6ed
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.46.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
+ inherit git-r3
+else
+ KEYWORDS="amd64"
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND=""
+DEPEND="${PYTHON_DEPS}
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=True
+ -DBUILD_TESTS=False
+ -DBUILD_LAYERS=False
+ -DBUILD_DEMOS=False
+ -DBUILD_VKJSON=False
+ -DBUILD_LOADER=True
+ -DBUILD_WSI_MIR_SUPPORT=False
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ default
+}
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.51.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.51.0.ebuild
new file mode 100644
index 000000000000..4ab7f86d5494
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.51.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND=""
+DEPEND="${PYTHON_DEPS}
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=True
+ -DBUILD_TESTS=False
+ -DBUILD_LAYERS=False
+ -DBUILD_DEMOS=False
+ -DBUILD_VKJSON=False
+ -DBUILD_LOADER=True
+ -DBUILD_WSI_MIR_SUPPORT=False
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ default
+}
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.54.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.54.0.ebuild
new file mode 100644
index 000000000000..152f97552fc0
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.54.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND=""
+DEPEND="${PYTHON_DEPS}
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/${P}-remove-executable-stack.patch
+}
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=True
+ -DBUILD_TESTS=False
+ -DBUILD_LAYERS=False
+ -DBUILD_DEMOS=False
+ -DBUILD_VKJSON=False
+ -DBUILD_LOADER=True
+ -DBUILD_WSI_MIR_SUPPORT=False
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ default
+}
diff --git a/media-libs/vulkan-loader/vulkan-loader-1.0.61.1.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.0.61.1.ebuild
new file mode 100644
index 000000000000..4ab7f86d5494
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.0.61.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND=""
+DEPEND="${PYTHON_DEPS}
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=True
+ -DBUILD_TESTS=False
+ -DBUILD_LAYERS=False
+ -DBUILD_DEMOS=False
+ -DBUILD_VKJSON=False
+ -DBUILD_LOADER=True
+ -DBUILD_WSI_MIR_SUPPORT=False
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ default
+}
diff --git a/media-libs/vulkan-loader/vulkan-loader-9999.ebuild b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
new file mode 100644
index 000000000000..4ab7f86d5494
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+if [[ "${PV}" == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/Vulkan-LoaderAndValidationLayers-sdk-${PV}"
+fi
+
+inherit python-any-r1 cmake-multilib
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND=""
+DEPEND="${PYTHON_DEPS}
+ wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+ X? ( x11-libs/libX11:=[${MULTILIB_USEDEP}] )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=True
+ -DBUILD_TESTS=False
+ -DBUILD_LAYERS=False
+ -DBUILD_DEMOS=False
+ -DBUILD_VKJSON=False
+ -DBUILD_LOADER=True
+ -DBUILD_WSI_MIR_SUPPORT=False
+ -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+ -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+ -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+ )
+ cmake-utils_src_configure
+}
+
+multilib_src_install() {
+ keepdir /etc/vulkan/icd.d
+
+ default
+}