summaryrefslogtreecommitdiff
path: root/media-libs/vulkan-layers
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-06 11:27:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-06 11:27:38 +0100
commitefca56beb6bbb9547d49163cac02eac0b5c1f657 (patch)
tree8bf6231248f07665ec95268dc33bf4acfde82f63 /media-libs/vulkan-layers
parent99d38fd80dbcd05d7ac05f9fbc86c396bacd5f7c (diff)
gentoo auto-resync : 06:04:2023 - 11:27:37
Diffstat (limited to 'media-libs/vulkan-layers')
-rw-r--r--media-libs/vulkan-layers/Manifest2
-rw-r--r--media-libs/vulkan-layers/vulkan-layers-1.3.243.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest
index 86e735d1b9bb..51ea986f8a33 100644
--- a/media-libs/vulkan-layers/Manifest
+++ b/media-libs/vulkan-layers/Manifest
@@ -2,8 +2,10 @@ AUX vulkan-layers-1.3.239-Build-shared-libs.patch 754 BLAKE2B fb86f678b9b2b76642
AUX vulkan-layers-1.3.239-Export-symbols.patch 436 BLAKE2B 0e9f86d8d64844fe42d0e438e2c1e3ae5b53b92acaf3f458ef335904a78fb9c6947dbdbfc6217b87d961ab82b75f46bd7fc0b120afba064a577b7ba5a1619a73 SHA512 ef8a653bb66f8224cf94dfe77ad2988f9b3d53001961998be3567f917db696a5a05ba892365f049837a21aa3831c4d196f7a1c623eeeac27ee6eabd83e81c928
AUX vulkan-layers-1.3.239-r2-Build-shared-libs.patch 444 BLAKE2B f6db7c8244385560dba4550c63681814ab2cf835364dc3d5e2425d7a3d7ce784822b59b349bb7ef5f1e564d13d118910a87a7e4f1ba8d4c4a42fe940ce002a52 SHA512 e6a3ea885628c3516296118a1489a834ca02400e66430bf5fe6083c6944cf9d2a95aea55f1744d7ed5cfbde08f73ab0d0c6b5feb8e3cff1a55c79e86809666cc
DIST vulkan-layers-1.3.239.tar.gz 4549587 BLAKE2B b5ac5afade60b048414a336dc130ae2e7c332e1a9e4b86448be9c86f17f7705990b27908721ee2f62e3425f117d3941f47525f8fa0d07e79bc3c68f7e4e48f14 SHA512 4b96951874e5b7c7abbab83b0b85cfe10b13d3ced20148ddcdd9b6e79db5d083b9ee00ae1c3605a72bcea4c3b8f1ab42ed284eb2cbc8f7e98d377108970e884c
+DIST vulkan-layers-1.3.243.tar.gz 4624249 BLAKE2B d358ccf3dbe690d7f30e153271602b4ab14d55a854169fa828a4bc8ffeb688531b4b4703dbe7ea4e038237db650a923ab9f618178a5edf304fc4a3170be57238 SHA512 d2bba9afc2013ccd41953eb699e9568c85f90bb99d1be9866126a8bc18ae492e55970acc2ca4d7b9850b0201b0451acbb5335ea19dcd030dc71d545feb261a19
EBUILD vulkan-layers-1.3.239-r1.ebuild 1525 BLAKE2B dfb26d17837db94b629d3f4a024e2dc4893f2a273cce48689befe740aac8cd74c1fc08dbd25745626192d4debb7b0c85f0721a3a22b231bcc7f67609ac437774 SHA512 8ba9fcc8788520716524aceaa9bd98d895d72962e0051b8e169e4e51faf76daf434ddd9f553a62d295ac25878d006a0991773ad7f8141474d264ea436e690ddd
EBUILD vulkan-layers-1.3.239-r2.ebuild 1566 BLAKE2B 31aeaf8d67513bb479b18536fa5a229f0c13f5528b4a8a4e548127f858e354eea144c38c0546e0a0a11961fdb4c4c2013728e1d45100fb771553dfc90d853ebb SHA512 5c3fe2b9f550438791852ed04cdff9a9b58dd07f1d3c41ec2cd6c0534851674a27c8eb80c48adb789d89f46dd5ce9f7d2f9352ddeb9efbdae676fdb350a307c3
EBUILD vulkan-layers-1.3.239.ebuild 1479 BLAKE2B 830d065c5956333c011b567ad9910b20a7c847d4eb59afee1f3219495a602a91a023a3e1e8d71b08bf2b0f5990a50b5126e41a5cc8917f2bb6cfcaf40bb9b3c1 SHA512 ecf247f0f9ce12744ba0db4f4bc378ed939a912ceea8341776a7553377d9260de36454c3f60195814e16ac6c20fd6400e7fe24e1a68a0be576ddde2d014caa09
+EBUILD vulkan-layers-1.3.243.ebuild 1577 BLAKE2B d4628e7682dac621dd85cc01ea8c32a47ea12746f325a3a3020269672445a27e92403da514c21eac7065f2f7bbfec3f3c1d0c85bbf2fc0cff1557ee01e0e352b SHA512 b5cf84bfe5b2009906a4666bd31bab02bb1851b8b1a7ef51c9e14498808a2cfc3939217e2725515d7abccec558df6432f7db55abd07f352712ef422afc14a91b
EBUILD vulkan-layers-9999.ebuild 1580 BLAKE2B a8b5007de49a2a4dff79f65f3a9f30414c26122df6953f96719f0a08188158e440bfd3e38a249205080b73fc10c56e7f5ef589f48f23e44d4832121ead0fd2a6 SHA512 5ccd75db840552b627b8fb271283cf19492cf251850b4c78fba94b0e2a9880e2a2083e2248d4874540be5227238a65b96ec78e41760755815563d967e6baca22
MISC metadata.xml 441 BLAKE2B d2183b70060e05054bd1fa93696ab04b5487fb8cc6b6af72520a47d0490b066c8ecdf10c9717cfaec7463668d7f639cfe8d05e5aa3ad860dbce3f4316122cd02 SHA512 c6c9c42f4cdd6c08cff6259c24ae05fe0755792f77078741e60594cd083a198b5575def4544a85162a7120578416c95b76d4b5847b9b781e16e9b826dcb5d095
diff --git a/media-libs/vulkan-layers/vulkan-layers-1.3.243.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.3.243.ebuild
new file mode 100644
index 000000000000..d0c911a13792
--- /dev/null
+++ b/media-libs/vulkan-layers/vulkan-layers-1.3.243.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=Vulkan-ValidationLayers
+PYTHON_COMPAT=( python3_{9..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"
+
+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}/${PN}-1.3.239-r2-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
+ )
+ cmake_src_configure
+}
+
+multilib_src_install_all() {
+ find "${ED}" -type f -name \*.a -delete || die
+}