pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/termusic audio/termusic: update to 0.2.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f02213ebda2
branches:  trunk
changeset: 457073:9f02213ebda2
user:      pin <pin%pkgsrc.org@localhost>
date:      Sun Aug 15 15:22:00 2021 +0000

description:
audio/termusic: update to 0.2.12

Upstream changed the default audio-backend from mpv to GStreamer.

diffstat:

 audio/termusic/DESCR            |    6 +
 audio/termusic/Makefile         |   15 +-
 audio/termusic/cargo-depends.mk |  116 ++++++---
 audio/termusic/distinfo         |  466 ++++++++++++++++++++++++---------------
 4 files changed, 376 insertions(+), 227 deletions(-)

diffs (truncated from 1002 to 300 lines):

diff -r ecca415b1eb5 -r 9f02213ebda2 audio/termusic/DESCR
--- a/audio/termusic/DESCR      Sun Aug 15 15:18:31 2021 +0000
+++ b/audio/termusic/DESCR      Sun Aug 15 15:22:00 2021 +0000
@@ -3,3 +3,9 @@
 As a contributor of gomu, https://github.com/issadarkthing/gomu I met serious
 problems during development. The main problem is data race condition.
 So I basically rewrite the player in rust, and hope to solve the problem.
+
+If you wish to download mp3 from youtube, install youtube-dl.
+
+Upstream recently changed the default audio-backend to GStreamer.
+To play audio on BSD install gst-plugins1-oss.
+To play audio on Linux install gst-plugins1-alsa or gst-plugins1-pulse.
diff -r ecca415b1eb5 -r 9f02213ebda2 audio/termusic/Makefile
--- a/audio/termusic/Makefile   Sun Aug 15 15:18:31 2021 +0000
+++ b/audio/termusic/Makefile   Sun Aug 15 15:22:00 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2021/08/05 08:41:42 pin Exp $
+# $NetBSD: Makefile,v 1.6 2021/08/15 15:22:00 pin Exp $
 
-DISTNAME=      termusic-0.2.11
+DISTNAME=      termusic-0.2.12
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tramhao/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -18,15 +18,18 @@
 
 MAKE_ENV+=     OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
 RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib
-RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mpv}/lib
-RUSTFLAGS+=    -C link-arg=-L${BUILDLINK_PREFIX.mpv}/lib
+RUSTFLAGS+=    -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gstreamer1}/lib
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/target/release/termusic ${DESTDIR}${PREFIX}/bin
 
-DEPENDS+=      youtube-dl-[0-9]*:../../net/youtube-dl
+DEPENDS+=      gst-plugins1-libav-[0-9]*:../../multimedia/gst-plugins1-libav
 
 .include "../../lang/rust/cargo.mk"
 .include "../../security/openssl/buildlink3.mk"
-.include "../../multimedia/mpv/buildlink3.mk"
+.include "../../multimedia/gstreamer1/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-good/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-ugly/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ecca415b1eb5 -r 9f02213ebda2 audio/termusic/cargo-depends.mk
--- a/audio/termusic/cargo-depends.mk   Sun Aug 15 15:18:31 2021 +0000
+++ b/audio/termusic/cargo-depends.mk   Sun Aug 15 15:22:00 2021 +0000
@@ -1,22 +1,23 @@
-# $NetBSD: cargo-depends.mk,v 1.1 2021/07/12 15:06:25 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.2 2021/08/15 15:22:00 pin Exp $
 
 CARGO_CRATE_DEPENDS+=  adler-1.0.2
 CARGO_CRATE_DEPENDS+=  adler32-1.2.0
 CARGO_CRATE_DEPENDS+=  aho-corasick-0.7.18
 CARGO_CRATE_DEPENDS+=  ansi_colours-1.0.4
 CARGO_CRATE_DEPENDS+=  ansi_term-0.12.1
-CARGO_CRATE_DEPENDS+=  anyhow-1.0.41
+CARGO_CRATE_DEPENDS+=  anyhow-1.0.42
 CARGO_CRATE_DEPENDS+=  async-compression-0.3.8
 CARGO_CRATE_DEPENDS+=  autocfg-1.0.1
 CARGO_CRATE_DEPENDS+=  base-x-0.2.8
 CARGO_CRATE_DEPENDS+=  base64-0.13.0
 CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
 CARGO_CRATE_DEPENDS+=  bumpalo-3.7.0
