pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/ncspot
Module Name: pkgsrc
Committed By: pin
Date: Thu Aug 20 16:24:59 UTC 2020
Added Files:
pkgsrc/audio/ncspot: DESCR Makefile PLIST
pkgsrc/audio/ncspot/patches: patch-Cargo.toml
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ncspot/DESCR pkgsrc/audio/ncspot/Makefile \
pkgsrc/audio/ncspot/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/ncspot/patches/patch-Cargo.toml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/audio/ncspot/DESCR
diff -u /dev/null pkgsrc/audio/ncspot/DESCR:1.1
--- /dev/null Thu Aug 20 16:24:59 2020
+++ pkgsrc/audio/ncspot/DESCR Thu Aug 20 16:24:59 2020
@@ -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.
Index: pkgsrc/audio/ncspot/Makefile
diff -u /dev/null pkgsrc/audio/ncspot/Makefile:1.1
--- /dev/null Thu Aug 20 16:24:59 2020
+++ pkgsrc/audio/ncspot/Makefile Thu Aug 20 16:24:59 2020
@@ -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
+CARGO_CRATE_DEPENDS+= rustc-serialize-0.3.24
+CARGO_CRATE_DEPENDS+= rustc_version-0.2.3
+CARGO_CRATE_DEPENDS+= ryu-1.0.5
+CARGO_CRATE_DEPENDS+= safemem-0.3.3
+CARGO_CRATE_DEPENDS+= schannel-0.1.19
+CARGO_CRATE_DEPENDS+= scoped-tls-0.1.2
+CARGO_CRATE_DEPENDS+= scopeguard-1.1.0
+CARGO_CRATE_DEPENDS+= security-framework-0.4.4
+CARGO_CRATE_DEPENDS+= security-framework-sys-0.4.3
+CARGO_CRATE_DEPENDS+= semver-0.9.0
+CARGO_CRATE_DEPENDS+= semver-parser-0.7.0
+CARGO_CRATE_DEPENDS+= serde-1.0.115
+CARGO_CRATE_DEPENDS+= serde_derive-1.0.115
+CARGO_CRATE_DEPENDS+= serde_json-1.0.57
+CARGO_CRATE_DEPENDS+= serde_urlencoded-0.5.5
+CARGO_CRATE_DEPENDS+= serde_urlencoded-0.6.1
+CARGO_CRATE_DEPENDS+= sha-1-0.8.2
+CARGO_CRATE_DEPENDS+= sha2-0.8.2
+CARGO_CRATE_DEPENDS+= shannon-0.2.0
+CARGO_CRATE_DEPENDS+= shell-words-0.1.0
+CARGO_CRATE_DEPENDS+= shlex-0.1.1
+CARGO_CRATE_DEPENDS+= signal-hook-0.1.16
+CARGO_CRATE_DEPENDS+= signal-hook-registry-1.2.1
+CARGO_CRATE_DEPENDS+= slab-0.3.0
+CARGO_CRATE_DEPENDS+= slab-0.4.2
+CARGO_CRATE_DEPENDS+= smallvec-0.2.1
+CARGO_CRATE_DEPENDS+= smallvec-0.6.13
+CARGO_CRATE_DEPENDS+= socket2-0.3.12
+CARGO_CRATE_DEPENDS+= stable_deref_trait-1.2.0
+CARGO_CRATE_DEPENDS+= stdweb-0.1.3
+CARGO_CRATE_DEPENDS+= stream-cipher-0.3.2
+CARGO_CRATE_DEPENDS+= string-0.2.1
+CARGO_CRATE_DEPENDS+= strsim-0.7.0
+CARGO_CRATE_DEPENDS+= strsim-0.8.0
+CARGO_CRATE_DEPENDS+= strsim-0.9.3
+CARGO_CRATE_DEPENDS+= strum-0.17.1
+CARGO_CRATE_DEPENDS+= strum_macros-0.17.1
+CARGO_CRATE_DEPENDS+= subtle-1.0.0
+CARGO_CRATE_DEPENDS+= syn-0.15.44
+CARGO_CRATE_DEPENDS+= syn-1.0.38
+CARGO_CRATE_DEPENDS+= synstructure-0.12.4
+CARGO_CRATE_DEPENDS+= take-0.1.0
+CARGO_CRATE_DEPENDS+= tempfile-3.1.0
+CARGO_CRATE_DEPENDS+= term_size-0.3.2
+CARGO_CRATE_DEPENDS+= termcolor-1.1.0
+CARGO_CRATE_DEPENDS+= termion-1.5.5
+CARGO_CRATE_DEPENDS+= textwrap-0.11.0
+CARGO_CRATE_DEPENDS+= thiserror-1.0.20
+CARGO_CRATE_DEPENDS+= thiserror-impl-1.0.20
+CARGO_CRATE_DEPENDS+= thread_local-1.0.1
+CARGO_CRATE_DEPENDS+= time-0.1.43
+CARGO_CRATE_DEPENDS+= tinyvec-0.3.3
+CARGO_CRATE_DEPENDS+= tokio-0.1.22
+CARGO_CRATE_DEPENDS+= tokio-0.2.22
+CARGO_CRATE_DEPENDS+= tokio-buf-0.1.1
+CARGO_CRATE_DEPENDS+= tokio-codec-0.1.2
+CARGO_CRATE_DEPENDS+= tokio-core-0.1.17
+CARGO_CRATE_DEPENDS+= tokio-current-thread-0.1.7
+CARGO_CRATE_DEPENDS+= tokio-executor-0.1.10
+CARGO_CRATE_DEPENDS+= tokio-fs-0.1.7
+CARGO_CRATE_DEPENDS+= tokio-io-0.1.13
+CARGO_CRATE_DEPENDS+= tokio-proto-0.1.1
+CARGO_CRATE_DEPENDS+= tokio-reactor-0.1.12
+CARGO_CRATE_DEPENDS+= tokio-service-0.1.0
+CARGO_CRATE_DEPENDS+= tokio-socks-0.2.2
+CARGO_CRATE_DEPENDS+= tokio-sync-0.1.8
+CARGO_CRATE_DEPENDS+= tokio-tcp-0.1.4
+CARGO_CRATE_DEPENDS+= tokio-threadpool-0.1.18
+CARGO_CRATE_DEPENDS+= tokio-timer-0.2.13
+CARGO_CRATE_DEPENDS+= tokio-tls-0.3.1
+CARGO_CRATE_DEPENDS+= tokio-udp-0.1.6
+CARGO_CRATE_DEPENDS+= tokio-uds-0.2.7
+CARGO_CRATE_DEPENDS+= tokio-util-0.3.1
+CARGO_CRATE_DEPENDS+= toml-0.5.6
+CARGO_CRATE_DEPENDS+= tower-service-0.3.0
+CARGO_CRATE_DEPENDS+= tracing-0.1.19
+CARGO_CRATE_DEPENDS+= tracing-core-0.1.14
+CARGO_CRATE_DEPENDS+= try-lock-0.1.0
+CARGO_CRATE_DEPENDS+= try-lock-0.2.3
+CARGO_CRATE_DEPENDS+= try_from-0.3.2
+CARGO_CRATE_DEPENDS+= typenum-1.12.0
+CARGO_CRATE_DEPENDS+= unicase-2.6.0
+CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.4
+CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.13
+CARGO_CRATE_DEPENDS+= unicode-segmentation-1.6.0
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+= unicode-xid-0.1.0
+CARGO_CRATE_DEPENDS+= unicode-xid-0.2.1
+CARGO_CRATE_DEPENDS+= url-1.7.2
+CARGO_CRATE_DEPENDS+= url-2.1.1
+CARGO_CRATE_DEPENDS+= uuid-0.7.4
+CARGO_CRATE_DEPENDS+= vcpkg-0.2.10
+CARGO_CRATE_DEPENDS+= vec_map-0.8.2
+CARGO_CRATE_DEPENDS+= vergen-3.1.0
+CARGO_CRATE_DEPENDS+= version_check-0.9.2
+CARGO_CRATE_DEPENDS+= void-1.0.2
+CARGO_CRATE_DEPENDS+= want-0.0.4
+CARGO_CRATE_DEPENDS+= want-0.2.0
+CARGO_CRATE_DEPENDS+= want-0.3.0
+CARGO_CRATE_DEPENDS+= wasi-0.9.0+wasi-snapshot-preview1
+CARGO_CRATE_DEPENDS+= wasm-bindgen-0.2.67
+CARGO_CRATE_DEPENDS+= wasm-bindgen-backend-0.2.67
+CARGO_CRATE_DEPENDS+= wasm-bindgen-futures-0.4.17
+CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-0.2.67
+CARGO_CRATE_DEPENDS+= wasm-bindgen-macro-support-0.2.67
+CARGO_CRATE_DEPENDS+= wasm-bindgen-shared-0.2.67
+CARGO_CRATE_DEPENDS+= web-sys-0.3.44
+CARGO_CRATE_DEPENDS+= webbrowser-0.5.5
+CARGO_CRATE_DEPENDS+= widestring-0.4.2
+CARGO_CRATE_DEPENDS+= winapi-0.2.8
+CARGO_CRATE_DEPENDS+= winapi-0.3.9
+CARGO_CRATE_DEPENDS+= winapi-build-0.1.1
+CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= winapi-util-0.1.5
+CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= winreg-0.5.1
+CARGO_CRATE_DEPENDS+= winreg-0.6.2
+CARGO_CRATE_DEPENDS+= winreg-0.7.0
+CARGO_CRATE_DEPENDS+= ws2_32-sys-0.2.1
+CARGO_CRATE_DEPENDS+= x11-clipboard-0.3.3
+CARGO_CRATE_DEPENDS+= xcb-0.8.2
+CARGO_CRATE_DEPENDS+= xi-unicode-0.2.1
+
+INSTALLATION_DIRS= bin
+
+MAKE_ENV+= OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.ncursesw}/lib
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.portaudio}/${BUILDLINK_LIBDIRS.portaudio}
+MAKE_ENV+= RUSTFLAGS=${RUSTFLAGS:Q}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/ncspot ${DESTDIR}${PREFIX}/bin
+
+.include "../../audio/portaudio/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libxcb?= build
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/ncspot/PLIST
diff -u /dev/null pkgsrc/audio/ncspot/PLIST:1.1
--- /dev/null Thu Aug 20 16:24:59 2020
+++ pkgsrc/audio/ncspot/PLIST Thu Aug 20 16:24:59 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/20 16:24:59 pin Exp $
+bin/ncspot
Index: pkgsrc/audio/ncspot/patches/patch-Cargo.toml
diff -u /dev/null pkgsrc/audio/ncspot/patches/patch-Cargo.toml:1.1
--- /dev/null Thu Aug 20 16:24:59 2020
+++ pkgsrc/audio/ncspot/patches/patch-Cargo.toml Thu Aug 20 16:24:59 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-Cargo.toml,v 1.1 2020/08/20 16:24:59 pin Exp $
+
+Use portaudio by default
+
+--- Cargo.toml.orig 2020-07-17 22:02:08.000000000 +0000
++++ Cargo.toml
+@@ -48,11 +48,5 @@ version = "0.15"
+ default-features = false
+
+ [features]
+-share_clipboard = ["clipboard"]
+-alsa_backend = ["librespot-playback/alsa-backend"]
+-pulseaudio_backend = ["librespot-playback/pulseaudio-backend"]
+-rodio_backend = ["librespot-playback/rodio-backend"]
+ portaudio_backend = ["librespot-playback/portaudio-backend"]
+-termion_backend = ["cursive/termion-backend"]
+-mpris = ["dbus"]
+-default = ["share_clipboard", "pulseaudio_backend", "mpris", "cursive/pancurses-backend"]
++default = ["portaudio_backend", "cursive/pancurses-backend"]
Home |
Main Index |
Thread Index |
Old Index