Install this version:
emerge -a =games-util/legendary-0.21.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-util/legendary-0.21.1
Or alternatively:
emerge --autounmask-write -a =games-util/legendary-0.21.1
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=uv-build
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
DESCRIPTION="A free and open-source replacement for the Epic Games Launcher"
HOMEPAGE="https://legendary.gl/ https://github.com/legendary-gl/legendary"
SRC_URI="https://github.com/legendary-gl/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="mirror"
RDEPEND="
$(python_gen_cond_dep '
dev-python/filelock[${PYTHON_USEDEP}]
dev-python/pycryptodome[${PYTHON_USEDEP}]
<dev-python/requests-3.0[${PYTHON_USEDEP}]
')
"
src_prepare() {
distutils-r1_src_prepare
# Gentoo's pycryptodome provides the Crypto namespace, not Cryptodome
grep -rlZ Cryptodome legendary | xargs -0 sed -i 's/\bCryptodome\b/Crypto/g' || die
}
$(python_gen_cond_dep ' dev-python/filelock[${PYTHON_USEDEP}] dev-python/pycryptodome[${PYTHON_USEDEP}] <dev-python/requests-3.0[${PYTHON_USEDEP}] ')
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | legendary-0.21.1.gh.tar.gz | 186206 bytes | https://github.com/legendary-gl/legendary/archive/0.21.1.tar.gz |