app-misc/vhs - 0.11.0 (vowstar)

Search

Install

Install this version:

emerge -a =app-misc/vhs-0.11.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/vhs-0.11.0

Or alternatively:

emerge --autounmask-write -a =app-misc/vhs-0.11.0

Package Information

Description:
CLI home video recorder for terminal sessions
Homepage:
https://github.com/charmbracelet/vhs/ https://vhs.charm.sh/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.11.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module shell-completion

DESCRIPTION="CLI home video recorder for terminal sessions"
HOMEPAGE="
	https://github.com/charmbracelet/vhs/
	https://vhs.charm.sh/
"
SRC_URI="
	https://github.com/charmbracelet/vhs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/vowstar/gentoo-go-deps/releases/download/${P}/${P}-deps.tar.xz
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	media-video/ffmpeg
	www-apps/ttyd
	|| (
		www-client/chromium
		www-client/google-chrome
		www-client/google-chrome-beta
		www-client/google-chrome-unstable
	)
"
BDEPEND=">=dev-lang/go-1.25.8"

src_compile() {
	ego build -trimpath -ldflags "
		-linkmode external -extldflags '${LDFLAGS}' \
		-X main.Version=${PV}"
}

src_test() {
	ego test ./...
}

src_install() {
	dobin vhs

	# Generate and install shell completions
	./vhs completion bash > vhs.bash || die
	./vhs completion zsh > vhs.zsh || die
	./vhs completion fish > vhs.fish || die
	newbashcomp vhs.bash vhs
	newzshcomp vhs.zsh _vhs
	newfishcomp vhs.fish vhs

	# Install man page
	./vhs man > vhs.1 || die
	doman vhs.1
}

Inherited Eclasses

Dependencies

RDEPEND

	media-video/ffmpeg
	www-apps/ttyd
	|| (
		www-client/chromium
		www-client/google-chrome
		www-client/google-chrome-beta
		www-client/google-chrome-unstable
	)

BDEPEND

>=dev-lang/go-1.25.8

Manifest for 0.11.0

Type File Size Source URLs
DIST vhs-0.11.0-deps.tar.xz 7674388 bytes https://github.com/vowstar/gentoo-go-deps/releases/download/vhs-0.11.0/vhs-0.11.0-deps.tar.xz
DIST vhs-0.11.0.tar.gz 136991 bytes https://github.com/charmbracelet/vhs/archive/refs/tags/v0.11.0.tar.gz