Install this version:
emerge -a =net-misc/ytsurf-3.1.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-misc/ytsurf-3.1.6
Or alternatively:
emerge --autounmask-write -a =net-misc/ytsurf-3.1.6
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.1.6 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Simple shell script to search for YouTube videos from your terminal"
HOMEPAGE="https://github.com/Stan-breaks/ytsurf"
SRC_URI="https://github.com/Stan-breaks/ytsurf/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="rofi syncplay sentaku"
#Required: bash, yt-dlp, jq, curl, mpv, fzf, chafa, ffmpeg (for fzf thumbnails)
# Optional: rofi, sentaku, syncplay
DEPEND="
app-shells/bash
net-misc/yt-dlp
app-misc/jq
net-misc/curl
media-video/mpv
app-shells/fzf
media-gfx/chafa
media-video/ffmpeg
rofi? ( x11-misc/rofi )
syncplay? ( media-video/syncplay )
sentaku? ( app-shells/sentaku )
"
#TODO: force one selector at least (fzf, rofi or sentaku, fzf by default)
RDEPEND="${DEPEND}"
DOCS=( README.md CONTRIBUTING.md FUTURE_FEATURES.md LICENSE )
src_install() {
exeinto /usr/bin
newexe ${PN}.sh ${PN}
dodoc -r ${DOCS}
}
Manage flags for this package:
euse -i <flag> -p net-misc/ytsurf |
euse -E <flag> -p net-misc/ytsurf |
euse -D <flag> -p net-misc/ytsurf
app-shells/bash net-misc/yt-dlp app-misc/jq net-misc/curl media-video/mpv app-shells/fzf media-gfx/chafa media-video/ffmpeg rofi? ( x11-misc/rofi ) syncplay? ( media-video/syncplay ) sentaku? ( app-shells/sentaku )
app-shells/bash net-misc/yt-dlp app-misc/jq net-misc/curl media-video/mpv app-shells/fzf media-gfx/chafa media-video/ffmpeg rofi? ( x11-misc/rofi ) syncplay? ( media-video/syncplay ) sentaku? ( app-shells/sentaku )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ytsurf-3.1.6.gh.tar.gz | 28320 bytes | https://github.com/Stan-breaks/ytsurf/archive/refs/tags/v3.1.6.tar.gz |