dev-cpp/tracy - 0.15.0 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-cpp/tracy-0.15.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/tracy-0.15.0

Or alternatively:

emerge --autounmask-write -a =dev-cpp/tracy-0.15.0

Package Information

Description:
C++ frame profiler
Homepage:
https://github.com/wolfpld/tracy
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.15.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit cmake

DESCRIPTION="C++ frame profiler"
HOMEPAGE="https://github.com/wolfpld/tracy"
SRC_URI="https://github.com/wolfpld/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="dev-libs/capstone
	media-libs/freetype
	media-libs/glfw"
RDEPEND="${DEPEND}"

src_prepare() {
	# Upstream appends $<CONFIG> to the lib install destination for
	# non-Release builds, which lands the library in /usr/lib64/RelWithDebInfo/
	# under Gentoo's default CMAKE_BUILD_TYPE.
	sed -re 's|/\$<IF:\$<CONFIG:Release>,,\$<CONFIG>>||g' -i CMakeLists.txt || die
	cmake_src_prepare
}

src_configure() {
	# Profiling is opt-in: nothing runs until the consumer calls
	# tracy::StartupProfiler(), and nothing is collected until a viewer
	# connects. Tracy's crash handler is off because emulators handle SIGSEGV.
	local mycmakeargs=(
		-DTRACY_ENABLE=ON
		-DTRACY_MANUAL_LIFETIME=ON
		-DTRACY_NO_CRASH_HANDLER=ON
		-DTRACY_ON_DEMAND=ON
	)
	cmake_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

dev-libs/capstone
	media-libs/freetype
	media-libs/glfw

RDEPEND

dev-libs/capstone
	media-libs/freetype
	media-libs/glfw

Manifest for 0.15.0

Type File Size Source URLs
DIST tracy-0.15.0.tar.gz 21052113 bytes https://github.com/wolfpld/tracy/archive/refs/tags/v0.15.0.tar.gz