commit:     0e3ec06428d372b24547f7133966ae13e8cd1bfa
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  7 18:49:53 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Sep  7 18:49:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e3ec064

dev-debug/gfxreconstruct: Version bump to 1.4.321.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-debug/gfxreconstruct/Manifest                  |  2 +
 .../gfxreconstruct/gfxreconstruct-1.4.321.0.ebuild | 82 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/dev-debug/gfxreconstruct/Manifest 
b/dev-debug/gfxreconstruct/Manifest
index 229e59b02160..ac4c6a58eeca 100644
--- a/dev-debug/gfxreconstruct/Manifest
+++ b/dev-debug/gfxreconstruct/Manifest
@@ -1,2 +1,4 @@
 DIST SPIRV-Reflect-1.4.313.0.tar.gz 326262 BLAKE2B 
881e5134b61248f31ed2c7b851fa07599716472e7361e93156a526ea84fd569ab34f2dd4bfc738062f5022513e7449f56cfb629c34d92df309fd1496d02b5ac0
 SHA512 
2efa6f683bcd33e80a01820c3202dc7fac359ecdbc0d46ba1f8078a61a622cced4d3e2fd8f6b65a35d2a64a50e4b7252386f1f38c88f557ff4b1281b59406d28
+DIST SPIRV-Reflect-1.4.321.0.tar.gz 326302 BLAKE2B 
88b80b73c6ff49521351b02c1a077a98366db9b6fdc3e33553bedcda5efb5f89efebf18908e7034b904e9b09ae8c77d449bca9ce40ece8a06e2740ac2ce6dd0d
 SHA512 
3fde31cf92a450b920c789995636dadb77e3f270acb6d26cc5f6905bf769d95297052009ada87deae16c36e3065ba0e300d7cfc9c0651f63555672b12d18f462
 DIST gfxreconstruct-1.4.313.0.tar.gz 48889557 BLAKE2B 
79c4ebaf53dae8271817b68e33a14dec49c5bc0167625c42c5a50ece9848b08c99f1da05f585005805eed6136e2a81520acff134d965f487e29ce716354ffbc6
 SHA512 
cc8670cb116b12ae6cbf9364fa5f207ad6647ddcb0239b0aac1f768bfc047dd02503b5f7d3dcf61fb5e36c409b7e0a86e686cfbfdac73227c1bd9f7cdf48b120
+DIST gfxreconstruct-1.4.321.0.tar.gz 48957387 BLAKE2B 
67293e5d17b70753c1b7e9b6befc8c056fa0ba934b555fcf49c174866db9be04fa3fa1e278add19f9b7c85bb9455307c38d60cf78573ca2588546826c23df654
 SHA512 
9c90a4e18f1418a55a7e2d01d8a24bfde0af5470932325a37c34dbca646135583fea13090ec66fac84c054d77d7be63f59d55ad3f98948a9144377dbef0c97ba

diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-1.4.321.0.ebuild 
b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.321.0.ebuild
new file mode 100644
index 000000000000..f097e273b43a
--- /dev/null
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.321.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+inherit cmake flag-o-matic
+
+if [[ ${PV} == 9999* ]]; then
+       EGIT_REPO_URI="https://github.com/LunarG/gfxreconstruct.git";
+       EGIT_SUBMODULES=( external/{Vulkan-Headers,SPIRV-Headers,SPIRV-Reflect} 
)
+       inherit git-r3
+else
+       SRC_URI="
+               https://github.com/LunarG/${PN}/archive/vulkan-sdk-${PV}.tar.gz 
-> ${P}.tar.gz
+               
https://github.com/KhronosGroup/SPIRV-Reflect/archive/vulkan-sdk-${PV}.tar.gz 
-> SPIRV-Reflect-${PV}.tar.gz
+       "
+       KEYWORDS="~amd64"
+       S="${WORKDIR}"/${PN}-vulkan-sdk-${PV}
+fi
+
+DESCRIPTION="Graphics API Capture and Replay Tools"
+HOMEPAGE="https://github.com/LunarG/gfxreconstruct";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="wayland X"
+
+RDEPEND="
+       app-arch/lz4:=
+       app-arch/zstd:=
+       sys-libs/zlib:=
+
+       media-libs/vulkan-loader[wayland?,X?]
+       wayland? ( dev-libs/wayland )
+       X? (
+               x11-libs/libX11
+               x11-libs/libxcb
+               x11-libs/xcb-util-keysyms
+       )
+"
+DEPEND="${RDEPEND}
+       X? ( x11-libs/libXrandr )
+"
+if [[ ${PV} != 9999* ]]; then
+       DEPEND+="
+               ~dev-util/spirv-headers-${PV}
+               ~dev-util/vulkan-headers-${PV}
+       "
+       PATCHES=(
+               "${FILESDIR}"/1.3.313.0-use-system-vulkan.patch
+       )
+fi
+
+src_unpack() {
+       if [[ ${PV} == 9999* ]]; then
+               git-r3_src_unpack
+       else
+               default
+               rmdir "${S}"/external/SPIRV-Reflect || die
+               mv "${WORKDIR}"/SPIRV-Reflect-vulkan-sdk-${PV} 
"${S}"/external/SPIRV-Reflect || die
+       fi
+}
+
+src_configure() {
+       # -Werror=strict-aliasing
+       # https://bugs.gentoo.org/956019
+       # https://github.com/LunarG/gfxreconstruct/issues/2358
+       append-flags -fno-strict-aliasing
+       filter-lto
+
+       local mycmakeargs=(
+               -DCMAKE_SKIP_RPATH=ON
+               -DBUILD_WERROR=OFF
+               -DBUILD_WSI_DISPLAY_SUPPORT=ON
+               -DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+               -DBUILD_WSI_XCB_SUPPORT=$(usex X)
+               -DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+               -DGFXRECON_ENABLE_OPENXR=OFF
+       )
+       cmake_src_configure
+}

Reply via email to