Install this version:
emerge -a =media-sound/spotify-player-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-sound/spotify-player-9999
Or alternatively:
emerge --autounmask-write -a =media-sound/spotify-player-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cargo git-r3
DESCRIPTION="spotify_player is a fast, easy to use, and configurable terminal music player."
HOMEPAGE="https://github.com/aome510/spotify-player"
EGIT_REPO_URI="https://github.com/aome510/spotify-player.git"
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 ISC LGPL-3 LGPL-3+ MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
IUSE="daemon image +libnotify +media-control pulseaudio sixel +streaming"
REQUIRED_USE="
sixel? ( image )
daemon? ( streaming )
"
DEPEND="
dev-libs/openssl
sys-apps/dbus
libnotify? ( x11-libs/libnotify )
pulseaudio? ( media-libs/libpulse )
sixel? ( media-libs/libsixel )
streaming? ( media-libs/alsa-lib )
"
RDEPEND="${DEPEND}"
src_unpack() {
git-r3_src_unpack
cargo_live_src_unpack
}
src_configure() {
initfeatures=(
"$(usex daemon daemon '')"
"$(usex image image '')"
"$(usex libnotify notify '')"
"$(usex media-control media-control '')"
"$(usex pulseaudio pulseaudio-backend alsa-backend)"
"$(usex sixel sixel '')"
"$(usex streaming streaming '')"
)
newfeatures=$(IFS=, ; echo "${initfeatures[*]}") || die
cargo_src_configure --features ${newfeatures} --no-default-features
}
src_install() {
cargo_src_install --path ./spotify_player
}
QA_FLAGS_IGNORED="usr/bin/spotify_player"
Manage flags for this package:
euse -i <flag> -p media-sound/spotify-player |
euse -E <flag> -p media-sound/spotify-player |
euse -D <flag> -p media-sound/spotify-player
dev-libs/openssl sys-apps/dbus libnotify? ( x11-libs/libnotify ) pulseaudio? ( media-libs/libpulse ) sixel? ( media-libs/libsixel ) streaming? ( media-libs/alsa-lib )
dev-libs/openssl sys-apps/dbus libnotify? ( x11-libs/libnotify ) pulseaudio? ( media-libs/libpulse ) sixel? ( media-libs/libsixel ) streaming? ( media-libs/alsa-lib )