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: import package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d6e94b78ccf
branches:  trunk
changeset: 455809:1d6e94b78ccf
user:      pin <pin%pkgsrc.org@localhost>
date:      Mon Jul 12 15:06:25 2021 +0000

description:
audio/termusic: import package

Terminal Music Player written in Rust.

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.

diffstat:

 audio/termusic/DESCR            |    5 +
 audio/termusic/Makefile         |   33 +
 audio/termusic/PLIST            |    2 +
 audio/termusic/cargo-depends.mk |  220 ++++++++++
 audio/termusic/distinfo         |  878 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 1138 insertions(+), 0 deletions(-)

diffs (truncated from 1158 to 300 lines):

diff -r 8f04ebb38ac8 -r 1d6e94b78ccf audio/termusic/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/termusic/DESCR      Mon Jul 12 15:06:25 2021 +0000
@@ -0,0 +1,5 @@
+Terminal Music Player written in Rust.
+
+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.
diff -r 8f04ebb38ac8 -r 1d6e94b78ccf audio/termusic/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/termusic/Makefile   Mon Jul 12 15:06:25 2021 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2021/07/12 15:06:25 pin Exp $
+
+DISTNAME=      termusic-0.2.6
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=tramhao/}
+
+MAINTAINER=    pin%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tramhao/termusic/
+COMMENT=       Music Player TUI written in Rust
+LICENSE=       mit
+
+.include "cargo-depends.mk"
+
+USE_LANGUAGES+=        c
+USE_TOOLS+=    pkg-config
+
+INSTALLATION_DIRS=     bin
+
+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
+MAKE_ENV+=     RUSTFLAGS=${RUSTFLAGS:Q}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/termusic ${DESTDIR}${PREFIX}/bin
+
+DEPENDS+=      youtube-dl-[0-9]*:../../net/youtube-dl
+
+.include "../../lang/rust/cargo.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../multimedia/mpv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8f04ebb38ac8 -r 1d6e94b78ccf audio/termusic/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/termusic/PLIST      Mon Jul 12 15:06:25 2021 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/12 15:06:25 pin Exp $
+bin/termusic
diff -r 8f04ebb38ac8 -r 1d6e94b78ccf audio/termusic/cargo-depends.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/termusic/cargo-depends.mk   Mon Jul 12 15:06:25 2021 +0000
@@ -0,0 +1,220 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2021/07/12 15:06:25 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+=  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+=  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+=  cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+=  color_quant-1.1.0
+CARGO_CRATE_DEPENDS+=  configr-0.8.0
+CARGO_CRATE_DEPENDS+=  configr_derive-0.8.0
+CARGO_CRATE_DEPENDS+=  console-0.14.1
+CARGO_CRATE_DEPENDS+=  const_fn-0.4.8
+CARGO_CRATE_DEPENDS+=  cookie-0.14.4
+CARGO_CRATE_DEPENDS+=  cookie_store-0.12.0
+CARGO_CRATE_DEPENDS+=  core-foundation-0.9.1
+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-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
+CARGO_CRATE_DEPENDS+=  deflate-0.8.6
+CARGO_CRATE_DEPENDS+=  diff-0.1.12
+CARGO_CRATE_DEPENDS+=  dirs-3.0.2
+CARGO_CRATE_DEPENDS+=  dirs-next-2.0.0
+CARGO_CRATE_DEPENDS+=  dirs-sys-0.3.6
+CARGO_CRATE_DEPENDS+=  dirs-sys-next-0.1.2
+CARGO_CRATE_DEPENDS+=  discard-1.0.4
+CARGO_CRATE_DEPENDS+=  doc-comment-0.3.3
+CARGO_CRATE_DEPENDS+=  either-1.6.1
+CARGO_CRATE_DEPENDS+=  encode_unicode-0.3.6
+CARGO_CRATE_DEPENDS+=  encoding_rs-0.8.28
+CARGO_CRATE_DEPENDS+=  flate2-1.0.20
+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+=  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+=  getrandom-0.2.3
+CARGO_CRATE_DEPENDS+=  gif-0.11.2
+CARGO_CRATE_DEPENDS+=  h2-0.3.3
+CARGO_CRATE_DEPENDS+=  hashbrown-0.11.2
+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+=  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-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+=  ipnet-2.3.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+=  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+=  lock_api-0.4.4
+CARGO_CRATE_DEPENDS+=  log-0.4.14
+CARGO_CRATE_DEPENDS+=  matches-0.1.8
+CARGO_CRATE_DEPENDS+=  memchr-2.4.0
+CARGO_CRATE_DEPENDS+=  memoffset-0.6.4
+CARGO_CRATE_DEPENDS+=  mime-0.3.16
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.3.7
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.4.4
+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+=  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-traits-0.2.14
+CARGO_CRATE_DEPENDS+=  num_cpus-1.13.0
+CARGO_CRATE_DEPENDS+=  once_cell-1.8.0
+CARGO_CRATE_DEPENDS+=  openssl-0.10.35
+CARGO_CRATE_DEPENDS+=  openssl-probe-0.1.4
+CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.65
+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+=  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_assertions-0.7.2
+CARGO_CRATE_DEPENDS+=  proc-macro-hack-0.5.19
+CARGO_CRATE_DEPENDS+=  proc-macro2-1.0.27
+CARGO_CRATE_DEPENDS+=  publicsuffix-1.5.6
+CARGO_CRATE_DEPENDS+=  quote-1.0.9
+CARGO_CRATE_DEPENDS+=  rand-0.8.4
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.3.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.6.3
+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_users-0.4.0
+CARGO_CRATE_DEPENDS+=  regex-1.5.4
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.25
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.3
+CARGO_CRATE_DEPENDS+=  reqwest-0.11.4
+CARGO_CRATE_DEPENDS+=  rustc_version-0.2.3
+CARGO_CRATE_DEPENDS+=  ryu-1.0.5
+CARGO_CRATE_DEPENDS+=  schannel-0.1.19
+CARGO_CRATE_DEPENDS+=  scoped_threadpool-0.1.9
+CARGO_CRATE_DEPENDS+=  scopeguard-1.1.0
+CARGO_CRATE_DEPENDS+=  security-framework-2.3.1
+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_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+=  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+=  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+=  tempfile-3.2.0
+CARGO_CRATE_DEPENDS+=  termcolor-1.1.2
+CARGO_CRATE_DEPENDS+=  terminal_size-0.1.17
+CARGO_CRATE_DEPENDS+=  textwrap-0.14.2
+CARGO_CRATE_DEPENDS+=  thiserror-1.0.26
+CARGO_CRATE_DEPENDS+=  thiserror-impl-1.0.26
+CARGO_CRATE_DEPENDS+=  tiff-0.6.1
+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_macros-0.1.0
+CARGO_CRATE_DEPENDS+=  tokio-1.8.1
+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
+CARGO_CRATE_DEPENDS+=  toml-0.5.8
+CARGO_CRATE_DEPENDS+=  tower-service-0.3.1
+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+=  unicode-bidi-0.3.5
+CARGO_CRATE_DEPENDS+=  unicode-linebreak-0.1.1
+CARGO_CRATE_DEPENDS+=  unicode-normalization-0.1.19
+CARGO_CRATE_DEPENDS+=  unicode-segmentation-1.8.0
+CARGO_CRATE_DEPENDS+=  unicode-truncate-0.2.0
+CARGO_CRATE_DEPENDS+=  unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+=  unicode-xid-0.2.2
+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_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+=  weezl-0.1.5
+CARGO_CRATE_DEPENDS+=  winapi-0.3.9
+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.7.0
+CARGO_CRATE_DEPENDS+=  ytd-rs-0.1.2
diff -r 8f04ebb38ac8 -r 1d6e94b78ccf audio/termusic/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/termusic/distinfo   Mon Jul 12 15:06:25 2021 +0000
@@ -0,0 +1,878 @@
+$NetBSD: distinfo,v 1.1 2021/07/12 15:06:25 pin Exp $
+
+SHA1 (adler-1.0.2.crate) = 4b3b7b567ba15929c15c0b8f4c498afaefde76db
+RMD160 (adler-1.0.2.crate) = 8a3ccd049edf486e01dd612352816e76176f601c
+SHA512 (adler-1.0.2.crate) = 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
+Size (adler-1.0.2.crate) = 12778 bytes
+SHA1 (adler32-1.2.0.crate) = 5bcc2f4523a85907c7ce8fc0f3478d20985d5048
+RMD160 (adler32-1.2.0.crate) = 7b52baeda841a03e29723959f020b4a32a9cf405
+SHA512 (adler32-1.2.0.crate) = 8ed72612fb78e213fc92963fdae0508ef26988656c939e6c9cddccbe2658d4a956a8ae934d9658262a8b2687dc446b3f1ee7614128b440487c81e606526dfda3
+Size (adler32-1.2.0.crate) = 6411 bytes
+SHA1 (aho-corasick-0.7.18.crate) = 0e3f242614a732b703e12fc3c4456c53b0536fb8
+RMD160 (aho-corasick-0.7.18.crate) = b0dc4b0030152d0db9483ea816548ec9c330b211
+SHA512 (aho-corasick-0.7.18.crate) = 7a23b16231a90d23ee60ad4c81bc225410599a4560d33d3a203138fc540c39cf1000100fed3aed40dcc371c3635656a3792545dca5dd1aefbde00d8774eebd00
+Size (aho-corasick-0.7.18.crate) = 112923 bytes
+SHA1 (ansi_colours-1.0.4.crate) = d8d49df68bcd61a9db7ff9d03a94faca0ee19ee3
+RMD160 (ansi_colours-1.0.4.crate) = 10b3d5aab5f5608b6abbbdd3f066eb04c8d963c9
+SHA512 (ansi_colours-1.0.4.crate) = 36eef5c4c84f7f8bf3adb65eca5d7d2da48190c127cd76b78b7bb035cf98afbf2534b82bb293cc1e472eaeb08d541fe28a87b99ebd53dbae8a50026898b043b3
+Size (ansi_colours-1.0.4.crate) = 10525 bytes
+SHA1 (ansi_term-0.12.1.crate) = fa6af8a593898105594dfb8b057dcbfdf30648a2
+RMD160 (ansi_term-0.12.1.crate) = 747f8ed27409243576d586c9957d9e06837f27bf



Home | Main Index | Thread Index | Old Index