mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
462 lines
9.6 KiB
Makefile
462 lines
9.6 KiB
Makefile
PORTNAME= ncspot
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.9.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= Ncurses Spotify client
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libdbus-1.so:devel/dbus
|
|
|
|
USES= cargo ncurses ssl
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hrkfdn
|
|
|
|
CARGO_CRATES= addr2line-0.16.0 \
|
|
adler-1.0.2 \
|
|
aes-0.6.0 \
|
|
aes-ctr-0.6.0 \
|
|
aes-soft-0.6.4 \
|
|
aesni-0.10.0 \
|
|
ahash-0.6.3 \
|
|
aho-corasick-0.7.18 \
|
|
alsa-0.5.0 \
|
|
alsa-sys-0.3.1 \
|
|
ansi_term-0.11.0 \
|
|
array-macro-1.0.5 \
|
|
arrayref-0.3.6 \
|
|
arrayvec-0.5.2 \
|
|
async-io-1.6.0 \
|
|
async-trait-0.1.51 \
|
|
atty-0.2.14 \
|
|
autocfg-0.1.7 \
|
|
autocfg-1.0.1 \
|
|
backtrace-0.3.61 \
|
|
base64-0.10.1 \
|
|
base64-0.13.0 \
|
|
bindgen-0.56.0 \
|
|
bitflags-1.3.2 \
|
|
blake2b_simd-0.5.11 \
|
|
block-0.1.6 \
|
|
block-buffer-0.9.0 \
|
|
bumpalo-3.7.1 \
|
|
byteorder-1.4.3 \
|
|
bytes-0.4.12 \
|
|
bytes-0.5.6 \
|
|
bytes-1.1.0 \
|
|
cache-padded-1.1.1 \
|
|
cc-1.0.71 \
|
|
cesu8-1.1.0 \
|
|
cexpr-0.4.0 \
|
|
cfg-if-0.1.10 \
|
|
cfg-if-1.0.0 \
|
|
chrono-0.4.19 \
|
|
cipher-0.2.5 \
|
|
clang-sys-1.2.2 \
|
|
clap-2.33.3 \
|
|
clipboard-0.5.0 \
|
|
clipboard-win-2.2.0 \
|
|
cloudabi-0.0.3 \
|
|
combine-4.6.1 \
|
|
concurrent-queue-1.2.2 \
|
|
const-sha1-0.2.0 \
|
|
constant_time_eq-0.1.5 \
|
|
core-foundation-0.9.2 \
|
|
core-foundation-sys-0.8.3 \
|
|
coreaudio-rs-0.10.0 \
|
|
coreaudio-sys-0.2.8 \
|
|
cpal-0.13.4 \
|
|
cpufeatures-0.2.1 \
|
|
crossbeam-channel-0.5.1 \
|
|
crossbeam-utils-0.8.5 \
|
|
crypto-mac-0.11.1 \
|
|
ctr-0.6.0 \
|
|
cursive-0.16.3 \
|
|
cursive_core-0.2.2 \
|
|
darling-0.9.0 \
|
|
darling-0.10.2 \
|
|
darling_core-0.9.0 \
|
|
darling_core-0.10.2 \
|
|
darling_macro-0.9.0 \
|
|
darling_macro-0.10.2 \
|
|
dbus-0.9.5 \
|
|
dbus-tree-0.9.2 \
|
|
derivative-2.2.0 \
|
|
derive_builder-0.7.2 \
|
|
derive_builder_core-0.5.0 \
|
|
digest-0.9.0 \
|
|
dirs-1.0.5 \
|
|
dirs-next-1.0.2 \
|
|
dirs-sys-next-0.1.2 \
|
|
dotenv-0.13.0 \
|
|
either-1.6.1 \
|
|
encoding_rs-0.8.28 \
|
|
enum-map-0.6.4 \
|
|
enum-map-derive-0.4.6 \
|
|
enumflags2-0.6.4 \
|
|
enumflags2_derive-0.6.4 \
|
|
env_logger-0.6.2 \
|
|
failure-0.1.8 \
|
|
failure_derive-0.1.8 \
|
|
fastrand-1.5.0 \
|
|
fern-0.6.0 \
|
|
fnv-1.0.7 \
|
|
foreign-types-0.3.2 \
|
|
foreign-types-shared-0.1.1 \
|
|
form_urlencoded-1.0.1 \
|
|
fuchsia-cprng-0.1.1 \
|
|
fuchsia-zircon-0.3.3 \
|
|
fuchsia-zircon-sys-0.3.3 \
|
|
futures-0.1.31 \
|
|
futures-0.3.17 \
|
|
futures-channel-0.3.17 \
|
|
futures-core-0.3.17 \
|
|
futures-executor-0.3.17 \
|
|
futures-io-0.3.17 \
|
|
futures-lite-1.12.0 \
|
|
futures-macro-0.3.17 \
|
|
futures-sink-0.3.17 \
|
|
futures-task-0.3.17 \
|
|
futures-util-0.3.17 \
|
|
generic-array-0.14.4 \
|
|
getrandom-0.1.16 \
|
|
getrandom-0.2.3 \
|
|
gimli-0.25.0 \
|
|
glob-0.3.0 \
|
|
h2-0.2.7 \
|
|
h2-0.3.6 \
|
|
half-1.8.0 \
|
|
hashbrown-0.11.2 \
|
|
headers-0.3.4 \
|
|
headers-core-0.2.0 \
|
|
heck-0.3.3 \
|
|
hermit-abi-0.1.19 \
|
|
hmac-0.11.0 \
|
|
http-0.2.5 \
|
|
http-body-0.3.1 \
|
|
http-body-0.4.3 \
|
|
httparse-1.5.1 \
|
|
httpdate-0.3.2 \
|
|
httpdate-1.0.1 \
|
|
humantime-1.3.0 \
|
|
hyper-0.13.10 \
|
|
hyper-0.14.13 \
|
|
hyper-proxy-0.9.1 \
|
|
hyper-tls-0.4.3 \
|
|
hyper-tls-0.5.0 \
|
|
ident_case-1.0.1 \
|
|
idna-0.1.5 \
|
|
idna-0.2.3 \
|
|
indexmap-1.7.0 \
|
|
instant-0.1.11 \
|
|
ioctl-rs-0.2.0 \
|
|
iovec-0.1.4 \
|
|
ipnet-2.3.1 \
|
|
itertools-0.8.2 \
|
|
itoa-0.4.8 \
|
|
jni-0.19.0 \
|
|
jni-sys-0.3.0 \
|
|
jobserver-0.1.24 \
|
|
js-sys-0.3.55 \
|
|
kernel32-sys-0.2.2 \
|
|
lazy_static-1.4.0 \
|
|
lazycell-1.3.0 \
|
|
lewton-0.10.2 \
|
|
libc-0.2.103 \
|
|
libdbus-sys-0.2.2 \
|
|
libloading-0.7.1 \
|
|
libm-0.2.1 \
|
|
libpulse-binding-2.25.0 \
|
|
libpulse-simple-binding-2.24.1 \
|
|
libpulse-simple-sys-1.19.1 \
|
|
libpulse-sys-1.19.2 \
|
|
librespot-audio-0.3.0 \
|
|
librespot-core-0.3.0 \
|
|
librespot-metadata-0.3.0 \
|
|
librespot-playback-0.3.0 \
|
|
librespot-protocol-0.3.0 \
|
|
lock_api-0.4.5 \
|
|
log-0.4.14 \
|
|
mac-notification-sys-0.3.0 \
|
|
mach-0.3.2 \
|
|
malloc_buf-0.0.6 \
|
|
maplit-1.0.2 \
|
|
matches-0.1.9 \
|
|
memchr-2.4.1 \
|
|
mime-0.3.16 \
|
|
mime_guess-2.0.3 \
|
|
miniz_oxide-0.4.4 \
|
|
mio-0.6.23 \
|
|
mio-0.7.13 \
|
|
miow-0.2.2 \
|
|
miow-0.3.7 \
|
|
native-tls-0.2.8 \
|
|
nb-connect-1.2.0 \
|
|
ncurses-5.101.0 \
|
|
ndk-0.3.0 \
|
|
ndk-0.4.0 \
|
|
ndk-glue-0.3.0 \
|
|
ndk-glue-0.4.0 \
|
|
ndk-macro-0.2.0 \
|
|
ndk-sys-0.2.1 \
|
|
net2-0.2.37 \
|
|
nix-0.17.0 \
|
|
nix-0.20.0 \
|
|
nom-5.1.2 \
|
|
notify-rust-4.5.4 \
|
|
ntapi-0.3.6 \
|
|
num-0.3.1 \
|
|
num-bigint-0.4.2 \
|
|
num-complex-0.3.1 \
|
|
num-derive-0.3.3 \
|
|
num-integer-0.1.44 \
|
|
num-iter-0.1.42 \
|
|
num-rational-0.3.2 \
|
|
num-traits-0.2.14 \
|
|
num_cpus-1.13.0 \
|
|
num_enum-0.5.4 \
|
|
num_enum_derive-0.5.4 \
|
|
numtoa-0.1.0 \
|
|
objc-0.2.7 \
|
|
objc-foundation-0.1.1 \
|
|
objc_id-0.1.1 \
|
|
object-0.26.2 \
|
|
oboe-0.4.4 \
|
|
oboe-sys-0.4.4 \
|
|
ogg-0.8.0 \
|
|
once_cell-1.8.0 \
|
|
opaque-debug-0.3.0 \
|
|
openssl-0.10.36 \
|
|
openssl-probe-0.1.4 \
|
|
openssl-sys-0.9.67 \
|
|
owning_ref-0.4.1 \
|
|
pancurses-0.16.1 \
|
|
pancurses-0.17.0 \
|
|
parking-2.0.0 \
|
|
parking_lot-0.11.2 \
|
|
parking_lot_core-0.8.5 \
|
|
pbkdf2-0.8.0 \
|
|
pdcurses-sys-0.7.1 \
|
|
peeking_take_while-0.1.2 \
|
|
percent-encoding-1.0.1 \
|
|
percent-encoding-2.1.0 \
|
|
pin-project-1.0.8 \
|
|
pin-project-internal-1.0.8 \
|
|
pin-project-lite-0.1.12 \
|
|
pin-project-lite-0.2.7 \
|
|
pin-utils-0.1.0 \
|
|
pkg-config-0.3.20 \
|
|
platform-dirs-0.3.0 \
|
|
polling-2.1.0 \
|
|
portaudio-rs-0.3.2 \
|
|
portaudio-sys-0.1.1 \
|
|
ppv-lite86-0.2.14 \
|
|
priority-queue-1.2.0 \
|
|
proc-macro-crate-0.1.5 \
|
|
proc-macro-crate-1.1.0 \
|
|
proc-macro-hack-0.5.19 \
|
|
proc-macro-nested-0.1.7 \
|
|
proc-macro2-0.4.30 \
|
|
proc-macro2-1.0.30 \
|
|
protobuf-2.25.1 \
|
|
protobuf-codegen-2.25.1 \
|
|
protobuf-codegen-pure-2.25.1 \
|
|
quick-error-1.2.3 \
|
|
quote-0.6.13 \
|
|
quote-1.0.10 \
|
|
rand-0.6.5 \
|
|
rand-0.8.4 \
|
|
rand_chacha-0.1.1 \
|
|
rand_chacha-0.3.1 \
|
|
rand_core-0.3.1 \
|
|
rand_core-0.4.2 \
|
|
rand_core-0.6.3 \
|
|
rand_distr-0.4.2 \
|
|
rand_hc-0.1.0 \
|
|
rand_hc-0.3.1 \
|
|
rand_isaac-0.1.1 \
|
|
rand_jitter-0.1.4 \
|
|
rand_os-0.1.3 \
|
|
rand_pcg-0.1.2 \
|
|
rand_xorshift-0.1.1 \
|
|
random-0.12.2 \
|
|
rdrand-0.4.0 \
|
|
redox_syscall-0.1.57 \
|
|
redox_syscall-0.2.10 \
|
|
redox_termios-0.1.2 \
|
|
redox_users-0.3.5 \
|
|
redox_users-0.4.0 \
|
|
regex-1.5.4 \
|
|
regex-syntax-0.6.25 \
|
|
remove_dir_all-0.5.3 \
|
|
reqwest-0.10.10 \
|
|
reqwest-0.11.5 \
|
|
rodio-0.14.0 \
|
|
rspotify-0.10.0 \
|
|
rust-argon2-0.8.3 \
|
|
rustc-demangle-0.1.21 \
|
|
rustc-hash-1.1.0 \
|
|
rustc-serialize-0.3.24 \
|
|
rustc_version-0.4.0 \
|
|
ryu-1.0.5 \
|
|
same-file-1.0.6 \
|
|
schannel-0.1.19 \
|
|
scoped-tls-1.0.0 \
|
|
scopeguard-1.1.0 \
|
|
security-framework-2.4.2 \
|
|
security-framework-sys-2.4.2 \
|
|
semver-1.0.4 \
|
|
serde-1.0.130 \
|
|
serde_cbor-0.11.2 \
|
|
serde_derive-1.0.130 \
|
|
serde_json-1.0.68 \
|
|
serde_repr-0.1.7 \
|
|
serde_urlencoded-0.7.0 \
|
|
sha-1-0.9.8 \
|
|
shannon-0.2.0 \
|
|
shell-words-1.0.0 \
|
|
shlex-0.1.1 \
|
|
signal-hook-0.3.10 \
|
|
signal-hook-registry-1.4.0 \
|
|
slab-0.4.5 \
|
|
smallvec-1.7.0 \
|
|
socket2-0.3.19 \
|
|
socket2-0.4.2 \
|
|
stable_deref_trait-1.2.0 \
|
|
static_assertions-1.1.0 \
|
|
stdweb-0.1.3 \
|
|
strsim-0.7.0 \
|
|
strsim-0.8.0 \
|
|
strsim-0.9.3 \
|
|
strum-0.21.0 \
|
|
strum-0.22.0 \
|
|
strum_macros-0.21.1 \
|
|
strum_macros-0.22.0 \
|
|
subtle-2.4.1 \
|
|
syn-0.15.44 \
|
|
syn-1.0.80 \
|
|
synstructure-0.12.6 \
|
|
tempfile-3.2.0 \
|
|
term_size-0.3.2 \
|
|
termcolor-1.1.2 \
|
|
termion-1.5.6 \
|
|
textwrap-0.11.0 \
|
|
thiserror-1.0.30 \
|
|
thiserror-impl-1.0.30 \
|
|
time-0.1.43 \
|
|
tinyvec-1.5.0 \
|
|
tinyvec_macros-0.1.0 \
|
|
tokio-0.2.25 \
|
|
tokio-1.12.0 \
|
|
tokio-macros-1.5.0 \
|
|
tokio-native-tls-0.3.0 \
|
|
tokio-socks-0.3.0 \
|
|
tokio-stream-0.1.7 \
|
|
tokio-tls-0.3.1 \
|
|
tokio-util-0.3.1 \
|
|
tokio-util-0.6.8 \
|
|
toml-0.5.8 \
|
|
tower-service-0.3.1 \
|
|
tracing-0.1.29 \
|
|
tracing-core-0.1.21 \
|
|
tracing-futures-0.2.5 \
|
|
try-lock-0.2.3 \
|
|
typenum-1.14.0 \
|
|
unicase-2.6.0 \
|
|
unicode-bidi-0.3.7 \
|
|
unicode-normalization-0.1.19 \
|
|
unicode-segmentation-1.8.0 \
|
|
unicode-width-0.1.9 \
|
|
unicode-xid-0.1.0 \
|
|
unicode-xid-0.2.2 \
|
|
url-1.7.2 \
|
|
url-2.2.2 \
|
|
uuid-0.8.2 \
|
|
vcpkg-0.2.15 \
|
|
vec_map-0.8.2 \
|
|
vergen-3.2.0 \
|
|
version_check-0.9.3 \
|
|
void-1.0.2 \
|
|
waker-fn-1.1.0 \
|
|
walkdir-2.3.2 \
|
|
want-0.3.0 \
|
|
wasi-0.9.0+wasi-snapshot-preview1 \
|
|
wasi-0.10.2+wasi-snapshot-preview1 \
|
|
wasm-bindgen-0.2.78 \
|
|
wasm-bindgen-backend-0.2.78 \
|
|
wasm-bindgen-futures-0.4.28 \
|
|
wasm-bindgen-macro-0.2.78 \
|
|
wasm-bindgen-macro-support-0.2.78 \
|
|
wasm-bindgen-shared-0.2.78 \
|
|
wasmer_enumset-1.0.1 \
|
|
wasmer_enumset_derive-0.5.0 \
|
|
web-sys-0.3.55 \
|
|
webbrowser-0.5.5 \
|
|
wepoll-ffi-0.1.2 \
|
|
widestring-0.4.3 \
|
|
winapi-0.2.8 \
|
|
winapi-0.3.9 \
|
|
winapi-build-0.1.1 \
|
|
winapi-i686-pc-windows-gnu-0.4.0 \
|
|
winapi-util-0.1.5 \
|
|
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
|
windows-0.21.1 \
|
|
windows_gen-0.21.1 \
|
|
windows_macros-0.21.1 \
|
|
windows_quote-0.21.1 \
|
|
windows_reader-0.21.1 \
|
|
winreg-0.5.1 \
|
|
winreg-0.7.0 \
|
|
winrt-notification-0.4.0 \
|
|
ws2_32-sys-0.2.1 \
|
|
x11-clipboard-0.3.3 \
|
|
xcb-0.8.2 \
|
|
xi-unicode-0.3.0 \
|
|
xml-rs-0.8.4 \
|
|
zbus-1.9.1 \
|
|
zbus_macros-1.9.1 \
|
|
zerocopy-0.3.0 \
|
|
zerocopy-derive-0.2.0 \
|
|
zvariant-2.9.0 \
|
|
zvariant_derive-2.9.0
|
|
|
|
CARGO_FEATURES= --no-default-features cursive/pancurses-backend
|
|
|
|
PLIST_FILES= bin/ncspot
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= CLIPBOARD DOCS MPRIS NOTIFY PORTAUDIO PULSEAUDIO
|
|
OPTIONS_DEFAULT= CLIPBOARD MPRIS NOTIFY PORTAUDIO
|
|
|
|
CLIPBOARD_DESC= Support for accessing X11 clipboard
|
|
MPRIS_DESC= D-Bus MPRIS support
|
|
|
|
CLIPBOARD_USES= python:3.6+,build xorg
|
|
CLIPBOARD_USE= XORG=xcb
|
|
CLIPBOARD_BINARY_ALIAS= python3=${PYTHON_CMD}
|
|
CLIPBOARD_VARS= CARGO_FEATURES+=share_clipboard
|
|
|
|
MPRIS_VARS= CARGO_FEATURES+=mpris
|
|
|
|
NOTIFY_VARS= CARGO_FEATURES+=notify
|
|
|
|
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
|
|
PORTAUDIO_VARS= CARGO_FEATURES+=portaudio_backend
|
|
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
|
PULSEAUDIO_USES= localbase:ldflags
|
|
PULSEAUDIO_VARS= CARGO_FEATURES+=pulseaudio_backend
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ncspot
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|