diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-11 22:12:47 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-03-15 14:28:40 -0700 |
commit | aa2c63873050affc74fdc5b55b1b7a75ec240c12 (patch) | |
tree | 84788adc6b5fe5e10d3f265986ea00e478f9ff98 /media-libs/vulkan-layers | |
parent | media-libs/vulkan-layers: python3_8 (diff) | |
download | gentoo-aa2c63873050affc74fdc5b55b1b7a75ec240c12.tar.gz gentoo-aa2c63873050affc74fdc5b55b1b7a75ec240c12.tar.bz2 gentoo-aa2c63873050affc74fdc5b55b1b7a75ec240c12.zip |
media-libs/vulkan-layers: Fix 1.2.133, copying over from 9999
Use actual 1.2.133 upstream tarball.
Closes: https://bugs.gentoo.org/712090
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Signed-off-by: Matt Turner <mattst88@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.133-r1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest index eded2fbca37f..dd01489d35ba 100644 --- a/media-libs/vulkan-layers/Manifest +++ b/media-libs/vulkan-layers/Manifest @@ -1,2 +1,3 @@ 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 +DIST vulkan-layers-1.2.133a.tar.gz 1864458 BLAKE2B 8da19effe360dfdd7b4896407a62870c825bed62aafc3fe68dc0ca7d9fb92dc7d9337101b9e46535ae901ec24f8d4f6d0301c4e72a5c29ebdf4f28e07e4c49ba SHA512 a7fe404f8732486c12ddee0443649fc5a5b4a67bb255a439d8f55939b171e447f5711632726eaca0e492bd6ab80e3ebd7efd3156e8bd0fc5b15dcec8b791301f diff --git a/media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild new file mode 100644 index 000000000000..7e589aee8c42 --- /dev/null +++ b/media-libs/vulkan-layers/vulkan-layers-1.2.133-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 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_{6,7,8} ) +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}a.tar.gz" + KEYWORDS="~amd64 ~ppc64 ~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" +DEPEND="${PYTHON_DEPS} + >=dev-util/glslang-7.12.3353_pre20191027-r1:=[${MULTILIB_USEDEP}] + ~dev-util/spirv-tools-2019.10_pre20191027:= + >=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="${EPREFIX}/usr" + -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/vulkan/" + ) + cmake_src_configure +} |