summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2022-03-02 22:55:15 +0000
committerpin <pin@pkgsrc.org>2022-03-02 22:55:15 +0000
commit3596c1139a919a8a7c76dae6893fb763219f10a5 (patch)
tree790c8a40e15bb2e7c8b0ae9dd3f161259206e22d /audio
parent6407b881ddf82f8f943182d5cd201f42420f812e (diff)
downloadpkgsrc-3596c1139a919a8a7c76dae6893fb763219f10a5.tar.gz
audio/davis: import package
Davis is a MDP client for music lovers. Davis displays any metadata you like! The performers, conductor, ensemble, work, movement, recording location, etc., can all be displayed so long as it's in your tags. It can fetch album art directly from MPD, using the albumart command of the MPD protocol. This means that davis can fetch album art even from remote MPD instances, and does not need to know the location of your music directory. With a custom subcommand, it is also possible to display the album art as sixel graphics in the terminal. Davis can be extended with custom subcommands, see upstream repository.
Diffstat (limited to 'audio')
-rw-r--r--audio/davis/DESCR12
-rw-r--r--audio/davis/Makefile25
-rw-r--r--audio/davis/PLIST3
-rw-r--r--audio/davis/cargo-depends.mk9
-rw-r--r--audio/davis/distinfo26
5 files changed, 75 insertions, 0 deletions
diff --git a/audio/davis/DESCR b/audio/davis/DESCR
new file mode 100644
index 00000000000..9d19a25366a
--- /dev/null
+++ b/audio/davis/DESCR
@@ -0,0 +1,12 @@
+Davis is a MDP client for music lovers.
+Davis displays any metadata you like! The performers, conductor, ensemble,
+work, movement, recording location, etc., can all be displayed so long as it's
+in your tags.
+
+It can fetch album art directly from MPD, using the albumart command of
+the MPD protocol. This means that davis can fetch album art even from remote
+MPD instances, and does not need to know the location of your music directory.
+With a custom subcommand, it is also possible to display the album art as sixel
+graphics in the terminal.
+
+Davis can be extended with custom subcommands, see upstream repository.
diff --git a/audio/davis/Makefile b/audio/davis/Makefile
new file mode 100644
index 00000000000..220120d1478
--- /dev/null
+++ b/audio/davis/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2022/03/02 22:55:15 pin Exp $
+
+DISTNAME= davis-0.1.1
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=SimonPersson/}
+GITHUB_PROJECT= davis
+GITHUB_TAG= f16a22288e6cac4b62ba8cc25cba06c6ae4a89ab
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/SimonPersson/davis/
+COMMENT= CLI client for MPD
+LICENSE= gnu-gpl-v3
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/davis \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/davis.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/davis.1
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/davis/PLIST b/audio/davis/PLIST
new file mode 100644
index 00000000000..44617cb6241
--- /dev/null
+++ b/audio/davis/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/03/02 22:55:15 pin Exp $
+bin/davis
+man/man1/davis.1
diff --git a/audio/davis/cargo-depends.mk b/audio/davis/cargo-depends.mk
new file mode 100644
index 00000000000..5798a4abc0d
--- /dev/null
+++ b/audio/davis/cargo-depends.mk
@@ -0,0 +1,9 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2022/03/02 22:55:15 pin Exp $
+
+CARGO_CRATE_DEPENDS+= bufstream-0.1.4
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= configparser-3.0.0
+CARGO_CRATE_DEPENDS+= lexopt-0.2.0
+CARGO_CRATE_DEPENDS+= libc-0.2.97
+CARGO_CRATE_DEPENDS+= log-0.4.14
+CARGO_CRATE_DEPENDS+= mpdrs-0.1.0
diff --git a/audio/davis/distinfo b/audio/davis/distinfo
new file mode 100644
index 00000000000..1bd90357fa0
--- /dev/null
+++ b/audio/davis/distinfo
@@ -0,0 +1,26 @@
+$NetBSD: distinfo,v 1.1 2022/03/02 22:55:15 pin Exp $
+
+BLAKE2s (bufstream-0.1.4.crate) = 60343b5b619749118b56541faef1210ed22d12fbf7308e227e3f87bcf035e2d8
+SHA512 (bufstream-0.1.4.crate) = bc5029c826280e51231e2893474a964762fa6456a7fee043ba32ce262ea4f0240056e352267c5e66510e737217c8841061672336631b5eb763212a6e5df5ac9e
+Size (bufstream-0.1.4.crate) = 8741 bytes
+BLAKE2s (cfg-if-1.0.0.crate) = fbb02f63b24cc224b045ff2aac3aefd0a77cf7b578df4d5f9da9517a59aaf9bb
+SHA512 (cfg-if-1.0.0.crate) = 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+Size (cfg-if-1.0.0.crate) = 7934 bytes
+BLAKE2s (configparser-3.0.0.crate) = 3cee37c6a20e05977419216c99069ce4c1dd4538371e9246b0d6ea3d4d2f4453
+SHA512 (configparser-3.0.0.crate) = 3d4c1061cb58f7d388c611409e835001bc0c817e5e6969c5af5960d11872f76d8145300b03dd104338bccea15a558784f9e6a5a879d6df70531cb9ace9e2ddc7
+Size (configparser-3.0.0.crate) = 21163 bytes
+BLAKE2s (davis-0.1.1-f16a22288e6cac4b62ba8cc25cba06c6ae4a89ab.tar.gz) = fca92652c35f55300089c8117bbc6fdc9087d467b62f78a793637f655714a47f
+SHA512 (davis-0.1.1-f16a22288e6cac4b62ba8cc25cba06c6ae4a89ab.tar.gz) = ca668e56353fc227467698758aba9e20c2b3f43a92ac37916fe2f00d25dd56df3676ca256cb503797c019a30e7fe6dcf87125bcd0a82149a34f8fde93001df3c
+Size (davis-0.1.1-f16a22288e6cac4b62ba8cc25cba06c6ae4a89ab.tar.gz) = 1674739 bytes
+BLAKE2s (lexopt-0.2.0.crate) = 11564020dc34eeb488f08a13e2ad165e5a93606f39cc5dd9883f4156826feddb
+SHA512 (lexopt-0.2.0.crate) = 21bddf7206080093511afbb361e39d1fc0964ac28bf75f67c7261aefc9e2358041468ce363a665d474ea3c6abfb1b8fbc3fe3dfcb033b125575414b2fff7daaa
+Size (lexopt-0.2.0.crate) = 21041 bytes
+BLAKE2s (libc-0.2.97.crate) = c1f5d7d7425d833f535327416db44072de37ba9b6bd7faf7e6e22af280e42a32
+SHA512 (libc-0.2.97.crate) = 9b94a43d7da1e419900f7a016d5eb958bc42a006e1bb621ab8e2be2167e91f05cee81144c25e81a85c1b1ea2a26ff88980a4cc292fd42db8b09c5c49bf5531ed
+Size (libc-0.2.97.crate) = 517712 bytes
+BLAKE2s (log-0.4.14.crate) = 6a53d58f64a8f33394bab4d3ebee1ef02f08138aecee9b8ab336e1834f7d06fd
+SHA512 (log-0.4.14.crate) = 796100167663d85a7bc4244cd305e9b3f0a1b1520764b63464698eb136318d0928c40c16f5d19d9f602a5bf769851275bbd48d66b088b0c37be7a6fb62def7cc
+Size (log-0.4.14.crate) = 34582 bytes
+BLAKE2s (mpdrs-0.1.0.crate) = 56543e533dc9127e634a5e834049fa310a30eb67201d402735c5ed5011b1c70c
+SHA512 (mpdrs-0.1.0.crate) = 942311697d3a70f80b823766d5c782ce6a5acf3fc2a849f422440f804ecdd69401da464d940f13287bf76aade2276817d221c87679c0a3dccf9173e70e767548
+Size (mpdrs-0.1.0.crate) = 30083 bytes