summaryrefslogtreecommitdiff
path: root/dev-debug/gfxreconstruct
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-debug/gfxreconstruct
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-debug/gfxreconstruct')
-rw-r--r--dev-debug/gfxreconstruct/Manifest2
-rw-r--r--dev-debug/gfxreconstruct/files/1.3.313.0-use-system-vulkan.patch38
-rw-r--r--dev-debug/gfxreconstruct/gfxreconstruct-1.4.341.0.ebuild76
-rw-r--r--dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild76
-rw-r--r--dev-debug/gfxreconstruct/metadata.xml9
5 files changed, 201 insertions, 0 deletions
diff --git a/dev-debug/gfxreconstruct/Manifest b/dev-debug/gfxreconstruct/Manifest
new file mode 100644
index 000000000000..e990b269f393
--- /dev/null
+++ b/dev-debug/gfxreconstruct/Manifest
@@ -0,0 +1,2 @@
+DIST SPIRV-Reflect-1.4.341.0.tar.gz 348384 BLAKE2B 1fc461f02a3e35b610cae0b2e41cfc8b0938a13d5c1fe62d2e3a53d3822cf7bc94d3d3a5cda3ba3707ecc9aa34415b351f1ac25f92922e63378a2822e766fb68 SHA512 ee8abc9958af8887300eece7dbcf11ed4bf79d9ee281318e6794f093a988438736e0da642d61b975912475cc3a0b13fe8cd17d3a6b0fcfff653c9831f5d86ba0
+DIST gfxreconstruct-1.4.341.0.tar.gz 50763927 BLAKE2B b532535012088bb043f1098886bd30ce1e3345515e217a77a05229f98b36678703ed9773169cf7cfa0f09f4694635c69532127df86649cd3e19daa2b6768ec4f SHA512 0efb51431b8ae40e723d06ff3ab6a2505094dc88104a0f2da42f4c1e301dbdd929398e7183a996b7b31854f45506ea636cec40f9fa883aafbe8d8b0b493716aa
diff --git a/dev-debug/gfxreconstruct/files/1.3.313.0-use-system-vulkan.patch b/dev-debug/gfxreconstruct/files/1.3.313.0-use-system-vulkan.patch
new file mode 100644
index 000000000000..419ec4134ebe
--- /dev/null
+++ b/dev-debug/gfxreconstruct/files/1.3.313.0-use-system-vulkan.patch
@@ -0,0 +1,38 @@
+From 900940f63432dac21b397150031355c7511032a4 Mon Sep 17 00:00:00 2001
+From: Matt Turner <mattst88@gmail.com>
+Date: Thu, 15 May 2025 23:28:26 -0400
+Subject: [PATCH] Use system Vulkan Headers instead of embedded ones.
+
+---
+ cmake/FindVulkanVersion.cmake | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+diff --git ./cmake/FindVulkanVersion.cmake ./cmake/FindVulkanVersion.cmake
+index 3821c2c8..f7744813 100644
+--- ./cmake/FindVulkanVersion.cmake
++++ ./cmake/FindVulkanVersion.cmake
+@@ -13,9 +13,7 @@ set(FIND_VULKAN_DIR ${CMAKE_CURRENT_LIST_DIR})
+ find_file (VULKAN_HEADER
+ vulkan_core.h
+ HINTS
+- external/Vulkan-Headers/include/vulkan
+- ${FIND_VULKAN_DIR}/../external/Vulkan-Headers/include/vulkan
+- ${FIND_VULKAN_DIR}/../../external/Vulkan-Headers/include/vulkan
++ /usr/include/vulkan/
+ NO_DEFAULT_PATH
+ NO_CMAKE_FIND_ROOT_PATH
+ )
+@@ -28,9 +26,7 @@ else()
+ find_file(VULKAN_HEADER
+ vulkan.h
+ HINTS
+- external/Vulkan-Headers/include/vulkan
+- ${FIND_VULKAN_DIR}/../external/Vulkan-Headers/include/vulkan
+- ${FIND_VULKAN_DIR}/../../external/Vulkan-Headers/include/vulkan
++ /usr/include/vulkan/
+ NO_DEFAULT_PATH
+ NO_CMAKE_FIND_ROOT_PATH
+ )
+--
+2.49.0
+
diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-1.4.341.0.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.341.0.ebuild
new file mode 100644
index 000000000000..00f8000090bd
--- /dev/null
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.341.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+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:=
+ 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
+ )
+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)
+ -DGFXRECON_ENABLE_OPENXR=OFF
+ )
+ cmake_src_configure
+}
diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
new file mode 100644
index 000000000000..00f8000090bd
--- /dev/null
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+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:=
+ 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
+ )
+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)
+ -DGFXRECON_ENABLE_OPENXR=OFF
+ )
+ cmake_src_configure
+}
diff --git a/dev-debug/gfxreconstruct/metadata.xml b/dev-debug/gfxreconstruct/metadata.xml
new file mode 100644
index 000000000000..811825f90a16
--- /dev/null
+++ b/dev-debug/gfxreconstruct/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>vulkan@gentoo.org</email>
+ <name>Vulkan Project</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>