diff mbox series

[bug#59437,v3] gnu: Add mympd.

Message ID 3610eb1ba93f0c51acf8d5cc9bb4470d80d516dc.1669133416.git.mirai@makinata.eu
State New
Headers show
Series [bug#59437,v3] gnu: Add mympd. | expand

Commit Message

mirai Nov. 22, 2022, 4:11 p.m. UTC
From: Bruno Victal <mirai@makinata.eu>

* gnu/packages/mpd.scm (mympd): New variable.
---
new upstream release (v10.1.2)

 gnu/packages/mpd.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)


base-commit: b8d4c323f5d089dd800b358143d5bae26c965404

Comments

Christopher Baines Nov. 24, 2022, 9:51 a.m. UTC | #1
mirai@makinata.eu writes:

> From: Bruno Victal <mirai@makinata.eu>
>
> * gnu/packages/mpd.scm (mympd): New variable.
> ---
> new upstream release (v10.1.2)
>
>  gnu/packages/mpd.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)

Thanks both! I've pushed this to master as
42898ae8ca25347a4b889bd44203ee7675f0c407.

Chris
diff mbox series

Patch

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 0c8dc16cf9..cd37d4682c 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -56,6 +56,7 @@  (define-module (gnu packages mpd)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages icu4c)
   #:use-module (gnu packages libusb)
+  #:use-module (gnu packages lua)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
@@ -67,6 +68,7 @@  (define-module (gnu packages mpd)
   #:use-module (gnu packages music)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
+  #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages python)
@@ -76,7 +78,9 @@  (define-module (gnu packages mpd)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
+  #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages xiph))
 
 (define-public libmpdclient
@@ -573,3 +577,27 @@  (define-public mpdevil
 Instead of maintaining a client side database of your music library,
 mpdevil loads all tags and covers on demand.")
     (license license:gpl3+)))
+
+(define-public mympd
+  (package
+    (name "mympd")
+    (version "10.1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jcorporation/myMPD")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1cqq09j7mi7dz5y6l7i0sa6vi2n5zrndnrxnqsi4vcg99fc2vwv8"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f)) ; no test target
+    (native-inputs (list jq perl))
+    (inputs (list flac libid3tag lua openssl pcre2))
+    (home-page "https://jcorporation.github.io/")
+    (synopsis "Web-based MPD client")
+    (description "MyMPD is a mobile-friendly web client for the MPD music
+player daemon.")
+    (license license:gpl3+)))