blob: 449fb7aa50041bbfe593393cdd385bfe616dcd68 (
plain) (
tree)
|
|
PORTNAME= ncspot
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.7
PORTREVISION= 3
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= aes-0.6.0 \
aes-ctr-0.6.0 \
aes-soft-0.6.4 \
aesni-0.10.0 \
ahash-0.7.6 \
aho-corasick-0.7.18 \
alsa-0.5.0 \
alsa-0.6.0 \
alsa-sys-0.3.1 \
async-trait-0.1.52 \
atty-0.2.14 \
autocfg-1.1.0 \
base-x-0.2.8 \
base64-0.13.0 \
bindgen-0.56.0 \
bitflags-1.3.2 \
block-0.1.6 \
block-buffer-0.9.0 \
block-buffer-0.10.2 \
bumpalo-3.9.1 \
bytecount-0.6.2 \
byteorder-1.4.3 \
bytes-1.1.0 \
cc-1.0.73 \
cesu8-1.1.0 \
cexpr-0.4.0 \
cfg-if-1.0.0 \
chrono-0.4.19 \
chunked_transfer-1.4.0 \
cipher-0.2.5 \
clang-sys-1.3.1 \
clap-3.1.6 \
clipboard-0.5.0 \
clipboard-win-2.2.0 \
combine-4.6.3 \
const_fn-0.4.9 \
convert_case-0.4.0 \
cookie-0.15.1 \
cookie_store-0.15.1 \
core-foundation-0.9.3 \
core-foundation-sys-0.8.3 \
coreaudio-rs-0.10.0 \
coreaudio-sys-0.2.9 \
cpal-0.13.5 \
cpufeatures-0.2.2 \
crossbeam-channel-0.5.4 \
crossbeam-utils-0.8.8 \
crypto-common-0.1.3 \
crypto-mac-0.11.1 \
ctr-0.6.0 \
cursive-0.17.0 \
cursive_core-0.3.1 \
darling-0.13.1 \
darling_core-0.13.1 \
darling_macro-0.13.1 \
dbus-0.9.5 \
dbus-tree-0.9.2 \
derive-new-0.5.9 \
derive_more-0.99.17 \
digest-0.9.0 \
digest-0.10.3 \
dirs-next-1.0.2 \
dirs-next-2.0.0 \
dirs-sys-next-0.1.2 \
discard-1.0.4 \
downcast-rs-1.2.0 \
encoding_rs-0.8.30 \
enum-map-2.0.3 \
enum-map-derive-0.8.0 \
enumset-1.0.8 \
enumset_derive-0.5.5 \
fastrand-1.7.0 \
fern-0.6.0 \
fixedbitset-0.4.1 \
fnv-1.0.7 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
form_urlencoded-1.0.1 \
futures-0.1.31 \
futures-0.3.21 \
futures-channel-0.3.21 \
futures-core-0.3.21 \
futures-executor-0.3.21 \
futures-io-0.3.21 \
futures-macro-0.3.21 \
futures-sink-0.3.21 \
futures-task-0.3.21 \
futures-util-0.3.21 \
generic-array-0.14.5 \
getrandom-0.2.5 \
glob-0.3.0 \
h2-0.3.12 \
half-1.8.2 \
hashbrown-0.11.2 \
headers-0.3.7 \
headers-core-0.2.0 \
heck-0.3.3 \
heck-0.4.0 \
hermit-abi-0.1.19 \
hmac-0.11.0 \
http-0.2.6 \
http-body-0.4.4 \
httparse-1.6.0 \
httpdate-1.0.2 \
hyper-0.14.18 \
hyper-proxy-0.9.1 \
hyper-tls-0.5.0 \
ident_case-1.0.1 \
idna-0.2.3 \
indexmap-1.8.0 \
instant-0.1.12 \
ioctl-rs-0.2.0 \
ipnet-2.4.0 \
itoa-1.0.1 \
jni-0.19.0 \
jni-sys-0.3.0 \
jobserver-0.1.24 \
js-sys-0.3.56 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
lewton-0.10.2 \
libc-0.2.121 \
libdbus-sys-0.2.2 \
libloading-0.7.3 \
libm-0.2.2 \
libpulse-binding-2.26.0 \
libpulse-simple-binding-2.25.0 \
libpulse-simple-sys-1.19.2 \
libpulse-sys-1.19.3 \
librespot-audio-0.3.1 \
librespot-core-0.3.1 \
librespot-metadata-0.3.1 \
librespot-playback-0.3.1 \
librespot-protocol-0.3.1 \
lock_api-0.4.6 \
log-0.4.16 \
mac-notification-sys-0.5.0 \
mach-0.3.2 \
malloc_buf-0.0.6 \
maplit-1.0.2 \
matches-0.1.9 \
maybe-async-0.2.6 \
memchr-2.4.1 \
memoffset-0.6.5 \
mime-0.3.16 \
minimal-lexical-0.2.1 \
mio-0.8.2 \
miow-0.3.7 \
native-tls-0.2.8 \
ncurses-5.101.0 \
ndk-0.6.0 \
ndk-context-0.1.0 \
ndk-glue-0.6.1 \
ndk-macro-0.3.0 \
ndk-sys-0.3.0 \
nix-0.20.0 \
nix-0.22.3 \
nix-0.23.1 \
nom-5.1.2 \
nom-7.1.1 \
notify-rust-4.5.7 \
ntapi-0.3.7 \
num-0.2.1 \
num-0.4.0 \
num-bigint-0.2.6 \
num-bigint-0.4.3 \
num-complex-0.2.4 \
num-complex-0.4.0 \
num-derive-0.3.3 \
num-integer-0.1.44 \
num-iter-0.1.42 \
num-rational-0.2.4 \
num-rational-0.4.0 \
num-traits-0.2.14 \
num_cpus-1.13.1 \
num_enum-0.5.7 \
num_enum_derive-0.5.7 \
num_threads-0.1.5 \
numtoa-0.1.0 \
objc-0.2.7 \
objc-foundation-0.1.1 \
objc_id-0.1.1 \
oboe-0.4.5 \
oboe-sys-0.4.5 \
ogg-0.8.0 \
once_cell-1.10.0 \
opaque-debug-0.3.0 \
openssl-0.10.38 \
openssl-probe-0.1.5 \
openssl-sys-0.9.72 \
os_pipe-1.0.1 \
os_str_bytes-6.0.0 \
owning_ref-0.4.1 \
pancurses-0.17.0 \
parking_lot-0.11.2 \
parking_lot_core-0.8.5 \
parse_duration-2.1.1 \
pbkdf2-0.8.0 \
pdcurses-sys-0.7.1 \
peeking_take_while-0.1.2 \
percent-encoding-2.1.0 \
petgraph-0.6.0 \
pin-project-lite-0.2.8 \
pin-utils-0.1.0 \
pkg-config-0.3.24 \
platform-dirs-0.3.0 \
portaudio-rs-0.3.2 \
portaudio-sys-0.1.1 \
ppv-lite86-0.2.16 \
priority-queue-1.2.1 \
proc-macro-crate-1.1.3 \
proc-macro-hack-0.5.19 \
proc-macro2-1.0.36 \
protobuf-2.27.1 \
protobuf-codegen-2.27.1 \
protobuf-codegen-pure-2.27.1 \
psl-types-2.0.10 \
publicsuffix-2.1.1 \
quote-1.0.16 \
rand-0.8.5 \
rand_chacha-0.3.1 \
rand_core-0.6.3 \
rand_distr-0.4.3 \
redox_syscall-0.2.11 \
redox_termios-0.1.2 \
redox_users-0.4.2 \
regex-1.5.5 \
regex-syntax-0.6.25 \
remove_dir_all-0.5.3 \
reqwest-0.11.10 \
ring-0.16.20 \
rodio-0.14.0 \
rspotify-0.11.4 \
rspotify-http-0.11.4 \
rspotify-macros-0.11.4 \
rspotify-model-0.11.4 \
rustc-hash-1.1.0 \
rustc-serialize-0.3.24 \
rustc_version-0.2.3 \
rustc_version-0.4.0 \
rustls-0.20.4 \
rustversion-1.0.6 \
ryu-1.0.9 \
same-file-1.0.6 \
schannel-0.1.19 \
scopeguard-1.1.0 \
sct-0.7.0 \
security-framework-2.6.1 \
security-framework-sys-2.6.1 \
semver-0.9.0 \
semver-1.0.6 \
semver-parser-0.7.0 \
serde-1.0.136 \
serde_cbor-0.11.2 \
serde_derive-1.0.136 \
serde_json-1.0.79 \
serde_urlencoded-0.7.1 \
sha-1-0.9.8 \
sha-1-0.10.0 \
sha1-0.6.1 \
sha1_smol-1.0.0 \
sha2-0.10.2 \
shannon-0.2.0 \
shell-words-1.1.0 \
shlex-0.1.1 \
signal-hook-0.3.13 \
signal-hook-registry-1.4.0 \
slab-0.4.5 \
smallvec-1.8.0 \
socket2-0.4.4 \
spin-0.5.2 \
stable_deref_trait-1.2.0 \
standback-0.2.17 \
stdweb-0.1.3 \
stdweb-0.4.20 \
stdweb-derive-0.5.3 \
stdweb-internal-macros-0.2.9 \
stdweb-internal-runtime-0.1.5 \
strsim-0.10.0 \
strum-0.22.0 \
strum-0.24.0 \
strum_macros-0.22.0 \
strum_macros-0.24.0 \
subtle-2.4.1 \
syn-1.0.89 \
synstructure-0.12.6 \
tempfile-3.3.0 \
term_size-0.3.2 \
termcolor-1.1.3 \
termion-1.5.6 \
textwrap-0.15.0 \
thiserror-1.0.30 \
thiserror-impl-1.0.30 \
time-0.1.44 \
time-0.2.27 \
time-0.3.9 \
time-macros-0.1.1 \
time-macros-impl-0.1.2 \
tinyvec-1.5.1 \
tinyvec_macros-0.1.0 \
tokio-1.17.0 \
tokio-macros-1.7.0 \
tokio-native-tls-0.3.0 \
tokio-stream-0.1.8 \
tokio-util-0.6.9 \
toml-0.5.8 \
tower-service-0.3.1 \
tracing-0.1.32 \
tracing-core-0.1.23 \
tree_magic_mini-3.0.3 \
try-lock-0.2.3 \
typenum-1.15.0 \
unicode-bidi-0.3.7 \
unicode-normalization-0.1.19 \
unicode-segmentation-1.9.0 \
unicode-width-0.1.9 \
unicode-xid-0.2.2 \
untrusted-0.7.1 \
ureq-2.4.0 \
url-2.2.2 \
uuid-0.8.2 \
vcpkg-0.2.15 \
vergen-3.2.0 \
version_check-0.9.4 \
walkdir-2.3.2 \
want-0.3.0 \
wasi-0.10.0+wasi-snapshot-preview1 \
wasi-0.11.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.79 \
wasm-bindgen-backend-0.2.79 \
wasm-bindgen-futures-0.4.29 \
wasm-bindgen-macro-0.2.79 \
wasm-bindgen-macro-support-0.2.79 \
wasm-bindgen-shared-0.2.79 \
wayland-client-0.29.4 \
wayland-commons-0.29.4 \
wayland-protocols-0.29.4 \
wayland-scanner-0.29.4 \
wayland-sys-0.29.4 \
web-sys-0.3.56 \
webbrowser-0.6.0 \
webpki-0.22.0 \
webpki-roots-0.22.2 \
widestring-0.5.1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-0.24.0 \
windows_i686_gnu-0.24.0 \
windows_i686_msvc-0.24.0 \
windows_x86_64_gnu-0.24.0 \
windows_x86_64_msvc-0.24.0 \
winreg-0.5.1 \
winreg-0.10.1 \
winrt-notification-0.5.1 \
wl-clipboard-rs-0.6.0 \
x11-clipboard-0.3.3 \
xcb-0.8.2 \
xi-unicode-0.3.0 \
xml-rs-0.8.4 \
zerocopy-0.3.0 \
zerocopy-derive-0.2.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>
|