From b7cf34e541f10778605d8740e2690d8459908ac5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 30 Dec 2022 02:16:21 +0000 Subject: gentoo auto-resync : 30:12:2022 - 02:16:21 --- media-libs/vulkan-layers/Manifest | 5 +- .../vulkan-layers-1.3.236-Build-shared-libs.patch | 26 ++++++++++ .../vulkan-layers/vulkan-layers-1.3.236-r1.ebuild | 57 ++++++++++++++++++++++ .../vulkan-layers/vulkan-layers-1.3.236.ebuild | 55 --------------------- media-libs/vulkan-layers/vulkan-layers-9999.ebuild | 2 + 5 files changed, 88 insertions(+), 57 deletions(-) create mode 100644 media-libs/vulkan-layers/files/vulkan-layers-1.3.236-Build-shared-libs.patch create mode 100644 media-libs/vulkan-layers/vulkan-layers-1.3.236-r1.ebuild delete mode 100644 media-libs/vulkan-layers/vulkan-layers-1.3.236.ebuild (limited to 'media-libs/vulkan-layers') diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest index 135dcb54f67c..cdb5242dd65b 100644 --- a/media-libs/vulkan-layers/Manifest +++ b/media-libs/vulkan-layers/Manifest @@ -1,8 +1,9 @@ AUX vulkan-layers-1.3.231-Make-BUILD_WERROR-actually-work.patch 879 BLAKE2B c9468c7ebada19d1a252b6dc6f8dcc6edd2f5497e86cba815a4da900ad933f619ea8589071d86a387810b07d3cb58fcabcb4a86c15742e539f7333d55679abc3 SHA512 c8f86399a58cd2454c11e2e240def31b4dade136d1546da0b23c77d89de767dc9c126ac3e77a585cd56d82f5557a0316e439f1f724f4ab8e615d28520e66497a AUX vulkan-layers-1.3.231-cmake-Cleanup-find_package-SPIRV-code.patch 5089 BLAKE2B e76b6fdedf175c246e227e1317243ceb1842b19ad7f64cc0d7ffa4935f554dbdf5664ee8907b47ac22e7308110ea0faced11aa40f3870f059a9679b4ef1db6f1 SHA512 28cad48b59458e21e8a46d3e7ea915a8d7358962e2c0a7f99db1db99ed9d6090a129be874cce7fc528991476ccc41acccc1f1627b449dfdb8555ce8173dbb179 +AUX vulkan-layers-1.3.236-Build-shared-libs.patch 770 BLAKE2B 2d1993ac077cab2b7de5509bf82ae57ec8783e0a9759718fb38884740eb609cfa5f8509bf45f4bc9a81d92cf8f377c3455cc293fe3c0ba75d3388028e041a598 SHA512 e59d13680f53b51755954f68c7389d873e205aafe16ae6ca11a2c3137cce39ecfecf37be1aa66fb6e5bd122dfaafc6eea507bc958dd68e569274576fbdd83999 DIST vulkan-layers-1.3.231.tar.gz 4408601 BLAKE2B 9b777559a540c34c5f86a93b15c42a223b8b7fd517f06e28d7bd0ba0fdc938063fd86126f7cdb43e692f3cc22296b5f8df924c2f39e3ead38325b2e1442bf3a6 SHA512 550ff2f5d718ab1a272977f3beb89f653107a7a2b89209408233cb3b969206d1d9383e0e8933343bc71fc920dd80e0cf62ad3baa588b671f24ce04cb93d4b606 DIST vulkan-layers-1.3.236.tar.gz 4519779 BLAKE2B 087ecbfc4e460dbdd65009262d3ddedbed72258742ec902ac6e6e89d779aa350f819d4aa2aad4a30d365bdfb079c25ccaec265b9c5b56066e082db4701300095 SHA512 0ebb9d44b1a465a28702e12c80c6accb55dbd6a53ce2f1eb8e8cd627583a217544e21e8eb7e1619620458d756c0cde244bcde331710ab8244e113e302839f479 EBUILD vulkan-layers-1.3.231.ebuild 1658 BLAKE2B 290cb1394b931cdc45350f5173b1bf2cdd8311af02143e9a15101ddabb7da469b5dc0853596614c64f4236ba1e865e5a7b4314857be0a431b6e856a38dea4636 SHA512 0986e8a61ca261985ddcc584838b899c52bb1f1ce7fbf0a09e5534e209539b05bb136ee23d37fc4ac276fcc3868d980976063859d244d5b610c3e91b0075442d -EBUILD vulkan-layers-1.3.236.ebuild 1530 BLAKE2B 1f35deb8626817ae6db0ea115f2138a6a025c7fba787e045ba9e849ab4a9f9635b895e132eef8b2b0fc4c87aeba6a6b75043ba7970322c88fef3797ee4226430 SHA512 a587392d6c95a8ca022b27ae96b27accf9937effa95a3a26af8d7960f4e16c758d6910c0d558199afb78b5819f36b40a8a686acdf0e9577ebd33600e1d4f0f92 -EBUILD vulkan-layers-9999.ebuild 1533 BLAKE2B 9e2705767f971e0e640e0d2ca94835d1ab35fa33125ef7994b262840dfc9c08d01a9009b5880f313246d951f9a69a56175e1b2852bcb2a7d3c4df16851ebf8a8 SHA512 548e1b678c893d772e3c18401da553081e7f7248d5d5f6b3ac72d5924817c3203b17dec7142d47ed2453c2648c6003471c71ccb0c8808050ee77509a42693d85 +EBUILD vulkan-layers-1.3.236-r1.ebuild 1582 BLAKE2B dcb8c46277360dda1fbe1b98f1d6f8929ab22927277b7546a7f4896c5054445f912b69263fbdbb09c7e727ee5b03e7390f0d01f6cf02bac14ea94a828c78d01a SHA512 38ab812747aaf39e95fbd5dd001e3024118ced1584b409b5dd2b83298aa3e6be20b8176119fadfc5ded90746712e53907629941e6f4e42d04d227bd1310af6ad +EBUILD vulkan-layers-9999.ebuild 1594 BLAKE2B 836f6cedebf217c158c2dc1a7a8f9f803fcfc9556e9119ebfdb89df10c7a7e952ac4ab52a07985cd90ff769272a44181f741f11333841c139bfb79b3626d1a3b SHA512 3d7b7e1ca089e1eff1b8ccd53c7908b55f2b8dc422b7f4bab5a628fe9fb65c617c673e85798533233d9e9ab02149f7a04b4cd8f531be8aa950ddd949ae0a00c7 MISC metadata.xml 441 BLAKE2B d2183b70060e05054bd1fa93696ab04b5487fb8cc6b6af72520a47d0490b066c8ecdf10c9717cfaec7463668d7f639cfe8d05e5aa3ad860dbce3f4316122cd02 SHA512 c6c9c42f4cdd6c08cff6259c24ae05fe0755792f77078741e60594cd083a198b5575def4544a85162a7120578416c95b76d4b5847b9b781e16e9b826dcb5d095 diff --git a/media-libs/vulkan-layers/files/vulkan-layers-1.3.236-Build-shared-libs.patch b/media-libs/vulkan-layers/files/vulkan-layers-1.3.236-Build-shared-libs.patch new file mode 100644 index 000000000000..18cedb517b09 --- /dev/null +++ b/media-libs/vulkan-layers/files/vulkan-layers-1.3.236-Build-shared-libs.patch @@ -0,0 +1,26 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f29022f96..cf34d8e21 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -255,7 +255,7 @@ endif() + # files directly in layers. + + add_library(VkLayer_utils +- STATIC ++ SHARED + layers/vk_layer_config.cpp + layers/vk_layer_extension_utils.cpp + layers/vk_layer_utils.cpp +diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt +index 96d52b5f8..3f75aa3a8 100644 +--- a/layers/CMakeLists.txt ++++ b/layers/CMakeLists.txt +@@ -226,7 +226,7 @@ if (NOT BUILD_LAYERS) + return() + endif() + +-add_library(VkLayer_khronos_validation MODULE) ++add_library(VkLayer_khronos_validation SHARED) + + target_sources(VkLayer_khronos_validation PRIVATE + ${CHASSIS_LIBRARY_FILES} diff --git a/media-libs/vulkan-layers/vulkan-layers-1.3.236-r1.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.3.236-r1.ebuild new file mode 100644 index 000000000000..03f4800769a6 --- /dev/null +++ b/media-libs/vulkan-layers/vulkan-layers-1.3.236-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=Vulkan-ValidationLayers +PYTHON_COMPAT=( python3_{8..11} ) +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/sdk-${PV}.0.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + S="${WORKDIR}"/${MY_PN}-sdk-${PV}.0 +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-${PV}:=[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + >=dev-cpp/robin-hood-hashing-3.11.5 + ~dev-util/glslang-${PV}:=[${MULTILIB_USEDEP}] + ~dev-util/vulkan-headers-${PV} + wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] ) + X? ( + x11-libs/libX11:=[${MULTILIB_USEDEP}] + x11-libs/libXrandr:=[${MULTILIB_USEDEP}] + ) +" + +PATCHES="${FILESDIR}/${P}-Build-shared-libs.patch" + +multilib_src_configure() { + local mycmakeargs=( + -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) + -DBUILD_WSI_XLIB_SUPPORT=$(usex X) + -DBUILD_TESTS=OFF + -DVulkanRegistry_DIR="${ESYSROOT}/usr/share/vulkan/registry" + ) + cmake_src_configure +} diff --git a/media-libs/vulkan-layers/vulkan-layers-1.3.236.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.3.236.ebuild deleted file mode 100644 index 4651b8594c3a..000000000000 --- a/media-libs/vulkan-layers/vulkan-layers-1.3.236.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=Vulkan-ValidationLayers -PYTHON_COMPAT=( python3_{8..11} ) -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/sdk-${PV}.0.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" - S="${WORKDIR}"/${MY_PN}-sdk-${PV}.0 -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-${PV}:=[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - >=dev-cpp/robin-hood-hashing-3.11.5 - ~dev-util/glslang-${PV}:=[${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_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) - -DBUILD_WSI_XLIB_SUPPORT=$(usex X) - -DBUILD_TESTS=OFF - -DVulkanRegistry_DIR="${ESYSROOT}/usr/share/vulkan/registry" - ) - cmake_src_configure -} diff --git a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild index 6496c1088d7c..7d5abc1f9f75 100644 --- a/media-libs/vulkan-layers/vulkan-layers-9999.ebuild +++ b/media-libs/vulkan-layers/vulkan-layers-9999.ebuild @@ -38,6 +38,8 @@ DEPEND="${RDEPEND} ) " +PATCHES="${FILESDIR}/${PN}-1.3.236-Build-shared-libs.patch" + multilib_src_configure() { local mycmakeargs=( -DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG" -- cgit v1.2.3