Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/ncspot audio/ncspot: import



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e67f16205555
branches:  trunk
changeset: 437311:e67f16205555
user:      pin <pin%pkgsrc.org@localhost>
date:      Thu Aug 20 16:24:59 2020 +0000

description:
audio/ncspot: import

ncurses Spotify client written in Rust using librespot. It is heavily inspired
by ncurses MPD clients, such as ncmpc.  My motivation was to provide a simple
and resource friendly alternative to the official client as well as to support
platforms that currently don't have a Spotify client, such as the *BSDs.

Note: ncspot requires a Spotify premium account.

Packaged in wip by myself, wiz and tnn.

diffstat:

 audio/ncspot/DESCR                    |    6 +
 audio/ncspot/Makefile                 |  427 ++++++++++++++++++++++++++++++++++
 audio/ncspot/PLIST                    |    2 +
 audio/ncspot/patches/patch-Cargo.toml |   19 +
 4 files changed, 454 insertions(+), 0 deletions(-)

diffs (truncated from 470 to 300 lines):

diff -r 25df3a2c20c5 -r e67f16205555 audio/ncspot/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ncspot/DESCR        Thu Aug 20 16:24:59 2020 +0000
@@ -0,0 +1,6 @@
+ncurses Spotify client written in Rust using librespot. It is heavily inspired
+by ncurses MPD clients, such as ncmpc.  My motivation was to provide a simple
+and resource friendly alternative to the official client as well as to support
+platforms that currently don't have a Spotify client, such as the *BSDs.
+
+Note: ncspot requires a Spotify premium account.
diff -r 25df3a2c20c5 -r e67f16205555 audio/ncspot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ncspot/Makefile     Thu Aug 20 16:24:59 2020 +0000
@@ -0,0 +1,427 @@
+# $NetBSD: Makefile,v 1.1 2020/08/20 16:24:59 pin Exp $
+
+DISTNAME=      ncspot-0.2.1
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=hrkfdn/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/hrkfdn/ncspot/
+COMMENT=       Cross-platform ncurses Spotify client written in Rust
+LICENSE=       2-clause-bsd
+
+USE_LANGUAGES+=                        c c++   # rust, but needs a toolchain to link
+USE_TOOLS+=                    pkg-config
+PYTHON_VERSIONS_ACCEPTED=      37
+PYTHON_FOR_BUILD_ONLY=         tool
+
+USE_NCURSES=   yes     # NCURSES_MOUSE_VERSION, also needs wide support
+
+CARGO_CRATE_DEPENDS+=  addr2line-0.13.0
+CARGO_CRATE_DEPENDS+=  adler-0.2.3
+CARGO_CRATE_DEPENDS+=  aes-0.3.2
+CARGO_CRATE_DEPENDS+=  aes-ctr-0.3.0
+CARGO_CRATE_DEPENDS+=  aes-soft-0.3.3
+CARGO_CRATE_DEPENDS+=  aesni-0.6.0
+CARGO_CRATE_DEPENDS+=  ahash-0.3.8
+CARGO_CRATE_DEPENDS+=  ahash-0.4.4
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.13
+CARGO_CRATE_DEPENDS+=  alga-0.9.3
+CARGO_CRATE_DEPENDS+=  alsa-0.2.2
+CARGO_CRATE_DEPENDS+=  alsa-sys-0.1.2
+CARGO_CRATE_DEPENDS+=  ansi_term-0.11.0
+CARGO_CRATE_DEPENDS+=  approx-0.3.2
+CARGO_CRATE_DEPENDS+=  arc-swap-0.4.7
+CARGO_CRATE_DEPENDS+=  array-macro-1.0.5
+CARGO_CRATE_DEPENDS+=  arrayref-0.3.6
+CARGO_CRATE_DEPENDS+=  arrayvec-0.5.1
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-0.1.7
+CARGO_CRATE_DEPENDS+=  autocfg-1.0.0
+CARGO_CRATE_DEPENDS+=  backtrace-0.3.50
+CARGO_CRATE_DEPENDS+=  base64-0.10.1
+CARGO_CRATE_DEPENDS+=  base64-0.11.0
+CARGO_CRATE_DEPENDS+=  base64-0.12.3
+CARGO_CRATE_DEPENDS+=  base64-0.9.3
+CARGO_CRATE_DEPENDS+=  bindgen-0.53.3
+CARGO_CRATE_DEPENDS+=  bit-set-0.5.2
+CARGO_CRATE_DEPENDS+=  bit-vec-0.6.2
+CARGO_CRATE_DEPENDS+=  bitflags-0.9.1
+CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
+CARGO_CRATE_DEPENDS+=  blake2b_simd-0.5.10
+CARGO_CRATE_DEPENDS+=  block-0.1.6
+CARGO_CRATE_DEPENDS+=  block-buffer-0.7.3
+CARGO_CRATE_DEPENDS+=  block-cipher-trait-0.6.2
+CARGO_CRATE_DEPENDS+=  block-padding-0.1.5
+CARGO_CRATE_DEPENDS+=  bumpalo-3.4.0
+CARGO_CRATE_DEPENDS+=  byte-tools-0.3.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.3.4
+CARGO_CRATE_DEPENDS+=  bytes-0.4.12
+CARGO_CRATE_DEPENDS+=  bytes-0.5.6
+CARGO_CRATE_DEPENDS+=  cc-1.0.58
+CARGO_CRATE_DEPENDS+=  cexpr-0.4.0
+CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+=  chrono-0.4.13
+CARGO_CRATE_DEPENDS+=  clang-sys-0.29.3
+CARGO_CRATE_DEPENDS+=  clap-2.33.2
+CARGO_CRATE_DEPENDS+=  clipboard-0.5.0
+CARGO_CRATE_DEPENDS+=  clipboard-win-2.2.0
+CARGO_CRATE_DEPENDS+=  cloudabi-0.0.3
+CARGO_CRATE_DEPENDS+=  const-random-0.1.8
+CARGO_CRATE_DEPENDS+=  const-random-macro-0.1.8
+CARGO_CRATE_DEPENDS+=  constant_time_eq-0.1.5
+CARGO_CRATE_DEPENDS+=  cookie-0.12.0
+CARGO_CRATE_DEPENDS+=  cookie_store-0.7.0
+CARGO_CRATE_DEPENDS+=  core-foundation-0.7.0
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.5.1
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.7.0
+CARGO_CRATE_DEPENDS+=  coreaudio-rs-0.9.1
+CARGO_CRATE_DEPENDS+=  coreaudio-sys-0.2.5
+CARGO_CRATE_DEPENDS+=  cpal-0.8.2
+CARGO_CRATE_DEPENDS+=  crc32fast-1.2.0
+CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.4.3
+CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.7.3
+CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.8.2
+CARGO_CRATE_DEPENDS+=  crossbeam-queue-0.2.3
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.7.2
+CARGO_CRATE_DEPENDS+=  crypto-mac-0.7.0
+CARGO_CRATE_DEPENDS+=  ctr-0.3.2
+CARGO_CRATE_DEPENDS+=  cursive-0.15.0
+CARGO_CRATE_DEPENDS+=  cursive_core-0.1.1
+CARGO_CRATE_DEPENDS+=  darling-0.10.2
+CARGO_CRATE_DEPENDS+=  darling-0.9.0
+CARGO_CRATE_DEPENDS+=  darling_core-0.10.2
+CARGO_CRATE_DEPENDS+=  darling_core-0.9.0
+CARGO_CRATE_DEPENDS+=  darling_macro-0.10.2
+CARGO_CRATE_DEPENDS+=  darling_macro-0.9.0
+CARGO_CRATE_DEPENDS+=  dbus-0.6.5
+CARGO_CRATE_DEPENDS+=  derive_builder-0.7.2
+CARGO_CRATE_DEPENDS+=  derive_builder_core-0.5.0
+CARGO_CRATE_DEPENDS+=  digest-0.8.1
+CARGO_CRATE_DEPENDS+=  directories-2.0.2
+CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.5
+CARGO_CRATE_DEPENDS+=  dotenv-0.13.0
+CARGO_CRATE_DEPENDS+=  dtoa-0.4.6
+CARGO_CRATE_DEPENDS+=  either-1.6.0
+CARGO_CRATE_DEPENDS+=  encoding_rs-0.8.23
+CARGO_CRATE_DEPENDS+=  enum-map-0.6.2
+CARGO_CRATE_DEPENDS+=  enum-map-derive-0.4.3
+CARGO_CRATE_DEPENDS+=  enumset-1.0.1
+CARGO_CRATE_DEPENDS+=  enumset_derive-0.5.0
+CARGO_CRATE_DEPENDS+=  env_logger-0.6.2
+CARGO_CRATE_DEPENDS+=  error-chain-0.12.4
+CARGO_CRATE_DEPENDS+=  failure-0.1.8
+CARGO_CRATE_DEPENDS+=  failure_derive-0.1.8
+CARGO_CRATE_DEPENDS+=  fake-simd-0.1.2
+CARGO_CRATE_DEPENDS+=  fern-0.5.9
+CARGO_CRATE_DEPENDS+=  flate2-1.0.16
+CARGO_CRATE_DEPENDS+=  fnv-1.0.7
+CARGO_CRATE_DEPENDS+=  foreign-types-0.3.2
+CARGO_CRATE_DEPENDS+=  foreign-types-shared-0.1.1
+CARGO_CRATE_DEPENDS+=  fuchsia-cprng-0.1.1
+CARGO_CRATE_DEPENDS+=  fuchsia-zircon-0.3.3
+CARGO_CRATE_DEPENDS+=  fuchsia-zircon-sys-0.3.3
+CARGO_CRATE_DEPENDS+=  futures-0.1.29
+CARGO_CRATE_DEPENDS+=  futures-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-channel-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-core-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-cpupool-0.1.8
+CARGO_CRATE_DEPENDS+=  futures-executor-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-io-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-macro-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-sink-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-task-0.3.5
+CARGO_CRATE_DEPENDS+=  futures-util-0.3.5
+CARGO_CRATE_DEPENDS+=  generic-array-0.12.3
+CARGO_CRATE_DEPENDS+=  getrandom-0.1.14
+CARGO_CRATE_DEPENDS+=  gimli-0.22.0
+CARGO_CRATE_DEPENDS+=  glob-0.3.0
+CARGO_CRATE_DEPENDS+=  h2-0.1.26
+CARGO_CRATE_DEPENDS+=  h2-0.2.6
+CARGO_CRATE_DEPENDS+=  hashbrown-0.8.2
+CARGO_CRATE_DEPENDS+=  heck-0.3.1
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.15
+CARGO_CRATE_DEPENDS+=  hmac-0.7.1
+CARGO_CRATE_DEPENDS+=  http-0.1.21
+CARGO_CRATE_DEPENDS+=  http-0.2.1
+CARGO_CRATE_DEPENDS+=  http-body-0.1.0
+CARGO_CRATE_DEPENDS+=  http-body-0.3.1
+CARGO_CRATE_DEPENDS+=  httparse-1.3.4
+CARGO_CRATE_DEPENDS+=  humantime-1.3.0
+CARGO_CRATE_DEPENDS+=  hyper-0.11.27
+CARGO_CRATE_DEPENDS+=  hyper-0.12.35
+CARGO_CRATE_DEPENDS+=  hyper-0.13.7
+CARGO_CRATE_DEPENDS+=  hyper-proxy-0.4.1
+CARGO_CRATE_DEPENDS+=  hyper-tls-0.3.2
+CARGO_CRATE_DEPENDS+=  hyper-tls-0.4.3
+CARGO_CRATE_DEPENDS+=  ident_case-1.0.1
+CARGO_CRATE_DEPENDS+=  idna-0.1.5
+CARGO_CRATE_DEPENDS+=  idna-0.2.0
+CARGO_CRATE_DEPENDS+=  indexmap-1.5.1
+CARGO_CRATE_DEPENDS+=  iovec-0.1.4
+CARGO_CRATE_DEPENDS+=  ipnet-2.3.0
+CARGO_CRATE_DEPENDS+=  itertools-0.8.2
+CARGO_CRATE_DEPENDS+=  itoa-0.4.6
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.44
+CARGO_CRATE_DEPENDS+=  kernel32-sys-0.2.2
+CARGO_CRATE_DEPENDS+=  language-tags-0.2.2
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  lazycell-1.3.0
+CARGO_CRATE_DEPENDS+=  lewton-0.9.4
+CARGO_CRATE_DEPENDS+=  libc-0.2.74
+CARGO_CRATE_DEPENDS+=  libdbus-sys-0.2.1
+CARGO_CRATE_DEPENDS+=  libloading-0.5.2
+CARGO_CRATE_DEPENDS+=  libm-0.2.1
+CARGO_CRATE_DEPENDS+=  libpulse-sys-0.0.0
+CARGO_CRATE_DEPENDS+=  librespot-audio-0.1.3
+CARGO_CRATE_DEPENDS+=  librespot-core-0.1.3
+CARGO_CRATE_DEPENDS+=  librespot-metadata-0.1.3
+CARGO_CRATE_DEPENDS+=  librespot-playback-0.1.3
+CARGO_CRATE_DEPENDS+=  librespot-protocol-0.1.3
+CARGO_CRATE_DEPENDS+=  linear-map-1.2.0
+CARGO_CRATE_DEPENDS+=  lock_api-0.3.4
+CARGO_CRATE_DEPENDS+=  log-0.3.9
+CARGO_CRATE_DEPENDS+=  log-0.4.11
+CARGO_CRATE_DEPENDS+=  malloc_buf-0.0.6
+CARGO_CRATE_DEPENDS+=  maplit-1.0.2
+CARGO_CRATE_DEPENDS+=  matches-0.1.8
+CARGO_CRATE_DEPENDS+=  matrixmultiply-0.2.3
+CARGO_CRATE_DEPENDS+=  maybe-uninit-2.0.0
+CARGO_CRATE_DEPENDS+=  memchr-2.3.3
+CARGO_CRATE_DEPENDS+=  memoffset-0.5.5
+CARGO_CRATE_DEPENDS+=  mime-0.3.16
+CARGO_CRATE_DEPENDS+=  mime_guess-2.0.3
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.4.0
+CARGO_CRATE_DEPENDS+=  mio-0.6.22
+CARGO_CRATE_DEPENDS+=  mio-uds-0.6.8
+CARGO_CRATE_DEPENDS+=  miow-0.2.1
+CARGO_CRATE_DEPENDS+=  nalgebra-0.18.1
+CARGO_CRATE_DEPENDS+=  native-tls-0.2.4
+CARGO_CRATE_DEPENDS+=  ncurses-5.99.0
+CARGO_CRATE_DEPENDS+=  net2-0.2.34
+CARGO_CRATE_DEPENDS+=  nix-0.9.0
+CARGO_CRATE_DEPENDS+=  nom-5.1.2
+CARGO_CRATE_DEPENDS+=  num-0.3.0
+CARGO_CRATE_DEPENDS+=  num-bigint-0.2.6
+CARGO_CRATE_DEPENDS+=  num-complex-0.2.4
+CARGO_CRATE_DEPENDS+=  num-complex-0.3.0
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.43
+CARGO_CRATE_DEPENDS+=  num-iter-0.1.41
+CARGO_CRATE_DEPENDS+=  num-rational-0.2.4
+CARGO_CRATE_DEPENDS+=  num-rational-0.3.0
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.12
+CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
+CARGO_CRATE_DEPENDS+=  numtoa-0.1.0
+CARGO_CRATE_DEPENDS+=  objc-0.2.7
+CARGO_CRATE_DEPENDS+=  objc-foundation-0.1.1
+CARGO_CRATE_DEPENDS+=  objc_id-0.1.1
+CARGO_CRATE_DEPENDS+=  object-0.20.0
+CARGO_CRATE_DEPENDS+=  ogg-0.7.0
+CARGO_CRATE_DEPENDS+=  once_cell-1.4.0
+CARGO_CRATE_DEPENDS+=  opaque-debug-0.2.3
+CARGO_CRATE_DEPENDS+=  openssl-0.10.30
+CARGO_CRATE_DEPENDS+=  openssl-probe-0.1.2
+CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.58
+CARGO_CRATE_DEPENDS+=  owning_ref-0.4.1
+CARGO_CRATE_DEPENDS+=  pancurses-0.16.1
+CARGO_CRATE_DEPENDS+=  parking_lot-0.9.0
+CARGO_CRATE_DEPENDS+=  parking_lot_core-0.6.2
+CARGO_CRATE_DEPENDS+=  pbkdf2-0.3.0
+CARGO_CRATE_DEPENDS+=  pdcurses-sys-0.7.1
+CARGO_CRATE_DEPENDS+=  peeking_take_while-0.1.2
+CARGO_CRATE_DEPENDS+=  percent-encoding-1.0.1
+CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+=  pin-project-0.4.23
+CARGO_CRATE_DEPENDS+=  pin-project-internal-0.4.23
+CARGO_CRATE_DEPENDS+=  pin-project-lite-0.1.7
+CARGO_CRATE_DEPENDS+=  pin-utils-0.1.0
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.18
+CARGO_CRATE_DEPENDS+=  portaudio-rs-0.3.2
+CARGO_CRATE_DEPENDS+=  portaudio-sys-0.1.1
+CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.8
+CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.18
+CARGO_CRATE_DEPENDS+=  proc-macro-nested-0.1.6
+CARGO_CRATE_DEPENDS+=  proc-macro2-0.4.30
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.19
+CARGO_CRATE_DEPENDS+=  protobuf-2.14.0
+CARGO_CRATE_DEPENDS+=  protobuf-codegen-2.14.0
+CARGO_CRATE_DEPENDS+=  protobuf-codegen-pure-2.14.0
+CARGO_CRATE_DEPENDS+=  publicsuffix-1.5.4
+CARGO_CRATE_DEPENDS+=  quick-error-1.2.3
+CARGO_CRATE_DEPENDS+=  quote-0.6.13
+CARGO_CRATE_DEPENDS+=  quote-1.0.7
+CARGO_CRATE_DEPENDS+=  rand-0.3.23
+CARGO_CRATE_DEPENDS+=  rand-0.4.6
+CARGO_CRATE_DEPENDS+=  rand-0.5.6
+CARGO_CRATE_DEPENDS+=  rand-0.6.5
+CARGO_CRATE_DEPENDS+=  rand-0.7.3
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.1.1
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.2.2
+CARGO_CRATE_DEPENDS+=  rand_core-0.3.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.4.2
+CARGO_CRATE_DEPENDS+=  rand_core-0.5.1
+CARGO_CRATE_DEPENDS+=  rand_hc-0.1.0
+CARGO_CRATE_DEPENDS+=  rand_hc-0.2.0
+CARGO_CRATE_DEPENDS+=  rand_isaac-0.1.1
+CARGO_CRATE_DEPENDS+=  rand_jitter-0.1.4
+CARGO_CRATE_DEPENDS+=  rand_os-0.1.3
+CARGO_CRATE_DEPENDS+=  rand_pcg-0.1.2
+CARGO_CRATE_DEPENDS+=  rand_xorshift-0.1.1
+CARGO_CRATE_DEPENDS+=  random-0.12.2
+CARGO_CRATE_DEPENDS+=  rawpointer-0.2.1
+CARGO_CRATE_DEPENDS+=  rdrand-0.4.0
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.57
+CARGO_CRATE_DEPENDS+=  redox_termios-0.1.1
+CARGO_CRATE_DEPENDS+=  redox_users-0.3.4
+CARGO_CRATE_DEPENDS+=  regex-1.3.9
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.18
+CARGO_CRATE_DEPENDS+=  relay-0.1.1
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+=  reqwest-0.10.7
+CARGO_CRATE_DEPENDS+=  reqwest-0.9.24
+CARGO_CRATE_DEPENDS+=  rodio-0.9.0
+CARGO_CRATE_DEPENDS+=  rspotify-0.10.0
+CARGO_CRATE_DEPENDS+=  rust-argon2-0.7.0
+CARGO_CRATE_DEPENDS+=  rustc-demangle-0.1.16
+CARGO_CRATE_DEPENDS+=  rustc-hash-1.1.0



Home | Main Index | Thread Index | Old Index