-CARGO_CRATE_DEPENDS+=  bytemuck-1.7.0
+CARGO_CRATE_DEPENDS+=  bytemuck-1.7.2
 CARGO_CRATE_DEPENDS+=  byteorder-1.4.3
 CARGO_CRATE_DEPENDS+=  bytes-1.0.1
 CARGO_CRATE_DEPENDS+=  cassowary-0.3.0
-CARGO_CRATE_DEPENDS+=  cc-1.0.68
+CARGO_CRATE_DEPENDS+=  cc-1.0.69
+CARGO_CRATE_DEPENDS+=  cfg-expr-0.8.1
 CARGO_CRATE_DEPENDS+=  cfg-if-1.0.0
 CARGO_CRATE_DEPENDS+=  color_quant-1.1.0
 CARGO_CRATE_DEPENDS+=  configr-0.8.0
@@ -29,12 +30,10 @@
 CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.8.2
 CARGO_CRATE_DEPENDS+=  crc32fast-1.2.1
 CARGO_CRATE_DEPENDS+=  crossbeam-channel-0.5.1
-CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.8.0
+CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.8.1
 CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.9.5
 CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.8.5
-CARGO_CRATE_DEPENDS+=  crossterm-0.19.0
 CARGO_CRATE_DEPENDS+=  crossterm-0.20.0
-CARGO_CRATE_DEPENDS+=  crossterm_winapi-0.7.0
 CARGO_CRATE_DEPENDS+=  crossterm_winapi-0.8.0
 CARGO_CRATE_DEPENDS+=  ctor-0.1.20
 CARGO_CRATE_DEPENDS+=  custom_error-1.9.2
@@ -54,38 +53,54 @@
 CARGO_CRATE_DEPENDS+=  foreign-types-0.3.2
 CARGO_CRATE_DEPENDS+=  foreign-types-shared-0.1.1
 CARGO_CRATE_DEPENDS+=  form_urlencoded-1.0.1
-CARGO_CRATE_DEPENDS+=  futures-channel-0.3.15
-CARGO_CRATE_DEPENDS+=  futures-core-0.3.15
-CARGO_CRATE_DEPENDS+=  futures-io-0.3.15
-CARGO_CRATE_DEPENDS+=  futures-sink-0.3.15
-CARGO_CRATE_DEPENDS+=  futures-task-0.3.15
-CARGO_CRATE_DEPENDS+=  futures-util-0.3.15
+CARGO_CRATE_DEPENDS+=  futures-channel-0.3.16
+CARGO_CRATE_DEPENDS+=  futures-core-0.3.16
+CARGO_CRATE_DEPENDS+=  futures-executor-0.3.16
+CARGO_CRATE_DEPENDS+=  futures-io-0.3.16
+CARGO_CRATE_DEPENDS+=  futures-sink-0.3.16
+CARGO_CRATE_DEPENDS+=  futures-task-0.3.16
+CARGO_CRATE_DEPENDS+=  futures-util-0.3.16
 CARGO_CRATE_DEPENDS+=  getrandom-0.2.3
 CARGO_CRATE_DEPENDS+=  gif-0.11.2
+CARGO_CRATE_DEPENDS+=  glib-0.14.2
+CARGO_CRATE_DEPENDS+=  glib-macros-0.14.1
+CARGO_CRATE_DEPENDS+=  glib-sys-0.14.0
+CARGO_CRATE_DEPENDS+=  gobject-sys-0.14.0
+CARGO_CRATE_DEPENDS+=  gstreamer-0.17.2
+CARGO_CRATE_DEPENDS+=  gstreamer-audio-sys-0.17.0
+CARGO_CRATE_DEPENDS+=  gstreamer-base-0.17.2
+CARGO_CRATE_DEPENDS+=  gstreamer-base-sys-0.17.0
+CARGO_CRATE_DEPENDS+=  gstreamer-pbutils-0.17.2
+CARGO_CRATE_DEPENDS+=  gstreamer-pbutils-sys-0.17.0
+CARGO_CRATE_DEPENDS+=  gstreamer-player-0.17.0
+CARGO_CRATE_DEPENDS+=  gstreamer-player-sys-0.17.0
+CARGO_CRATE_DEPENDS+=  gstreamer-sys-0.17.0
+CARGO_CRATE_DEPENDS+=  gstreamer-video-0.17.2
+CARGO_CRATE_DEPENDS+=  gstreamer-video-sys-0.17.0
 CARGO_CRATE_DEPENDS+=  h2-0.3.3
 CARGO_CRATE_DEPENDS+=  hashbrown-0.11.2
