diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2021-09-04 21:57:23 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2021-09-04 22:03:58 -0400 |
commit | 90d3b9b130b9d7319cf6686fc44654e01bf07c30 (patch) | |
tree | 24bde0476660237e3ace4b24503bc9987c5763cd /media-libs/vulkan-layers | |
parent | media-libs/vulkan-loader: Version bump (diff) | |
download | gentoo-90d3b9b130b9d7319cf6686fc44654e01bf07c30.tar.gz gentoo-90d3b9b130b9d7319cf6686fc44654e01bf07c30.tar.bz2 gentoo-90d3b9b130b9d7319cf6686fc44654e01bf07c30.zip |
media-libs/vulkan-layers: Version bump
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'media-libs/vulkan-layers')
-rw-r--r-- | media-libs/vulkan-layers/Manifest | 1 | ||||
-rw-r--r-- | media-libs/vulkan-layers/vulkan-layers-1.2.189.ebuild | 60 | ||||
-rw-r--r-- | media-libs/vulkan-layers/vulkan-layers-9999.ebuild | 4 |
3 files changed, 63 insertions, 2 deletions
diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest index aed80839fc7a..6ffaa214dbaa 100644 --- a/media-libs/vulkan-layers/Manifest +++ b/media-libs/vulkan-layers/Manifest @@ -1 +1,2 @@ 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 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? ( |