dev-util/ccc - 2.1 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-util/ccc-2.1

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

autounmask =dev-util/ccc-2.1

Or alternatively:

emerge --autounmask-write -a =dev-util/ccc-2.1

Package Information

Description:
Parser and dumper for debugging symbols from PlayStation 2 games.
Homepage:
https://github.com/chaoticgd/ccc
License:
MIT GPL-2+ LGPL-2.1+

Ebuild Details

Version EAPI Keywords Slot
2.1 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="Parser and dumper for debugging symbols from PlayStation 2 games."
HOMEPAGE="https://github.com/chaoticgd/ccc"
SRC_URI="https://github.com/chaoticgd/${PN}/archive/refs/tags/v${PV}.tar.gz
	-> ${P}.tar.gz"

# MIT covers upstream's own code. thirdparty/demanglegnu is libiberty taken
# from GCC 13.2.0, whose files are a mix of GPL-2+ and LGPL-2.1+.
LICENSE="MIT GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

DEPEND="dev-libs/rapidjson
	test? ( dev-cpp/gtest )"

PATCHES=(
	"${FILESDIR}/${P}-system-libraries.patch"
	"${FILESDIR}/${P}-version.patch"
)

src_prepare() {
	cmake_src_prepare

	rm -r thirdparty/rapidjson thirdparty/googletest || die
}

src_install() {
	# Upstream defines no install rules; these are the four tools it puts in a
	# release. objdump and demangle are too generic to install under those
	# names, and objdump would collide with sys-devel/binutils outright.
	dobin "${BUILD_DIR}"/stdump "${BUILD_DIR}"/uncc
	newbin "${BUILD_DIR}"/objdump ccc-objdump
	newbin "${BUILD_DIR}"/demangle ccc-demangle

	dodoc README.md CHANGELOG.md
	dodoc -r docs
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/ccc | euse -E <flag> -p dev-util/ccc | euse -D <flag> -p dev-util/ccc

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

dev-libs/rapidjson
	test? ( dev-cpp/gtest )

Manifest for 2.1

Type File Size Source URLs
DIST ccc-2.1.tar.gz 4322877 bytes https://github.com/chaoticgd/ccc/archive/refs/tags/v2.1.tar.gz