summaryrefslogtreecommitdiff
path: root/media-libs/vulkan-layers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
commit677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch)
tree6c418a1546fff5becab5d8b9ed6803323e7f316e /media-libs/vulkan-layers
parentfbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff)
gentoo resync : 10.09.2021
Diffstat (limited to 'media-libs/vulkan-layers')
-rw-r--r--media-libs/vulkan-layers/Manifest4
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-1.2.189.ebuild60
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-9999.ebuild4
3 files changed, 65 insertions, 3 deletions
diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest
index 823c7264a31b..8cb5c09320fd 100644
--- a/media-libs/vulkan-layers/Manifest
+++ b/media-libs/vulkan-layers/Manifest
@@ -1,5 +1,7 @@
DIST vulkan-layers-1.2.182.tar.gz 2791196 BLAKE2B e4c2a80708b7805425eb58bc360db8aa8ac9a671ef88a261f09887f59cbacb56e1375a868589864c30a9a812c91a7dc2c7d3ebc0eda5afc7cb99dfb7f70af2de SHA512 2c7541d18926507fb7f36193a5901e2d3f864749e5c9e456c32bc8e64bae58e661d01f8871c596a2b05e2e5bf86a4c80c6207d7cc942a51cafab81f052d91805
+DIST vulkan-layers-1.2.189.tar.gz 2869378 BLAKE2B 54a610c95487873c470ea304f8bbf0160a9def6a06118baced0a1b14a847cc116f3a2377cf0a287b866dffe9ff9657133ba1fa7109e0c23380412ca4f389c6f1 SHA512 7fd688365cbe69d763bb233d7be2498bb5aa286ba26c4ca9d4bdeddc28cf3f69992a89d6276d3f943d198146dcc01eca36b1d8de5747ae0893244bdb15665855
EBUILD vulkan-layers-1.2.182-r1.ebuild 1628 BLAKE2B 992c3a0140cbc51b98537a764144943184a5c7b1157279b24ae39c9827bc7ddedfa8bcb607d71ef670056f2102ee223f512a6d2bed215fe39c2f40daf9a3f4d5 SHA512 7f0ca45cd8635bd819e260ef17d2b832d241e676d5533a4008e775c7edd4481967e088bb09bbe4e7bc382fc1fcce6890b411abf78fbc53ea707840bae5b277cd
EBUILD vulkan-layers-1.2.182.ebuild 1533 BLAKE2B 992ec98e7c6d6787254dc7ceb65dbf23bc1eec6035fd1ea70800d578f3b1d16997249482492c9af907a88287571725f3445bdd3ad3f9f1d7ed83fdd6cb6d1518 SHA512 828502e90aac0998009a8def204569b7b87a341656e8dfa353f6447f695b1552023d357223a7ef9834338d435e5a4113347de238137a9de14d1239b763fe28c4
-EBUILD vulkan-layers-9999.ebuild 1628 BLAKE2B 992c3a0140cbc51b98537a764144943184a5c7b1157279b24ae39c9827bc7ddedfa8bcb607d71ef670056f2102ee223f512a6d2bed215fe39c2f40daf9a3f4d5 SHA512 7f0ca45cd8635bd819e260ef17d2b832d241e676d5533a4008e775c7edd4481967e088bb09bbe4e7bc382fc1fcce6890b411abf78fbc53ea707840bae5b277cd
+EBUILD vulkan-layers-1.2.189.ebuild 1618 BLAKE2B 8c28c096372ea7190f52c566205ca86831ff4e01a753bdaf568b282055c315b920c5b3da237918557aad45cef4ea84d70d0c6d2be06d9efb2048996d17c34b3a SHA512 48b844b83d549fca92cd008d650895fe056d8bcdf036cc42336eb3a80c5e0b960556ee35fdf7beab3b4fa5cc03a13fa42628e72a025d3d805542f3c060b3bf40
+EBUILD vulkan-layers-9999.ebuild 1618 BLAKE2B 8c28c096372ea7190f52c566205ca86831ff4e01a753bdaf568b282055c315b920c5b3da237918557aad45cef4ea84d70d0c6d2be06d9efb2048996d17c34b3a SHA512 48b844b83d549fca92cd008d650895fe056d8bcdf036cc42336eb3a80c5e0b960556ee35fdf7beab3b4fa5cc03a13fa42628e72a025d3d805542f3c060b3bf40
MISC metadata.xml 440 BLAKE2B 9dd8769693fe4ce6aae2493b4e9f0020da3fec24b35527ccc8a0d2ca014681b3a06019de49d7277286046b23b9b798e84d3c747909e6b7f19eed36d0e2c89012 SHA512 3977758a3f8c9d3648b8a70da5497c4596dfbf28509a84799920c39b6908703353584b01d8264fd39ec2f5fef5d1dba03c239a2848224531f42389de802d14da
diff --git a/media-libs/vulkan-layers/vulkan-layers-1.2.189.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.2.189.ebuild
new file mode 100644
index 000000000000..f53561f9c1fe
--- /dev/null
+++ b/media-libs/vulkan-layers/vulkan-layers-1.2.189.ebuild
@@ -0,0 +1,60 @@
+# 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-utils"
+CMAKE_MAKEFILE_GENERATOR="emake"
+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 ~x86"
+ 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-20210825:=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-cpp/robin-hood-hashing
+ >=dev-util/glslang-11.6.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}]
+ )
+"
+
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+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-utils_src_configure
+}
diff --git a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild
index 7e1ddb7b15e7..f53561f9c1fe 100644
--- a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild
+++ b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild
@@ -27,11 +27,11 @@ SLOT="0"
IUSE="wayland X"
BDEPEND=">=dev-util/cmake-3.10.2"
-RDEPEND=">=dev-util/spirv-tools-2021.0_pre20210526:=[${MULTILIB_USEDEP}]"
+RDEPEND=">=dev-util/spirv-tools-20210825:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
dev-cpp/robin-hood-hashing
- >=dev-util/glslang-11.4.0:=[${MULTILIB_USEDEP}]
+ >=dev-util/glslang-11.6.0:=[${MULTILIB_USEDEP}]
>=dev-util/vulkan-headers-${PV}
wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
X? (