+CARGO_CRATE_DEPENDS+=  heck-0.3.3
 CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.19
 CARGO_CRATE_DEPENDS+=  hex-0.4.3
 CARGO_CRATE_DEPENDS+=  http-0.2.4
-CARGO_CRATE_DEPENDS+=  http-body-0.4.2
+CARGO_CRATE_DEPENDS+=  http-body-0.4.3
 CARGO_CRATE_DEPENDS+=  httparse-1.4.1
 CARGO_CRATE_DEPENDS+=  httpdate-1.0.1
 CARGO_CRATE_DEPENDS+=  humantime-2.1.0
-CARGO_CRATE_DEPENDS+=  hyper-0.14.10
+CARGO_CRATE_DEPENDS+=  hyper-0.14.11
 CARGO_CRATE_DEPENDS+=  hyper-tls-0.5.0
 CARGO_CRATE_DEPENDS+=  id3-0.6.4
 CARGO_CRATE_DEPENDS+=  idna-0.2.3
 CARGO_CRATE_DEPENDS+=  image-0.23.14
 CARGO_CRATE_DEPENDS+=  indexmap-1.7.0
-CARGO_CRATE_DEPENDS+=  instant-0.1.9
+CARGO_CRATE_DEPENDS+=  instant-0.1.10
 CARGO_CRATE_DEPENDS+=  ipnet-2.3.1
+CARGO_CRATE_DEPENDS+=  itertools-0.10.1
 CARGO_CRATE_DEPENDS+=  itoa-0.4.7
 CARGO_CRATE_DEPENDS+=  jpeg-decoder-0.1.22
-CARGO_CRATE_DEPENDS+=  js-sys-0.3.51
+CARGO_CRATE_DEPENDS+=  js-sys-0.3.52
 CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
-CARGO_CRATE_DEPENDS+=  libc-0.2.98
-CARGO_CRATE_DEPENDS+=  libmpv-2.0.1
-CARGO_CRATE_DEPENDS+=  libmpv-sys-3.1.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.99
 CARGO_CRATE_DEPENDS+=  lock_api-0.4.4
 CARGO_CRATE_DEPENDS+=  log-0.4.14
 CARGO_CRATE_DEPENDS+=  matches-0.1.8
@@ -97,11 +112,15 @@
 CARGO_CRATE_DEPENDS+=  mio-0.7.13
 CARGO_CRATE_DEPENDS+=  miow-0.3.7
 CARGO_CRATE_DEPENDS+=  mp3-duration-0.1.10
+CARGO_CRATE_DEPENDS+=  mp4ameta-0.11.0
+CARGO_CRATE_DEPENDS+=  mp4ameta_proc-0.6.0
+CARGO_CRATE_DEPENDS+=  muldiv-1.0.0
 CARGO_CRATE_DEPENDS+=  native-tls-0.2.7
 CARGO_CRATE_DEPENDS+=  ntapi-0.3.6
 CARGO_CRATE_DEPENDS+=  num-integer-0.1.44
 CARGO_CRATE_DEPENDS+=  num-iter-0.1.42
 CARGO_CRATE_DEPENDS+=  num-rational-0.3.2
+CARGO_CRATE_DEPENDS+=  num-rational-0.4.0
 CARGO_CRATE_DEPENDS+=  num-traits-0.2.14
 CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
 CARGO_CRATE_DEPENDS+=  once_cell-1.8.0
@@ -111,15 +130,20 @@
 CARGO_CRATE_DEPENDS+=  output_vt100-0.1.2
 CARGO_CRATE_DEPENDS+=  parking_lot-0.11.1
 CARGO_CRATE_DEPENDS+=  parking_lot_core-0.8.3
