diff options
Diffstat (limited to 'dev-debug')
| -rw-r--r-- | dev-debug/d-spy/Manifest | 2 | ||||
| -rw-r--r-- | dev-debug/d-spy/d-spy-49.2.ebuild (renamed from dev-debug/d-spy/d-spy-47.0.ebuild) | 11 | ||||
| -rw-r--r-- | dev-debug/gfxreconstruct/Manifest | 2 | ||||
| -rw-r--r-- | dev-debug/gfxreconstruct/files/1.3.335.0-static-project_version.patch | 27 | ||||
| -rw-r--r-- | dev-debug/gfxreconstruct/gfxreconstruct-1.4.335.0.ebuild | 83 |
5 files changed, 119 insertions, 6 deletions
diff --git a/dev-debug/d-spy/Manifest b/dev-debug/d-spy/Manifest index e59862f3b75f..3c4dbcd78c67 100644 --- a/dev-debug/d-spy/Manifest +++ b/dev-debug/d-spy/Manifest @@ -1,2 +1,2 @@ -DIST d-spy-47.0.tar.xz 219464 BLAKE2B 4bdb51df9ecb051408ce265a41ccdd3d74afbebb57e09d12a50cd525084b2446a09dd668b4440e5bfae64ca1044b6c331ccc8163100fa026bb1b697bfa5074ed SHA512 da5275691ab29ced7a125bf9411a8bae4388ea6f940c8e4f5a0764e18e9d1909abfe4d5c13e4cbd3405d106929bbbf6ba15f45c509d3396906311f5d453b2df2 DIST d-spy-48.0.tar.xz 219364 BLAKE2B b2df2027ce3767516bdd1ba9304c7b4f0e5883d04e26cfe94abc34c2ddb6292cca8fe313715e447b6b94f69316b96884578fac9891e5037acb7061f4df1f15da SHA512 aaea06f6ebdd93b3ab1fee8fd917600ae93aa90e35e0e8188eac614b10b043777021649e585150f973b5e0c079f1e94b10139758c6fe9e6d197f16192e1d44bd +DIST d-spy-49.2.tar.xz 215988 BLAKE2B 2950f8887c945afa0ee6a4af8e7e934595a67862a9e5056b48b72076fedeec985abc97d68eec87929e117a42730fc3f62a33d869d6b473569bcc7e1ff428964e SHA512 379d7ff8539163cf9792b6c53747fd66540f6d12616b0f7ec977adab890de4362fbf77cdc8b4afeaeb0583cff1ae6f7621cda880ab05a2cde6b3abc372e9707d diff --git a/dev-debug/d-spy/d-spy-47.0.ebuild b/dev-debug/d-spy/d-spy-49.2.ebuild index f22ba44b1988..8cb6250c2433 100644 --- a/dev-debug/d-spy/d-spy-47.0.ebuild +++ b/dev-debug/d-spy/d-spy-49.2.ebuild @@ -6,16 +6,17 @@ EAPI=8 inherit gnome.org meson xdg DESCRIPTION="D-Spy is a simple tool to explore D-Bus connections" -HOMEPAGE="https://gitlab.gnome.org/GNOME/d-spy" +HOMEPAGE="https://apps.gnome.org/Dspy/" LICENSE="GPL-3+ LGPL-3+" SLOT="1" -KEYWORDS="amd64 ~arm64" +KEYWORDS="~amd64 ~arm64" DEPEND=" - >=dev-libs/glib-2.76:2 - >=gui-libs/gtk-4.12:4 - >=gui-libs/libadwaita-1.4:1 + >=dev-libs/glib-2.82:2 + >=gui-libs/gtk-4.16:4 + >=dev-libs/libdex-0.11 + >=gui-libs/libadwaita-1.7:1 " RDEPEND=" ${DEPEND} diff --git a/dev-debug/gfxreconstruct/Manifest b/dev-debug/gfxreconstruct/Manifest index ffdbd1176fe3..b20f83315885 100644 --- a/dev-debug/gfxreconstruct/Manifest +++ b/dev-debug/gfxreconstruct/Manifest @@ -1,4 +1,6 @@ DIST SPIRV-Reflect-1.4.321.0.tar.gz 326302 BLAKE2B 88b80b73c6ff49521351b02c1a077a98366db9b6fdc3e33553bedcda5efb5f89efebf18908e7034b904e9b09ae8c77d449bca9ce40ece8a06e2740ac2ce6dd0d SHA512 3fde31cf92a450b920c789995636dadb77e3f270acb6d26cc5f6905bf769d95297052009ada87deae16c36e3065ba0e300d7cfc9c0651f63555672b12d18f462 DIST SPIRV-Reflect-1.4.328.0.tar.gz 347322 BLAKE2B e6921d260bc0672196881ed63f9340ad5f5b92df3bf5461f3fdb6712d93137711eb363b59c9a7b44ee186cbbe452e3b40473040e4725e632ad2637b7e96d5418 SHA512 0062021edd4694caf417674b3763f0a3361a29c29d399573579206c83054afbf3c999c08534bd234f818875b84711f3ce891ec2316949e29a8360c3c38ca079d +DIST SPIRV-Reflect-1.4.335.0.tar.gz 347336 BLAKE2B 280eb970b7e3f51aa8d7dc236db2010c9893d6549995225ea7158e06f9cc050b974ca0892b1496c0b9a62824da42ba1724535a847dfb0e315fecfad13dc09a69 SHA512 9ed326eae3d4c5d93791c812c17bbe298ded44cd9b2e1b26ac19934cacf0136f9e395ac2a87685adce3a1cf3b12872a097cd235e16347be847f685a3548c7730 DIST gfxreconstruct-1.4.321.0.tar.gz 48957387 BLAKE2B 67293e5d17b70753c1b7e9b6befc8c056fa0ba934b555fcf49c174866db9be04fa3fa1e278add19f9b7c85bb9455307c38d60cf78573ca2588546826c23df654 SHA512 9c90a4e18f1418a55a7e2d01d8a24bfde0af5470932325a37c34dbca646135583fea13090ec66fac84c054d77d7be63f59d55ad3f98948a9144377dbef0c97ba DIST gfxreconstruct-1.4.328.0.tar.gz 50582022 BLAKE2B 508a47879b469a5fb17feacb2a40113e7caca728c7fb6eccb6a7a0379f23f1e0f8601c89bce24239408c30c45e9c5904a19838433eed52ac344d23ae84775229 SHA512 66adaa1e6d696c82f78bd2e7041cac61c521b367440d342b47af922db2a7dec2721bbe12a171bd914be1ad9d544b89919b9ca102faa1080e2ff36ec99b782288 +DIST gfxreconstruct-1.4.335.0.tar.gz 50675011 BLAKE2B 426c90eb7421966aa24d461132af743d9fde5970bc75822345aaced413708eed23a127f4cb1c94e8126bd6776d334525f173ea057157de554089292d94231b1c SHA512 e1dd37e5a84d2442280ea7cbd081bde25f9e8c486bc5590ba378bd5ac0ec61011dd56d41eab6db856df265fa141c230374819664ddae477c8b4a96170a95e578 diff --git a/dev-debug/gfxreconstruct/files/1.3.335.0-static-project_version.patch b/dev-debug/gfxreconstruct/files/1.3.335.0-static-project_version.patch new file mode 100644 index 000000000000..6374ecadab1e --- /dev/null +++ b/dev-debug/gfxreconstruct/files/1.3.335.0-static-project_version.patch @@ -0,0 +1,27 @@ +From d4549d672f7a76e21f7781049541e2bf84e267fa Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Sun, 14 Dec 2025 15:44:16 -0500 +Subject: [PATCH] Build project_version as a static library + +Gentoo's default CMake rules enable shared libraries, which this library +is not intended to be. +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git ./CMakeLists.txt ./CMakeLists.txt +index 0574f9a5..6300d7da 100644 +--- ./CMakeLists.txt ++++ ./CMakeLists.txt +@@ -122,7 +122,7 @@ add_definitions(-DPROJECT_VERSION_HEADER_FILE="project_version_$<CONFIG>.h") + # Isolate the repo SHA in a library to reduce the amount of recompilation on git commit, checkout, etc. + # Clients should #include PROJECT_VERSION_HEADER_FILE and call GetProjectVersionString() + configure_file("${PROJECT_SOURCE_DIR}/project_version_string.h.in" "${CMAKE_BINARY_DIR}/project_version_string.h") +-add_library(project_version "${PROJECT_SOURCE_DIR}/project_version.cpp") ++add_library(project_version STATIC "${PROJECT_SOURCE_DIR}/project_version.cpp") + target_include_directories(project_version PUBLIC "${CMAKE_BINARY_DIR}") + + option(BUILD_WERROR "Build with warnings as errors" ON) +-- +2.51.2 + diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-1.4.335.0.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.335.0.ebuild new file mode 100644 index 000000000000..2022fea0735c --- /dev/null +++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.335.0.ebuild @@ -0,0 +1,83 @@ +# 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:= + virtual/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 + "${FILESDIR}"/1.3.335.0-static-project_version.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 +} |
