pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/librespot audio/librespot: simplify Makefile



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29ecd182a1aa
branches:  trunk
changeset: 441093:29ecd182a1aa
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Oct 26 08:29:15 2020 +0000

description:
audio/librespot: simplify Makefile

add cargo-depends.mk

diffstat:

 audio/librespot/Makefile         |  273 +--------------------------------------
 audio/librespot/cargo-depends.mk |  270 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 273 insertions(+), 270 deletions(-)

diffs (truncated from 564 to 300 lines):

diff -r f33a28a3b8d8 -r 29ecd182a1aa audio/librespot/Makefile
--- a/audio/librespot/Makefile  Mon Oct 26 08:19:36 2020 +0000
+++ b/audio/librespot/Makefile  Mon Oct 26 08:29:15 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/10/20 23:14:11 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2020/10/26 08:29:15 pin Exp $
 
 DISTNAME=      librespot-0.1.3
 CATEGORIES=    audio
@@ -13,278 +13,11 @@
 COMMENT=       Open Source Spotify client library
 LICENSE=       mit
 
+.include "cargo-depends.mk"
+
 USE_LANGUAGES+=                c # rust, but needs a toolchain to link
 USE_TOOLS+=            pkg-config
 
-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+=  alga-0.9.3
-CARGO_CRATE_DEPENDS+=  alsa-0.2.2
-CARGO_CRATE_DEPENDS+=  alsa-sys-0.1.2
-CARGO_CRATE_DEPENDS+=  approx-0.3.2
-CARGO_CRATE_DEPENDS+=  arc-swap-0.4.7
-CARGO_CRATE_DEPENDS+=  atty-0.2.14
-CARGO_CRATE_DEPENDS+=  autocfg-0.1.7
-CARGO_CRATE_DEPENDS+=  autocfg-1.0.0
-CARGO_CRATE_DEPENDS+=  base64-0.10.1
-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.7.0
-CARGO_CRATE_DEPENDS+=  bitflags-0.9.1
-CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
-CARGO_CRATE_DEPENDS+=  block-buffer-0.7.3
-CARGO_CRATE_DEPENDS+=  block-cipher-trait-0.6.2
-CARGO_CRATE_DEPENDS+=  block-modes-0.3.3
-CARGO_CRATE_DEPENDS+=  block-padding-0.1.5
-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+=  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+=  cloudabi-0.0.3
-CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.5.1
-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+=  crossbeam-deque-0.7.3
-CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.8.2
-CARGO_CRATE_DEPENDS+=  crossbeam-queue-0.1.2
-CARGO_CRATE_DEPENDS+=  crossbeam-queue-0.2.3
-CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.6.6
-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+=  digest-0.8.1
-CARGO_CRATE_DEPENDS+=  dns-sd-0.1.3
-CARGO_CRATE_DEPENDS+=  env_logger-0.6.2
-CARGO_CRATE_DEPENDS+=  error-chain-0.12.2
-CARGO_CRATE_DEPENDS+=  fake-simd-0.1.2
-CARGO_CRATE_DEPENDS+=  fnv-1.0.7
-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-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-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+=  gcc-0.3.55
-CARGO_CRATE_DEPENDS+=  generic-array-0.12.3
-CARGO_CRATE_DEPENDS+=  getopts-0.2.21
-CARGO_CRATE_DEPENDS+=  getrandom-0.1.14
-CARGO_CRATE_DEPENDS+=  glib-0.9.3
-CARGO_CRATE_DEPENDS+=  glib-sys-0.9.1
-CARGO_CRATE_DEPENDS+=  glob-0.3.0
-CARGO_CRATE_DEPENDS+=  gobject-sys-0.9.1
-CARGO_CRATE_DEPENDS+=  gstreamer-0.15.7
-CARGO_CRATE_DEPENDS+=  gstreamer-app-0.15.6
-CARGO_CRATE_DEPENDS+=  gstreamer-app-sys-0.8.1
-CARGO_CRATE_DEPENDS+=  gstreamer-base-0.15.4
-CARGO_CRATE_DEPENDS+=  gstreamer-base-sys-0.8.1
-CARGO_CRATE_DEPENDS+=  gstreamer-sys-0.8.1
-CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.15
-CARGO_CRATE_DEPENDS+=  hex-0.3.2
-CARGO_CRATE_DEPENDS+=  hmac-0.7.1
-CARGO_CRATE_DEPENDS+=  hostname-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-proxy-0.4.1
-CARGO_CRATE_DEPENDS+=  idna-0.1.5
-CARGO_CRATE_DEPENDS+=  if-addrs-0.6.4
-CARGO_CRATE_DEPENDS+=  if-addrs-sys-0.3.1
-CARGO_CRATE_DEPENDS+=  iovec-0.1.4
-CARGO_CRATE_DEPENDS+=  itoa-0.4.6
-CARGO_CRATE_DEPENDS+=  jack-0.5.7
-CARGO_CRATE_DEPENDS+=  jack-sys-0.2.0
-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.2.1
-CARGO_CRATE_DEPENDS+=  lewton-0.9.4
-CARGO_CRATE_DEPENDS+=  libc-0.2.73
-CARGO_CRATE_DEPENDS+=  libloading-0.4.3
-CARGO_CRATE_DEPENDS+=  libloading-0.5.2
-CARGO_CRATE_DEPENDS+=  libm-0.2.1
-CARGO_CRATE_DEPENDS+=  libmdns-0.2.7
-CARGO_CRATE_DEPENDS+=  libpulse-sys-0.0.0
-CARGO_CRATE_DEPENDS+=  librespot-tremor-0.1.0
-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+=  match_cfg-0.1.0
-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+=  mio-0.6.22
-CARGO_CRATE_DEPENDS+=  mio-named-pipes-0.1.7
-CARGO_CRATE_DEPENDS+=  mio-uds-0.6.8
-CARGO_CRATE_DEPENDS+=  miow-0.2.1
-CARGO_CRATE_DEPENDS+=  miow-0.3.5
-CARGO_CRATE_DEPENDS+=  muldiv-0.2.1
-CARGO_CRATE_DEPENDS+=  multimap-0.8.1
-CARGO_CRATE_DEPENDS+=  nalgebra-0.18.1
-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.1.42
-CARGO_CRATE_DEPENDS+=  num-bigint-0.2.6
-CARGO_CRATE_DEPENDS+=  num-complex-0.2.4
-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-traits-0.2.12
-CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
-CARGO_CRATE_DEPENDS+=  ogg-0.7.0
-CARGO_CRATE_DEPENDS+=  ogg-sys-0.0.9
-CARGO_CRATE_DEPENDS+=  once_cell-1.4.0
-CARGO_CRATE_DEPENDS+=  opaque-debug-0.2.3
-CARGO_CRATE_DEPENDS+=  parking_lot-0.9.0
-CARGO_CRATE_DEPENDS+=  parking_lot_core-0.6.2
-CARGO_CRATE_DEPENDS+=  paste-0.1.18
-CARGO_CRATE_DEPENDS+=  paste-impl-0.1.18
-CARGO_CRATE_DEPENDS+=  pbkdf2-0.3.0
-CARGO_CRATE_DEPENDS+=  peeking_take_while-0.1.2
-CARGO_CRATE_DEPENDS+=  percent-encoding-1.0.1
-CARGO_CRATE_DEPENDS+=  pin-project-0.4.22
-CARGO_CRATE_DEPENDS+=  pin-project-internal-0.4.22
-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.16
-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+=  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+=  rawpointer-0.2.1
-CARGO_CRATE_DEPENDS+=  rdrand-0.4.0
-CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.57
-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+=  rodio-0.9.0
-CARGO_CRATE_DEPENDS+=  rpassword-3.0.2
-CARGO_CRATE_DEPENDS+=  rustc-hash-1.1.0
-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+=  scoped-tls-0.1.2
-CARGO_CRATE_DEPENDS+=  scopeguard-1.1.0
-CARGO_CRATE_DEPENDS+=  sdl2-0.32.2
-CARGO_CRATE_DEPENDS+=  sdl2-sys-0.32.6
-CARGO_CRATE_DEPENDS+=  semver-0.9.0
-CARGO_CRATE_DEPENDS+=  semver-parser-0.7.0
-CARGO_CRATE_DEPENDS+=  serde-1.0.114
-CARGO_CRATE_DEPENDS+=  serde_derive-1.0.114
-CARGO_CRATE_DEPENDS+=  serde_json-1.0.56
-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-registry-1.2.0
-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+=  stdweb-0.1.3
-CARGO_CRATE_DEPENDS+=  stream-cipher-0.3.2
-CARGO_CRATE_DEPENDS+=  subtle-1.0.0
-CARGO_CRATE_DEPENDS+=  syn-0.15.44
-CARGO_CRATE_DEPENDS+=  syn-1.0.35
-CARGO_CRATE_DEPENDS+=  synstructure-0.10.2
-CARGO_CRATE_DEPENDS+=  take-0.1.0
-CARGO_CRATE_DEPENDS+=  tempfile-3.1.0
-CARGO_CRATE_DEPENDS+=  termcolor-1.1.0
-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-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-process-0.2.5
-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-signal-0.2.9
-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-udp-0.1.6
-CARGO_CRATE_DEPENDS+=  tokio-uds-0.2.7
-CARGO_CRATE_DEPENDS+=  try-lock-0.1.0
-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-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+=  uuid-0.7.4
-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+=  vorbis-0.0.14
-CARGO_CRATE_DEPENDS+=  vorbis-sys-0.1.0
-CARGO_CRATE_DEPENDS+=  vorbisfile-sys-0.0.8
-CARGO_CRATE_DEPENDS+=  want-0.0.4
-CARGO_CRATE_DEPENDS+=  wasi-0.9.0+wasi-snapshot-preview1
-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+=  ws2_32-sys-0.2.1
-CARGO_CRATE_DEPENDS+=  zerocopy-0.2.8
-CARGO_CRATE_DEPENDS+=  zerocopy-derive-0.1.4
-
 INSTALLATION_DIRS=     bin
 
 MAKE_ENV+=     RUSTFLAGS=${RUSTFLAGS:Q}
diff -r f33a28a3b8d8 -r 29ecd182a1aa audio/librespot/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/librespot/cargo-depends.mk  Mon Oct 26 08:29:15 2020 +0000
@@ -0,0 +1,270 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2020/10/26 08:29:15 pin Exp $
+
+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



Home | Main Index | Thread Index | Old Index