+CARGO_CRATE_DEPENDS+=  paste-1.0.5
 CARGO_CRATE_DEPENDS+=  percent-encoding-2.1.0
 CARGO_CRATE_DEPENDS+=  pin-project-lite-0.2.7
 CARGO_CRATE_DEPENDS+=  pin-utils-0.1.0
 CARGO_CRATE_DEPENDS+=  pkg-config-0.3.19
 CARGO_CRATE_DEPENDS+=  png-0.16.8
 CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.10
+CARGO_CRATE_DEPENDS+=  pretty-hex-0.2.1
 CARGO_CRATE_DEPENDS+=  pretty_assertions-0.7.2
+CARGO_CRATE_DEPENDS+=  proc-macro-crate-1.0.0
+CARGO_CRATE_DEPENDS+=  proc-macro-error-1.0.4
+CARGO_CRATE_DEPENDS+=  proc-macro-error-attr-1.0.4
 CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.19
-CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.27
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.28
 CARGO_CRATE_DEPENDS+=  publicsuffix-1.5.6
 CARGO_CRATE_DEPENDS+=  quote-1.0.9
 CARGO_CRATE_DEPENDS+=  rand-0.8.4
@@ -128,7 +152,7 @@
 CARGO_CRATE_DEPENDS+=  rand_hc-0.3.1
 CARGO_CRATE_DEPENDS+=  rayon-1.5.1
 CARGO_CRATE_DEPENDS+=  rayon-core-1.9.1
-CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.9
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.10
 CARGO_CRATE_DEPENDS+=  redox_users-0.4.0
 CARGO_CRATE_DEPENDS+=  regex-1.5.4
 CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.25
@@ -143,28 +167,30 @@
 CARGO_CRATE_DEPENDS+=  security-framework-sys-2.3.0
 CARGO_CRATE_DEPENDS+=  semver-0.9.0
 CARGO_CRATE_DEPENDS+=  semver-parser-0.7.0
-CARGO_CRATE_DEPENDS+=  serde-1.0.126
-CARGO_CRATE_DEPENDS+=  serde_derive-1.0.126
-CARGO_CRATE_DEPENDS+=  serde_json-1.0.64
+CARGO_CRATE_DEPENDS+=  serde-1.0.127
+CARGO_CRATE_DEPENDS+=  serde_derive-1.0.127
+CARGO_CRATE_DEPENDS+=  serde_json-1.0.66
 CARGO_CRATE_DEPENDS+=  serde_urlencoded-0.7.0
 CARGO_CRATE_DEPENDS+=  sha1-0.6.0
 CARGO_CRATE_DEPENDS+=  shellexpand-2.1.0
-CARGO_CRATE_DEPENDS+=  signal-hook-0.1.17
 CARGO_CRATE_DEPENDS+=  signal-hook-0.3.9
 CARGO_CRATE_DEPENDS+=  signal-hook-mio-0.2.1
 CARGO_CRATE_DEPENDS+=  signal-hook-registry-1.4.0
-CARGO_CRATE_DEPENDS+=  slab-0.4.3
+CARGO_CRATE_DEPENDS+=  slab-0.4.4
 CARGO_CRATE_DEPENDS+=  smallvec-1.6.1
 CARGO_CRATE_DEPENDS+=  smawk-0.3.1
 CARGO_CRATE_DEPENDS+=  snafu-0.6.10
 CARGO_CRATE_DEPENDS+=  snafu-derive-0.6.10
-CARGO_CRATE_DEPENDS+=  socket2-0.4.0
+CARGO_CRATE_DEPENDS+=  socket2-0.4.1
 CARGO_CRATE_DEPENDS+=  standback-0.2.17
 CARGO_CRATE_DEPENDS+=  stdweb-0.4.20
 CARGO_CRATE_DEPENDS+=  stdweb-derive-0.5.3
 CARGO_CRATE_DEPENDS+=  stdweb-internal-macros-0.2.9
 CARGO_CRATE_DEPENDS+=  stdweb-internal-runtime-0.1.5
-CARGO_CRATE_DEPENDS+=  syn-1.0.73
+CARGO_CRATE_DEPENDS+=  strum-0.21.0
+CARGO_CRATE_DEPENDS+=  strum_macros-0.21.1
+CARGO_CRATE_DEPENDS+=  syn-1.0.74
+CARGO_CRATE_DEPENDS+=  system-deps-3.2.0
 CARGO_CRATE_DEPENDS+=  tempfile-3.2.0
 CARGO_CRATE_DEPENDS+=  termcolor-1.1.2
 CARGO_CRATE_DEPENDS+=  terminal_size-0.1.17
