From: Guilherme Amadio Date: Tue, 11 Feb 2020 21:06:28 +0000 (+0100) Subject: media-libs/vulkan-layers: version bump to 1.2.133 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a8681aafab1aefd3b137322904794f839ca744a2;p=gentoo.git media-libs/vulkan-layers: version bump to 1.2.133 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Acked-by: Nick Sarnie Signed-off-by: Guilherme Amadio --- diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest index c6f0e1ed2448..eded2fbca37f 100644 --- a/media-libs/vulkan-layers/Manifest +++ b/media-libs/vulkan-layers/Manifest @@ -1 +1,2 @@ DIST vulkan-layers-1.1.125.tar.gz 1763589 BLAKE2B e6db1c8b2469afcc9565a55e3977443952cf8a176b6b2b2f5747fbfdb887074e014138b4626f58ddb5c24f87260af32c0c589aef237366aee5acfd3b31ad06ee SHA512 07fcfa9737711671a1a537285f69b63b1a14cf9201dcc169fbe99e19febe612ba8a1e7b448d18bfd01a35d90fb99a261ada0ae9b8facb36d04079bcf3c5c72e0 +DIST vulkan-layers-1.2.133.tar.gz 1763589 BLAKE2B e6db1c8b2469afcc9565a55e3977443952cf8a176b6b2b2f5747fbfdb887074e014138b4626f58ddb5c24f87260af32c0c589aef237366aee5acfd3b31ad06ee SHA512 07fcfa9737711671a1a537285f69b63b1a14cf9201dcc169fbe99e19febe612ba8a1e7b448d18bfd01a35d90fb99a261ada0ae9b8facb36d04079bcf3c5c72e0 diff --git a/media-libs/vulkan-layers/vulkan-layers-1.2.133.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.2.133.ebuild new file mode 100644 index 000000000000..2658a30371f7 --- /dev/null +++ b/media-libs/vulkan-layers/vulkan-layers-1.2.133.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-ValidationLayers.git" + EGIT_SUBMODULES=() + inherit git-r3 +else + EGIT_COMMIT="237d818e81fbffa073d29d94f53a2cbac4f25b9f" + KEYWORDS="~amd64 ~ppc64 ~x86" + SRC_URI="https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/Vulkan-ValidationLayers-${EGIT_COMMIT}" +fi + +inherit python-any-r1 cmake-multilib + +DESCRIPTION="Vulkan Validation Layers" +HOMEPAGE="https://github.com/KhronosGroup/Vulkan-ValidationLayers" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="X wayland" + +DEPEND="${PYTHON_DEPS} + >=dev-util/glslang-7.12.3353_pre20191027-r1:=[${MULTILIB_USEDEP}] + ~dev-util/spirv-tools-2019.10_pre20191027:=[${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=True + -DBUILD_LAYER_SUPPORT_FILES=True + -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) + -DBUILD_WSI_XCB_SUPPORT=$(usex X) + -DBUILD_WSI_XLIB_SUPPORT=$(usex X) + -DBUILD_TESTS=False + -DGLSLANG_INSTALL_DIR="/usr" + -DCMAKE_INSTALL_INCLUDEDIR="/usr/include/vulkan/" + ) + cmake-utils_src_configure +}