commit:     5ff141b173dc0bc2cf7946e951e5d73ac6cc18c7
Author:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  4 17:55:28 2021 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Sun Jul  4 17:55:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff141b1

media-libs/vulkan-layers: Bump to 1.2.182

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 media-libs/vulkan-layers/Manifest                  |  1 +
 .../vulkan-layers/vulkan-layers-1.2.182.ebuild     | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/media-libs/vulkan-layers/Manifest 
b/media-libs/vulkan-layers/Manifest
index 3212abd8b90..0a69423bace 100644
--- a/media-libs/vulkan-layers/Manifest
+++ b/media-libs/vulkan-layers/Manifest
@@ -1,3 +1,4 @@
 DIST vulkan-layers-1.2.162.tar.gz 2398927 BLAKE2B 
febfcc88584cb7d69ac2f2bd95a73921d2dc92524b05f17e7d2a9f99336416260da60eefc560d93ad788d9a185d4dd865881f5bc8faf0dae388bacca59a21b7a
 SHA512 
85eba0e1d07cafad212ef611fb1aef3113b6609361476cda7176a49110fe62d257b815f7c622d6ba959872785242e2231c7245242e7794ff5e60325d10f3061b
 DIST vulkan-layers-1.2.170.tar.gz 2581751 BLAKE2B 
968d17e11a21422003c0c922518b121586ebbd4e5375189f38715c52afc24b1bed04b1a4f05e17875b15fee3815492c357ad84316ea0abc359a97026418b490d
 SHA512 
199e64c6d2ca34a604bb611fd231bfccf4608078a777369039597dadc209a23b7e7ea4ce71dc8b48826bd7874a7ea623d8af7dc47945914405fd99ce8bdf8de6
 DIST vulkan-layers-1.2.179.tar.gz 2771214 BLAKE2B 
ab9ddde54998ae44f6e3400c721c9b51b347d4424d2118b8b7371e9d1160a76257ca8f8295e9c52dfeba386a09e2b048111f242b7c4b912db1e5748e5dea8762
 SHA512 
e025c8f36f911bf838ec3a57123aecf44ec8d5ac5d170ef0e6d0ef7bd15789360faa89eb00c19edaa8e60503c4a80300448893d5185cd2880dcd817153e9cc4f
+DIST vulkan-layers-1.2.182.tar.gz 2791196 BLAKE2B 
e4c2a80708b7805425eb58bc360db8aa8ac9a671ef88a261f09887f59cbacb56e1375a868589864c30a9a812c91a7dc2c7d3ebc0eda5afc7cb99dfb7f70af2de
 SHA512 
2c7541d18926507fb7f36193a5901e2d3f864749e5c9e456c32bc8e64bae58e661d01f8871c596a2b05e2e5bf86a4c80c6207d7cc942a51cafab81f052d91805

diff --git a/media-libs/vulkan-layers/vulkan-layers-1.2.182.ebuild 
b/media-libs/vulkan-layers/vulkan-layers-1.2.182.ebuild
new file mode 100644
index 00000000000..3efb8bf7a9c
--- /dev/null
+++ b/media-libs/vulkan-layers/vulkan-layers-1.2.182.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN=Vulkan-ValidationLayers
+CMAKE_ECLASS="cmake"
+PYTHON_COMPAT=( python3_{8,9} )
+inherit cmake-multilib python-any-r1
+
+if [[ ${PV} == *9999* ]]; then
+       EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git";
+       EGIT_SUBMODULES=()
+       inherit git-r3
+else
+       SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv"
+       S="${WORKDIR}"/${MY_PN}-${PV}
+fi
+
+DESCRIPTION="Vulkan Validation Layers"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-ValidationLayers";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+BDEPEND=">=dev-util/cmake-3.10.2"
+RDEPEND=">=dev-util/spirv-tools-2021.0_pre20210526:=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+       ${PYTHON_DEPS}
+       dev-cpp/robin-hood-hashing
+       >=dev-util/glslang-11.4.0:=[${MULTILIB_USEDEP}]
+       >=dev-util/vulkan-headers-${PV}
+       wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+       X? (
+               x11-libs/libX11:=[${MULTILIB_USEDEP}]
+               x11-libs/libXrandr:=[${MULTILIB_USEDEP}]
+       )
+"
+
+multilib_src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_SKIP_RPATH=ON
+               -DBUILD_LAYER_SUPPORT_FILES=ON
+               -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+               -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+               -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+               -DBUILD_TESTS=OFF
+               -DGLSLANG_INSTALL_DIR="${ESYSROOT}/usr"
+               -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/vulkan/"
+               -DSPIRV_HEADERS_INSTALL_DIR="${ESYSROOT}/usr/include/spirv"
+       )
+       cmake_src_configure
+}

Reply via email to