summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Streit <simon@netpanic.org>2022-03-02 15:05:01 +0100
committerSimon Streit <simon@netpanic.org>2022-03-02 15:05:01 +0100
commit973fc04300a397a4451c0d7dbb56557bd61ce7a1 (patch)
treeb3ed665012d105ba186cd377952a9c73c5a30d18
parent591dac7392c93de7a84deab61c96f5fde0123537 (diff)
siguix: mympd: Update to 9.1.2.
* siguix/packages/mympd.scm (mympd): Update to 9.1.2.
-rw-r--r--siguix/packages/mympd.scm116
1 files changed, 55 insertions, 61 deletions
diff --git a/siguix/packages/mympd.scm b/siguix/packages/mympd.scm
index 09390ab..55e7582 100644
--- a/siguix/packages/mympd.scm
+++ b/siguix/packages/mympd.scm
@@ -38,68 +38,62 @@
(define-public mympd
(package
(name "mympd")
- (version "9.0.1")
- (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 "1ls0q0xihaac2qyijyfzsmna27wvwdwrw686fzn3bv18x8vjlxj3"))))
+ (version "9.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
+ "0ir458zhahqy2y628wjn9cr1ppakqswy839nl3gd1gyh6mpld73i"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; mympd has it's own build scripts.
- (delete 'configure)
- (replace 'build
- (lambda* (#:key outputs #:allow-other-keys)
- (setenv "MYMPD_INSTALL_PREFIX"
- (string-append (assoc-ref outputs "out") "/usr"))
- (invoke "sh" "build.sh" "release")))
- (replace 'check
- (lambda* (#:key outputs #:allow-other-keys)
- (setenv "MYMPD_INSTALL_PREFIX"
- (string-append (assoc-ref outputs "out") "/usr"))
- (invoke "sh" "build.sh" "test")))
- (add-before 'install 'no-users
- ;; The installer would like to add user and group too.
- (lambda* _
- (substitute*
- "build.sh"
- (("^ addmympduser")
- "# addmympduser"))
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (setenv "MYMPD_INSTALL_PREFIX"
- (string-append (assoc-ref outputs "out") "/usr"))
- (invoke "sh" "build.sh" "install")))
- ;; (add-after 'unpack 'fix-path
- ;; (lambda* _
- ;; (substitute*
- ;; "src/lib/mympd_configuration.h"
- ;; (("\\.\\./dist/sds/sds\\.h")
- ;; "../../dist/sds/sds.h"))
- ;; ;; (add-after 'unpack 'automake
- ;; ;; (lambda _
- ;; ;; (setenv "SHELL" (which "sh"))
- ;; ;; (setenv "CONFIG_SHELL" (which "sh"))
- ;; ;; (invoke "sh" "autogen.sh")))
- ;; #t))
- )))
- (inputs (list cmake
- pkg-config
- perl
- jq
- pcre2
- openssl
- libid3tag
- flac
- lua))
+ `(#:phases (modify-phases %standard-phases
+ ;; mympd has it's own build scripts.
+ (delete 'configure)
+ (replace 'build
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "MYMPD_INSTALL_PREFIX"
+ (string-append (assoc-ref outputs "out") "/usr"))
+ (invoke "sh" "build.sh" "release")))
+ (replace 'check
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "MYMPD_INSTALL_PREFIX"
+ (string-append (assoc-ref outputs "out") "/usr"))
+ (invoke "sh" "build.sh" "test")))
+ (add-before 'install 'no-users
+ ;; The installer would like to add user and group too.
+ (lambda* _
+ (substitute* "build.sh"
+ (("^ addmympduser") "# addmympduser")) #t))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "MYMPD_INSTALL_PREFIX"
+ (string-append (assoc-ref outputs "out") "/usr"))
+ (invoke "sh" "build.sh" "install"))))))
+ (native-inputs (list cmake pkg-config))
+ (inputs (list flac jq libid3tag lua openssl pcre2 perl))
(home-page "http://parcellite.sourceforge.net/")
- (synopsis "A standalone and lightweight web-based MPD client")
- (description "")
+ (synopsis
+ "This package provides a standalone and lightweight web-based MPD client")
+ (description
+ "myMPD is a standalone and lightweight web-based MPD
+client. It's tuned for minimal resource usage and requires only very
+few dependencies. Therefore myMPD is ideal for raspberry pis and
+similar devices.")
(license license:gpl3)))
+
+;; (add-after 'unpack 'fix-path
+;; (lambda* _
+;; (substitute*
+;; "src/lib/mympd_configuration.h"
+;; (("\\.\\./dist/sds/sds\\.h")
+;; "../../dist/sds/sds.h"))
+;; ;; (add-after 'unpack 'automake
+;; ;; (lambda _
+;; ;; (setenv "SHELL" (which "sh"))
+;; ;; (setenv "CONFIG_SHELL" (which "sh"))
+;; ;; (invoke "sh" "autogen.sh")))
+;; #t))