diff --git a/dev-debug/gfxreconstruct/Manifest b/dev-debug/gfxreconstruct/Manifest index 92ff572e2060e..53dc32d57adae 100644 --- a/dev-debug/gfxreconstruct/Manifest +++ b/dev-debug/gfxreconstruct/Manifest @@ -1,2 +1,4 @@ DIST SPIRV-Reflect-1.4.304.0.tar.gz 307488 BLAKE2B f2268287c6ca70dc8e51898b541bea51dad406715de0e3c8c9467c964f48085332d274ce3086824a6c13369f37c79467930d425ae958eecbaa1fb5cf1514243a SHA512 19eade2f661e3bd58665167265dc79e3c94690910d28089ac1d1acfb1771e010a75a23b85555dd494020d0e9584d68f2a97f33ab2f8271f90ea2295bcc484150 +DIST SPIRV-Reflect-1.4.309.0.tar.gz 326234 BLAKE2B 5d2d9dc3b6f3639259f089dbaf623c9358bf47e52c059a9acd6bff02691373acb5fdaaad7f752b0a6bce2a75ef1ade9407494b04835cf17617bfc592702e8c63 SHA512 d87ab91fd9b2ca6c86aaf72fd19332fb2d9eb7d5056480868ed79312fe111a3832099806d7a297fc82024683c8fe7ab96d7bec260f2828c111e535a85e288efb DIST gfxreconstruct-1.4.304.0.tar.gz 40390002 BLAKE2B 5e99d6685648617c8ef35a0f9199f5ef75aa8b670e0a4e2a75c8dae68620ab39ca7fcc9c3804b1f30f196d71b1b4aa061c9dc0532004dfec0598c25206868d41 SHA512 5a08e8565218119c980f6511dc9dc26660f5eb86307d47feeb220efb9ec817827b02d2da10da68b5beaf71f7ce2d56b381201d98be220229fa6a22a2b6560441 +DIST gfxreconstruct-1.4.309.0.tar.gz 40772524 BLAKE2B e03b78f73010a5bee790b516c9e30495dc8f3a8a94d48aecf6ffd6be1c831197295546cb5498dcba616caa46c22af9fd57681adcfd0f86624b36336e9b2c048a SHA512 e1b5ac67fc6c42cf1794e40bf4cc360eb9cbe3d2d6aee80671f66375df9f2ff88b7883b0aeb5038a92d4b73242540a9e0bff25819b805def51f8396f0ddb2cb8 diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-1.4.309.0.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.309.0.ebuild new file mode 100644 index 0000000000000..89faea5c0da3f --- /dev/null +++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.309.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake + +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.296.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() { + 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) + ) + cmake_src_configure +}