From a205852ef3de9fc74032308a731cdb1bc6e57acb Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Fri, 5 Jul 2024 23:45:27 -0500 Subject: [PATCH] add-tracy --- anda/misc/tracy/anda.hcl | 5 +++ anda/misc/tracy/tracy.spec | 68 +++++++++++++++++++++++++++++++++++++ anda/misc/tracy/update.rhai | 0 3 files changed, 73 insertions(+) create mode 100644 anda/misc/tracy/anda.hcl create mode 100644 anda/misc/tracy/tracy.spec create mode 100644 anda/misc/tracy/update.rhai diff --git a/anda/misc/tracy/anda.hcl b/anda/misc/tracy/anda.hcl new file mode 100644 index 0000000000..e5feed24c8 --- /dev/null +++ b/anda/misc/tracy/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "tracy.spec" + } +} \ No newline at end of file diff --git a/anda/misc/tracy/tracy.spec b/anda/misc/tracy/tracy.spec new file mode 100644 index 0000000000..2b4bbb7999 --- /dev/null +++ b/anda/misc/tracy/tracy.spec @@ -0,0 +1,68 @@ +Name: tracy +Version: 0.10 +Release: 1%?dist +Summary: A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications. +License: BSD-3-Clause +URL: https://github.com/wolfpld/tracy +Source0: https://github.com/wolfpld/tracy/refs/tags/%version.tar.gz +BuildRequires: cmake meson gcc libxkbcommon libglvnd pkgconfig(glfw) pkgconfig(freetype) pkgconfig(capstone) pkgconfig(dbus) pkgconfig(libunwind) pkgconfig(libdebuginfod) pkgconfig(tbb) +Patch: https://github.com/wolfpld/tracy/commit/1a971d867d6fa5bf6dc57d705dcbbc6020031e7a.patch + +%description +%A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications. + +%prep +%autosetup -n tracy + +%build +%make_build -C capture/build/unix release +%make_build -C csvexport/build/unix release +%make_build -C import-chrome/build/unix release +%make_build -C library/unix release +%make_build -C profiler/build/unix release +%make_build -C update/build/unix release + +%install +mkdir -p %{buildroot}/usr/bin/ +install -m 755 Tracy-release %{buildroot}/usr/bin/Tracy-release + +%files +%config/tracy/. +%config/tracy/.. +%config/tracy/capture +%config/tracy/.clang-tidy +%config/tracy/cmake +%config/tracy/CMakeLists.txt +%config/tracy/Config.cmake.in +%config/tracy/csvexport +%config/tracy/doc +%config/tracy/dtl +%config/tracy/examples +%config/tracy/extra +%config/tracy/getopt +%config/tracy/.git +%config/tracy/.github +%config/tracy/.gitignore +%config/tracy/icon +%config/tracy/imgui +%config/tracy/import-chrome +%config/tracy/import-fuchsia +%config/tracy/library +%config/tracy/LICENSE +%config/tracy/manual +%config/tracy/meson.build +%config/tracy/meson.options +%config/tracy/NEWS +%config/tracy/nfd +%config/tracy/profiler +%config/tracy/public +%config/tracy/python +%config/tracy/README.md +%config/tracy/server +%config/tracy/test +%config/tracy/update +%config/tracy/.vscode +%config/tracy/zstd + +%changelog +%autochangelog diff --git a/anda/misc/tracy/update.rhai b/anda/misc/tracy/update.rhai new file mode 100644 index 0000000000..e69de29bb2