Install this version:
emerge -a =app-misc/ttyrec-1.2.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/ttyrec-1.2.0.0
Or alternatively:
emerge --autounmask-write -a =app-misc/ttyrec-1.2.0.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="ttyrec provides tools to record and replay a terminal session"
HOMEPAGE="https://github.com/ovh/ovh-ttyrec"
SRC_URI="https://github.com/ovh/ovh-ttyrec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ovh-${P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="+zstd"
RDEPEND="zstd? ( app-arch/zstd:= )"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.2.0.0-flags.patch
)
src_configure() {
tc-export CC
NO_STATIC_ZSTD=1 NO_ZSTD=$(usev !zstd 1) econf
}
src_test() {
./ttyrec -f "${T}"/test.ttyrec -- "${SHELL}" -c \
'echo basic; sleep .5; echo test' || die "ttyrec failed!"
./ttyplay "${T}"/test.ttyrec || die "ttyplay failed"
}
Manage flags for this package:
euse -i <flag> -p app-misc/ttyrec |
euse -E <flag> -p app-misc/ttyrec |
euse -D <flag> -p app-misc/ttyrec
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ttyrec-1.2.0.0.tar.gz | 69231 bytes | https://github.com/ovh/ovh-ttyrec/archive/v1.2.0.0.tar.gz |