From: "Nick Sarnie" <sarnex@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-layers/files/, media-libs/vulkan-layers/
Date: Mon, 12 Jun 2023 01:24:20 +0000 (UTC) [thread overview]
Message-ID: <1686532890.4078b18a15a625d775f4d47efc7c7ad0df82b84d.sarnex@gentoo> (raw)
commit: 4078b18a15a625d775f4d47efc7c7ad0df82b84d
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 12 01:12:24 2023 +0000
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 01:21:30 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4078b18a
media-libs/vulkan-layers: add 1.3.250
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
media-libs/vulkan-layers/Manifest | 1 +
.../vulkan-layers-1.3.250-Build-shared-libs.patch | 13 +++++
.../vulkan-layers/vulkan-layers-1.3.250.ebuild | 59 ++++++++++++++++++++++
3 files changed, 73 insertions(+)
diff --git a/media-libs/vulkan-layers/Manifest b/media-libs/vulkan-layers/Manifest
index 002f314f576d..1a62bfabe200 100644
--- a/media-libs/vulkan-layers/Manifest
+++ b/media-libs/vulkan-layers/Manifest
@@ -1,2 +1,3 @@
DIST vulkan-layers-1.3.243.tar.gz 4624249 BLAKE2B d358ccf3dbe690d7f30e153271602b4ab14d55a854169fa828a4bc8ffeb688531b4b4703dbe7ea4e038237db650a923ab9f618178a5edf304fc4a3170be57238 SHA512 d2bba9afc2013ccd41953eb699e9568c85f90bb99d1be9866126a8bc18ae492e55970acc2ca4d7b9850b0201b0451acbb5335ea19dcd030dc71d545feb261a19
DIST vulkan-layers-1.3.246.tar.gz 4750578 BLAKE2B df6c51756231d50866b8a676ae6f62f79ba361155c7c1009fa4e62b921aa4ef7434140ec6ae82ab773e3e01c74b1213175ac2156a8a79adf212760786853aa5e SHA512 2c0f9ed198a1a806e564072057d2d0e42eb8e42ae5fc847399fa5eb8227ef52a0114f47569fa49f0bfbcb210530bea658558fbc27451c972681eb9ee79099c6d
+DIST vulkan-layers-1.3.250.tar.gz 4829919 BLAKE2B 9e05c53d283df1d57c20574224333249e468242eb73f7feb9ce47b4d194a80a1b1958bc71743eed3d108cedba972eeb9aa27ef33e838828e8a0baefe85254613 SHA512 5e8aef501961b49d7b4390d8c8ce09fe0b7657d323859d2052a8a14b042da69d7b1387a8aadede8372711313518b6d75fb78f41e2e0c1ad69c99a5b58524fb82
diff --git a/media-libs/vulkan-layers/files/vulkan-layers-1.3.250-Build-shared-libs.patch b/media-libs/vulkan-layers/files/vulkan-layers-1.3.250-Build-shared-libs.patch
new file mode 100644
index 000000000000..0a5e242a542a
--- /dev/null
+++ b/media-libs/vulkan-layers/files/vulkan-layers-1.3.250-Build-shared-libs.patch
@@ -0,0 +1,13 @@
+diff --git a/layers/CMakeLists.txt b/layers/CMakeLists.txt
+index 06b53ff9b..97e388765 100644
+--- a/layers/CMakeLists.txt
++++ b/layers/CMakeLists.txt
+@@ -166,7 +166,7 @@ if (VVL_CODEGEN)
+ )
+ endif()
+
+-add_library(vvl MODULE)
++add_library(vvl SHARED)
+
+ target_sources(vvl PRIVATE
+ best_practices/best_practices_error_enums.h
diff --git a/media-libs/vulkan-layers/vulkan-layers-1.3.250.ebuild b/media-libs/vulkan-layers/vulkan-layers-1.3.250.ebuild
new file mode 100644
index 000000000000..7af48d11e398
--- /dev/null
+++ b/media-libs/vulkan-layers/vulkan-layers-1.3.250.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..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/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.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_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
+}
next reply other threads:[~2023-06-12 1:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 1:24 Nick Sarnie [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-16 17:18 [gentoo-commits] repo/gentoo:master commit in: media-libs/vulkan-layers/files/, media-libs/vulkan-layers/ Matt Turner
2023-05-12 22:34 Matt Turner
2023-03-08 2:36 Nick Sarnie
2022-12-30 1:30 Nick Sarnie
2022-11-24 15:49 Nick Sarnie
2022-02-20 2:09 Nick Sarnie
2020-06-17 5:46 Matt Turner
2020-03-19 4:51 Nick Sarnie
2018-09-18 0:19 Nick Sarnie
2018-07-07 17:56 Nick Sarnie
2018-05-30 23:33 Nick Sarnie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1686532890.4078b18a15a625d775f4d47efc7c7ad0df82b84d.sarnex@gentoo \
--to=sarnex@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox