Install this version:
emerge -a =games-engines/renpy-8.5.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-engines/renpy-8.5.3
Or alternatively:
emerge --autounmask-write -a =games-engines/renpy-8.5.3
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{13..14} )
inherit distutils-r1 flag-o-matic toolchain-funcs xdg
DESCRIPTION="Visual novel engine written in python"
HOMEPAGE="https://www.renpy.org"
SRC_URI="https://www.renpy.org/dl/${PV}/${P}-source.tar.bz2"
S="${WORKDIR}/${P}-source"
LICENSE="MIT"
SLOT="0/${PVR}"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RESTRICT="test"
DEPEND="
dev-libs/fribidi
media-libs/assimp
media-libs/freetype:2
media-libs/glew:0
media-libs/libjpeg-turbo:=
media-libs/libpng:0
media-libs/libsdl2:=[video]
media-libs/sdl2-image:=[jpeg,png]
>=media-libs/sdl2-mixer-2.0.2:=
media-libs/sdl2-ttf:=
media-video/ffmpeg:=
virtual/zlib
$(python_gen_cond_dep '
>=dev-lang/python-exec-0.3[${PYTHON_USEDEP}]
dev-python/ecdsa[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
')
"
RDEPEND="${DEPEND}"
BDEPEND="
$(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]')
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}/renpy-8.1.0-ignore_rpyc_errors.patch" )
python_prepare_all() {
einfo "Deleting precompiled python files"
find . -name '*.py[co]' -print -delete || die
cp "${FILESDIR}/renpy.py" . || die
distutils-r1_python_prepare_all
}
python_compile() {
addpredict /usr/bin/steam_appid.txt
# build doesn't pick up on a couple include dirs for some reason
append-cppflags "$($(tc-getPKG_CONFIG) --cflags-only-I freetype2)"
append-cppflags "$($(tc-getPKG_CONFIG) --cflags-only-I sdl2)"
distutils-r1_python_compile
}
python_install() {
distutils-r1_python_install
python_newscript renpy.py ${PN}
python_domodule renpy
local -x RENPY_BASE="${D}/$(python_get_sitedir)"
"${EPYTHON}" renpy.py renpy/common compile || die "renpy compile failed"
}
python_install_all() {
distutils-r1_python_install_all
if use doc; then
insinto "/usr/share/doc/${PF}/html"
doins -r doc/*
fi
newman "${FILESDIR}/${PN}.1" "${P}.1"
}
Manage flags for this package:
euse -i <flag> -p games-engines/renpy |
euse -E <flag> -p games-engines/renpy |
euse -D <flag> -p games-engines/renpy
dev-libs/fribidi media-libs/assimp media-libs/freetype:2 media-libs/glew:0 media-libs/libjpeg-turbo:= media-libs/libpng:0 media-libs/libsdl2:=[video] media-libs/sdl2-image:=[jpeg,png] >=media-libs/sdl2-mixer-2.0.2:= media-libs/sdl2-ttf:= media-video/ffmpeg:= virtual/zlib $(python_gen_cond_dep ' >=dev-lang/python-exec-0.3[${PYTHON_USEDEP}] dev-python/ecdsa[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] ')
dev-libs/fribidi media-libs/assimp media-libs/freetype:2 media-libs/glew:0 media-libs/libjpeg-turbo:= media-libs/libpng:0 media-libs/libsdl2:=[video] media-libs/sdl2-image:=[jpeg,png] >=media-libs/sdl2-mixer-2.0.2:= media-libs/sdl2-ttf:= media-video/ffmpeg:= virtual/zlib $(python_gen_cond_dep ' >=dev-lang/python-exec-0.3[${PYTHON_USEDEP}] dev-python/ecdsa[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] ')
$(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]') virtual/pkgconfig
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | renpy-8.5.3-source.tar.bz2 | 77069263 bytes | https://www.renpy.org/dl/8.5.3/renpy-8.5.3-source.tar.bz2 |