diff --git a/media-sound/ncspot/Manifest b/media-sound/ncspot/Manifest index ae71043d4d5cf..e25b42b20b08e 100644 --- a/media-sound/ncspot/Manifest +++ b/media-sound/ncspot/Manifest @@ -1,4 +1,2 @@ -DIST ncspot-1.2.1-crates.tar.xz 60059724 BLAKE2B aaaa53d282b27f70ccbe870a7e6cef69c0a28cffc8dede5a8acf239e7bc46359d4a1f43e5100189173516ca70664edd64582f5bcb124bed0d05d2f0e2b323c44 SHA512 b4e91b6d54172dcc67d331ea41668e92d03545d9d7644058710458f1e04b05cbc504a306995967782d4ed883f25ee2cb5a09406a317bf4e09230b20d798c2666 -DIST ncspot-1.2.1.tar.gz 260207 BLAKE2B 032d58508f86164fcdac9929bdf01b7fa5f51926c042d9d87f06f1bfd7436be885d0a48ff3b52bb403f2805a6df504d400cf4a64e955754eae8dd19c2cc581c9 SHA512 682b4543051e3ae08c34d953678f05e01854fefd59c60c5712c5b43570e6186e2df2098baa8169ff14fb8c9825eb611e459761e138f4e0d6e0cd8e173be1646b DIST ncspot-1.2.2-crates.tar.xz 61908868 BLAKE2B 211cd15d34f30aed540e3795df884730e9846ad32f3dba48e941cc89613a0c89f69b67dcda4a27cd5d5afaef6ad032271911a4cd7e5b1d606be96549ed149579 SHA512 bfdb2827751edb62c8340ff15ebd64403b8bc7855b040b72014a5842a190ad1d094afb619c8529f84d820a9f4fa3c14f367669b6261296583dc0cfb144e5d761 DIST ncspot-1.2.2.tar.gz 261836 BLAKE2B d162422256112c1c38aa2f13bab6e56d3141566a4c7657d9d1eda2cc937d4be9c16680c51a589762d9d64c4d4ae6017d8ef9340de39df3ca180010e003374311 SHA512 dbc711098895a078513e12dcb8543e18e8de3dcb84b3a6df1384bf585c0c2d1c578ca6d1a28f5a710fa3e7b331a6fad73565a5b3c30576f4c1bf220e9966fb6a diff --git a/media-sound/ncspot/ncspot-1.2.1-r1.ebuild b/media-sound/ncspot/ncspot-1.2.1-r1.ebuild deleted file mode 100644 index be9d50cbbe95a..0000000000000 --- a/media-sound/ncspot/ncspot-1.2.1-r1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.6 - -EAPI=8 - -CRATES="" -PYTHON_COMPAT=( python3_{10..13} ) - -inherit bash-completion-r1 cargo desktop optfeature python-any-r1 - -DESCRIPTION="ncurses Spotify client written in Rust using librespot" -HOMEPAGE="https://github.com/hrkfdn/ncspot" -SRC_URI="https://github.com/hrkfdn/ncspot/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz" - -LICENSE="BSD-2" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD Boost-1.0 ISC MIT MPL-2.0 openssl Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64" - -IUSE="clipboard cover mpris ncurses +notify pulseaudio" - -RDEPEND="dev-libs/openssl:= - sys-apps/dbus - clipboard? ( x11-libs/libxcb:= ) - cover? ( media-gfx/ueberzug ) - ncurses? ( sys-libs/ncurses:= ) - !ncurses? ( sys-libs/ncurses ) - pulseaudio? ( media-libs/libpulse ) - !pulseaudio? ( media-libs/alsa-lib )" -DEPEND="${RDEPEND}" -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig" - -QA_FLAGS_IGNORED="/usr/bin/ncspot" - -pkg_setup() { - python-any-r1_pkg_setup - rust_pkg_setup -} - -src_configure() { - local myfeaturesdef="" - - use clipboard && myfeaturesdef+="share_clipboard,share_selection," - use cover && myfeaturesdef+="cover," - use mpris && myfeaturesdef+="mpris," - use ncurses && myfeaturesdef+="ncurses_backend," - use notify && myfeaturesdef+="notify," - - # It always seems to link to libpulse regardless of this setting if libpulse is installed. - if use pulseaudio; then - myfeaturesdef+="pulseaudio_backend," - else - myfeaturesdef+="alsa_backend," - fi - - local myfeatures=( "${myfeaturesdef::-1}" ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cargo_src_compile - - cargo xtask generate-shell-completion || die - cargo xtask generate-manpage || die -} - -src_install() { - cargo_src_install - einstalldocs - - domenu misc/ncspot.desktop - newicon -s scalable images/logo.svg ncspot.svg - - newbashcomp misc/ncspot.bash ncspot - - insinto /usr/share/fish/completions - doins misc/ncspot.fish - - insinto /usr/share/zsh/site-functions - doins misc/_ncspot - - doman misc/ncspot.1 -} - -pkg_postinst() { - optfeature_header "Optional runtime features:" - optfeature "MPRIS song scrobbling support" media-sound/rescrobbled -}