Install this version:
emerge -a =app-shells/flyline-bin-1.7.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-shells/flyline-bin-1.7.1
Or alternatively:
emerge --autounmask-write -a =app-shells/flyline-bin-1.7.1
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Modern line editor for Bash"
HOMEPAGE="https://github.com/HalFrgrd/flyline"
SRC_URI="
amd64? (
https://github.com/HalFrgrd/flyline/releases/download/v${PV}/libflyline-v${PV}-x86_64-unknown-linux-gnu.tar.gz
-> ${P}-amd64.tar.gz
)
arm64? (
https://github.com/HalFrgrd/flyline/releases/download/v${PV}/libflyline-v${PV}-aarch64-unknown-linux-gnu.tar.gz
-> ${P}-arm64.tar.gz
)
"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RDEPEND="
>=app-shells/bash-4.4:0[plugins]
sys-devel/gcc:*
sys-libs/glibc
"
RESTRICT="strip"
QA_PREBUILT="usr/lib*/bash/flyline"
src_install() {
exeinto "/usr/$(get_libdir)/bash"
newexe "libflyline.so.${PV}" flyline
}
pkg_postinst() {
elog "Run 'enable flyline' in Bash to enable Flyline."
}