Install this version:
emerge -a =dev-util/ghidra-emotionengine-reloaded-bin-2.1.37
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/ghidra-emotionengine-reloaded-bin-2.1.37
Or alternatively:
emerge --autounmask-write -a =dev-util/ghidra-emotionengine-reloaded-bin-2.1.37
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.1.37 | 8 | ~amd64 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Upstream publishes one prebuilt archive per supported Ghidra release. They
# differ only in the version= property; the 12.1.2 and 12.1.3 archives of this
# tag contain byte-identical bytecode. The newest is taken so that the file
# fetched needs the least adjusting, but ghidra-extension.eclass retargets
# whichever archive this is at the installed Ghidra regardless.
GHIDRA_PV="12.1.3"
GHIDRA_EXT_NAME="ghidra-emotionengine-reloaded"
MY_PN="${PN%-bin}"
inherit ghidra-extension
# Date stamp baked into the release asset name by upstream's CI.
GEER_DATE="20260825"
DESCRIPTION="Ghidra extension adding PlayStation 2 Emotion Engine support."
HOMEPAGE="https://github.com/chaoticgd/ghidra-emotionengine-reloaded"
SRC_URI="https://github.com/chaoticgd/${MY_PN}/releases/download/v${PV}/ghidra_${GHIDRA_PV}_PUBLIC_${GEER_DATE}_${MY_PN}.zip
-> ${P}-ghidra-${GHIDRA_PV}.zip"
S="${WORKDIR}/${MY_PN}"
# Apache-2.0 covers the extension itself. MIT covers the bundled stdump
# executable, which comes from dev-util/ccc (https://github.com/chaoticgd/ccc).
LICENSE="Apache-2.0 MIT"
KEYWORDS="~amd64"
QA_PREBUILT="usr/share/ghidra/Ghidra/Extensions/${GHIDRA_EXT_NAME}/os/linux_x86_64/stdump"
src_prepare() {
ghidra-extension_src_prepare
# Only the Linux stdump is usable on this platform.
rm -r os/mac_x86_64 os/win_x86_64 || die
# Helper that fetches stdump over the network; useless once installed.
rm os/download.sh || die
}
src_install() {
ghidra-extension_src_install
fperms +x "${GHIDRA_HOME}/Ghidra/Extensions/${GHIDRA_EXT_NAME}/os/linux_x86_64/stdump"
}