@@ -175,9 +201,9 @@
 CARGO_CRATE_DEPENDS+=  time-0.2.27
 CARGO_CRATE_DEPENDS+=  time-macros-0.1.1
 CARGO_CRATE_DEPENDS+=  time-macros-impl-0.1.2
-CARGO_CRATE_DEPENDS+=  tinyvec-1.2.0
+CARGO_CRATE_DEPENDS+=  tinyvec-1.3.1
 CARGO_CRATE_DEPENDS+=  tinyvec_macros-0.1.0
-CARGO_CRATE_DEPENDS+=  tokio-1.8.1
+CARGO_CRATE_DEPENDS+=  tokio-1.9.0
 CARGO_CRATE_DEPENDS+=  tokio-native-tls-0.3.0
 CARGO_CRATE_DEPENDS+=  tokio-socks-0.5.1
 CARGO_CRATE_DEPENDS+=  tokio-util-0.6.7
@@ -186,12 +212,13 @@
 CARGO_CRATE_DEPENDS+=  tracing-0.1.26
 CARGO_CRATE_DEPENDS+=  tracing-core-0.1.18
 CARGO_CRATE_DEPENDS+=  try-lock-0.2.3
-CARGO_CRATE_DEPENDS+=  tui-0.15.0
-CARGO_CRATE_DEPENDS+=  tui-realm-treeview-0.2.0
-CARGO_CRATE_DEPENDS+=  tui-tree-widget-0.6.0
-CARGO_CRATE_DEPENDS+=  tuirealm-0.4.3
+CARGO_CRATE_DEPENDS+=  tui-0.16.0
+CARGO_CRATE_DEPENDS+=  tui-realm-stdlib-0.6.0
+CARGO_CRATE_DEPENDS+=  tui-realm-treeview-0.3.0
+CARGO_CRATE_DEPENDS+=  tui-tree-widget-0.7.0
+CARGO_CRATE_DEPENDS+=  tuirealm-0.6.0
 CARGO_CRATE_DEPENDS+=  unicode-bidi-0.3.5
-CARGO_CRATE_DEPENDS+=  unicode-linebreak-0.1.1
+CARGO_CRATE_DEPENDS+=  unicode-linebreak-0.1.2
 CARGO_CRATE_DEPENDS+=  unicode-normalization-0.1.19
 CARGO_CRATE_DEPENDS+=  unicode-segmentation-1.8.0
 CARGO_CRATE_DEPENDS+=  unicode-truncate-0.2.0
@@ -200,21 +227,22 @@
 CARGO_CRATE_DEPENDS+=  url-2.2.2
 CARGO_CRATE_DEPENDS+=  urlqstring-0.3.5
 CARGO_CRATE_DEPENDS+=  vcpkg-0.2.15
+CARGO_CRATE_DEPENDS+=  version-compare-0.0.11
 CARGO_CRATE_DEPENDS+=  version_check-0.9.3
 CARGO_CRATE_DEPENDS+=  viuer-0.5.1
 CARGO_CRATE_DEPENDS+=  want-0.3.0
 CARGO_CRATE_DEPENDS+=  wasi-0.10.2+wasi-snapshot-preview1
-CARGO_CRATE_DEPENDS+=  wasm-bindgen-0.2.74
-CARGO_CRATE_DEPENDS+=  wasm-bindgen-backend-0.2.74
-CARGO_CRATE_DEPENDS+=  wasm-bindgen-futures-0.4.24
-CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-0.2.74
-CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-support-0.2.74
-CARGO_CRATE_DEPENDS+=  wasm-bindgen-shared-0.2.74
-CARGO_CRATE_DEPENDS+=  web-sys-0.3.51
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-0.2.75
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-backend-0.2.75
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-futures-0.4.25
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-0.2.75
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-macro-support-0.2.75
+CARGO_CRATE_DEPENDS+=  wasm-bindgen-shared-0.2.75
+CARGO_CRATE_DEPENDS+=  web-sys-0.3.52



Home | Main Index | Thread Index | Old Index