From 942c9977e0273ee6c6bd3f9822263aaeab1b69a5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 18 Jan 2024 02:07:06 +0000 Subject: gentoo auto-resync : 18:01:2024 - 02:07:06 --- media-libs/vulkan-layers/Manifest | 4 +- .../vulkan-layers/vulkan-layers-1.3.275.ebuild | 60 ++++++++++++++++++++++ media-libs/vulkan-layers/vulkan-layers-9999.ebuild | 1 - 3 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 media-libs/vulkan-layers/vulkan-layers-1.3.275.ebuild (limited to 'media-libs/vulkan-layers') diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest index 41ac0f3edd3c..abc56bbdee20 100644 --- a/media-libs/vulkan-layers/Manifest +++ b/media-libs/vulkan-layers/Manifest @@ -1,7 +1,9 @@ AUX vulkan-layers-1.3.250-Build-shared-libs.patch 333 BLAKE2B 557bfc8dc1639f31b873ec950dc9d99f4632d953b7c3d104d0b69b68985a0d214a4d5eb42a64d28aeed41a889515305f47f8a1b3646501d36f99d67c79f24789 SHA512 ddd30ac012cfa0e1ea7cbc84c11d4398272c9f2314bb8f0d3a3758f89162239feaff0e1044284a730a8288754dd1b6cab99b98e28199457a81137a7a22601413 DIST vulkan-layers-1.3.261.tar.gz 5005066 BLAKE2B 76eee1121e58892be3b608d4fda17d1ef67bf1e8a361ff9b51651fb9dd80c14b52798e8978d4167d51f7dfe09a680f10868d2a4b576ff5af8938cbf2d0f943fa SHA512 cadd44773701b0937956c1b1f7c6a9f8c574c857af044271a64065367ec8c453dbda04c5bd42e307d7997441e9ad67df5656f18b5a81b315174ec8618cfe0e1a DIST vulkan-layers-1.3.268.tar.gz 5004147 BLAKE2B 228a146e436f3c91df85d853d9fb5f58fe244a3dbbd66ffdaff2fcd27734969b041c1fe8df7cc2142857ac5742c14465cbc6f86a6401c75736e712222c1d2123 SHA512 74282cede73f67ee39ab78b99cd53f78ac0427ec6ca897ec41eb28b0e2d1106006d688bfbfdb2f0924b84149d516d42b1abe3680cdc6019c66457451f19b44dd +DIST vulkan-layers-1.3.275.tar.gz 5280585 BLAKE2B a9707dc18c4802b1f6fd851ec7b16201035c1809c7e42fcd2d3f08dd7de162a18ee240f9269e233a67c93b49bd69f3babda73265bb9ac343e2924b19fa6288dd SHA512 755bdde7e7129b7a3ed06a4bebdaf11212288802119e0dc224aab63491de30c9b1c25972bdafd4fedbfea43bf6c29cdbc409374e57fbf0331798530a8ae94a70 EBUILD vulkan-layers-1.3.261.ebuild 1599 BLAKE2B ba24ff8608d26f7bf2f68717202e3f728631c010d0a070cdedf1e1c5dcc82a8003428026ae49e324e211215e2a1aebcde702a6cda65278b1c24bbcdc965b2ec8 SHA512 6f5250cc7bbf04330f0394a524b6472ead35740b6b65c022ef15b027d88aa8ef57bcc6b27ab97a8ec66d0570889378882ea04fdffaf44d19023186c872da086d EBUILD vulkan-layers-1.3.268.ebuild 1677 BLAKE2B d27d66c2adbf7be1075fec40b950805512e252b3f47789c06f5182f8f4a4b6d36ea62f4dce138c0a2ee9390a9a983ef6ab18e2e489372756f1291d1810cc4d46 SHA512 c6635e5ac32357a4347ad1ffa4c0eed38a5dec96e4d88065051c6ac43708e574c8f155650cbbfd7d7b9c700bbda2e35d9b13d0e43201c17ff1835b2e4f639515 -EBUILD vulkan-layers-9999.ebuild 1675 BLAKE2B ea654389c12b5918ee860a49e0fdc0e0a90ffc48e64a7803a5c9969643f02f08c5853da4b744bf0af9d4acf323c0c52ee5eb1ef58c21866b3a44e330ab782343 SHA512 493ee93d4e7fbe1a7b4c7e3651f36e5416e1b2d6cd9e77919630fe6d92f37de9818d91f6e74bda03392f8e9f369ef7d11642d5908465277d5b04280ea195f30e +EBUILD vulkan-layers-1.3.275.ebuild 1650 BLAKE2B 242e3b224bdd465cd7b358ee1b0943f5e61b40ee7c397f5bfbd0e27bf5185a9999200015f0bc0a337353bf7b7d1dc35012c6aee8827e24816ef32836fc8af224 SHA512 6139d20bdab62c448e8222420f1bfeaaa55cd69a8f9ac3d443868f8905a1fd64e9ad5d8c75d2b4096a64d6fc28294bbcb741f99d0fd68718e817c8487e34cd96 +EBUILD vulkan-layers-9999.ebuild 1642 BLAKE2B 4f3b7567bb5a183f3d3a1929531349a67c732c2dfe9fe2375c4516513f1af16675a622c566b8f47df1a3cc4b575601e1a25acf87c790c2a971d1adfdb5b69bf5 SHA512 7ca20decc9501fc86cddb8b14bab9ec1945d7e2f2a3c6634f02c35b95823be376a875da1941b354d5c76901e29b97b5a470657aea92c9fe0eab875f311ab789e MISC metadata.xml 441 BLAKE2B d2183b70060e05054bd1fa93696ab04b5487fb8cc6b6af72520a47d0490b066c8ecdf10c9717cfaec7463668d7f639cfe8d05e5aa3ad860dbce3f4316122cd02 SHA512 c6c9c42f4cdd6c08cff6259c24ae05fe0755792f77078741e60594cd083a198b5575def4544a85162a7120578416c95b76d4b5847b9b781e16e9b826dcb5d095 diff --git a/media-libs/vulkan-layers/vulkan-layers-1.3.275.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.3.275.ebuild new file mode 100644 index 000000000000..1fbbaccac81b --- /dev/null +++ b/media-libs/vulkan-layers/vulkan-layers-1.3.275.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=Vulkan-ValidationLayers +PYTHON_COMPAT=( python3_{9..12} ) +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/vulkan-sdk-${PV}.0.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV}.0 +fi + +DESCRIPTION="Vulkan Validation Layers" +HOMEPAGE="https://github.com/KhronosGroup/Vulkan-ValidationLayers" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="wayland X" + +RDEPEND="~dev-util/spirv-tools-${PV}:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + >=dev-cpp/robin-hood-hashing-3.11.5 + ~dev-util/glslang-${PV}:=[${MULTILIB_USEDEP}] + ~dev-util/spirv-headers-${PV} + ~dev-util/vulkan-headers-${PV} + ~dev-util/vulkan-utility-libraries-${PV}:=[${MULTILIB_USEDEP}] + wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) + X? ( + x11-libs/libX11:=[${MULTILIB_USEDEP}] + x11-libs/libXrandr:=[${MULTILIB_USEDEP}] + ) +" + +PATCHES="${FILESDIR}/${PN}-1.3.250-Build-shared-libs.patch" + +multilib_src_configure() { + local mycmakeargs=( + -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" + -DCMAKE_SKIP_RPATH=ON + -DBUILD_WERROR=OFF + -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) + -DBUILD_WSI_XCB_SUPPORT=$(usex X) + -DBUILD_WSI_XLIB_SUPPORT=$(usex X) + -DBUILD_TESTS=OFF + ) + cmake_src_configure +} + +multilib_src_install_all() { + find "${ED}" -type f -name \*.a -delete || die +} diff --git a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild index eb1869aef56b..b1f4f7dd83eb 100644 --- a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild +++ b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild @@ -46,7 +46,6 @@ multilib_src_configure() { -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" -DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG" -DCMAKE_SKIP_RPATH=ON - -DBUILD_LAYER_SUPPORT_FILES=ON -DBUILD_WERROR=OFF -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland) -DBUILD_WSI_XCB_SUPPORT=$(usex X) -- cgit v1.2.3