summaryrefslogtreecommitdiff
path: root/media-sound/subtui/subtui-2.14.3.ebuild
blob: a655fbfc85e335a73e68f716716763be0f8a9084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

DESCRIPTION="A lightweight Subsonic TUI music player built in Go with scrobbling support."
HOMEPAGE="https://github.com/MattiaPun/SubTUI"
SRC_URI="https://github.com/MattiaPun/SubTUI/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://codeberg.org/ceres-sees-all/guru-distfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz"

S="${WORKDIR}/SubTUI-${PV}"

LICENSE="MIT"
LICENSE+=" BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

DEPEND="media-video/mpv"
RDEPEND="${DEPEND}"

BDEPEND=">=dev-lang/go-1.25.4"

src_compile() {
	ego build .
}

src_install() {
	dobin SubTUI
	dodoc README.md
}