Install this version:
emerge -a =app-misc/glow-3.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/glow-3.0.0
Or alternatively:
emerge --autounmask-write -a =app-misc/glow-3.0.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.0.0 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
DESCRIPTION="Render markdown on the CLI"
HOMEPAGE="https://github.com/charmbracelet/glow"
SRC_URI="
https://github.com/charmbracelet/glow/archive/refs/tags/v${PV}.tar.gz
https://gitea.com/slash/schplaf-gentoo-overlay-files/raw/tag/${P}/glow/${P}-deps.tar.xz
"
#https://gitea.com/slash/schplaf-gentoo-overlay-files/raw/tag/${P}/glow/${P}-vendor.tar.xz
# glow is under MIT license, but the dependencies are under Apache-2.0 and 3-Clause BSD
LICENSE="MIT Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="bash-completion zsh-completion fish-completion"
BDEPEND=">=dev-lang/go-1.26.5"
src_compile() {
ego build
}
src_install() {
einstalldocs
dobin glow
if use bash-completion
then
glow completion bash > "${PN}"
dobashcomp "${PN}"
fi
if use zsh-completion
then
glow completion zsh > "_${PN}"
dozshcomp "_${PN}"
fi
if use fish-completion
then
glow completion fish > "${PN}.fish"
dofishcomp "${PN}.fish"
fi
default
}
Manage flags for this package:
euse -i <flag> -p app-misc/glow |
euse -E <flag> -p app-misc/glow |
euse -D <flag> -p app-misc/glow
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | glow-3.0.0-deps.tar.xz | 35595976 bytes | https://gitea.com/slash/schplaf-gentoo-overlay-files/raw/tag/glow-3.0.0/glow/glow-3.0.0-deps.tar.xz |
| DIST | v3.0.0.tar.gz | 511038 bytes | https://github.com/charmbracelet/glow/archive/refs/tags/v3.0.0.tar.gz |