media-sound/spotube-bin - 3.8.0 (guru)

Search

Install

Install this version:

emerge -a =media-sound/spotube-bin-3.8.0

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

autounmask =media-sound/spotube-bin-3.8.0

Or alternatively:

emerge --autounmask-write -a =media-sound/spotube-bin-3.8.0

Package Information

Description:
An open source, cross-platform Spotify client
Homepage:
https://spotube.krtirtho.dev/
License:
BSD-4

Ebuild Details

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

EAPI=8

MY_PN="spotube"

inherit desktop xdg

DESCRIPTION="An open source, cross-platform Spotify client"
HOMEPAGE="https://spotube.krtirtho.dev/"

SRC_URI="
	https://github.com/KRTirtho/${MY_PN}/releases/download/v${PV}/${MY_PN}-linux-${PV}-x86_64.tar.xz
	 -> ${P}.tar.xz
"
S="${WORKDIR}"

LICENSE="BSD-4"
SLOT="0"

KEYWORDS="~amd64"

BDEPEND="
	dev-util/patchelf
"
RDEPEND="
	>=media-video/mpv-0.38.0-r1
	>=dev-libs/libayatana-appindicator-0.5.92
"

src_prepare() {
	default

	sed -i '/^Icon=/s|=.*|=spotube-logo|' spotube.desktop || die
}

src_install() {
	insinto /opt/spotube
	doins -r data lib

	exeinto /opt/spotube
	doexe spotube
	domenu spotube.desktop
	doicon spotube-logo.png

	dodir /usr/bin
	dosym -r /opt/spotube/spotube /usr/bin/spotube

	patchelf --replace-needed "libappindicator3.so.1" "libayatana-appindicator3.so.1" "${ED}/opt/spotube/lib/libtray_manager_plugin.so" || die
}

Inherited Eclasses

xdg

Dependencies

RDEPEND

	>=media-video/mpv-0.38.0-r1
	>=dev-libs/libayatana-appindicator-0.5.92

BDEPEND

	dev-util/patchelf

Manifest for 3.8.0

Type File Size Source URLs
DIST spotube-bin-3.8.0.tar.xz 18125572 bytes https://github.com/KRTirtho/spotube/releases/download/v3.8.0/spotube-linux-3.8.0-x86_64.tar.xz