summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-11-20 17:33:08 +0000
committerChristopher Baines <mail@cbaines.net>2023-11-23 14:01:17 +0000
commitdbc02656cf4804821e68d655fc871e2365150f43 (patch)
tree9147b04c90dd68304e792696ad9f3be2c17cc841 /gnu/packages
parent8d596af2c9a80095b6b58853f8e971d806ad9f62 (diff)
gnu: mympd: Update to 13.0.5.
* gnu/packages/mpd.scm (mympd): Update to 13.0.5. [native-inputs]: Add jekyll. [outputs]: Add 'doc. [arguments]<#:configure-flags>: Install HTML documentation. Set correct value for localstatedir. <#:phases>: Add 'move-doc. Change-Id: I0f1ab4295b7bc03876ad1bbeff6154b4da6adc9a Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mpd.scm22
1 files changed, 15 insertions, 7 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index b01d1934a2f..dc827a46706 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -57,6 +57,7 @@
57 #:use-module (gnu packages libusb) 57 #:use-module (gnu packages libusb)
58 #:use-module (gnu packages lua) 58 #:use-module (gnu packages lua)
59 #:use-module (gnu packages readline) 59 #:use-module (gnu packages readline)
60 #:use-module (gnu packages ruby)
60 #:use-module (gnu packages check) 61 #:use-module (gnu packages check)
61 #:use-module (gnu packages compression) 62 #:use-module (gnu packages compression)
62 #:use-module (gnu packages curl) 63 #:use-module (gnu packages curl)
@@ -622,7 +623,7 @@ mpdevil loads all tags and covers on demand.")
622(define-public mympd 623(define-public mympd
623 (package 624 (package
624 (name "mympd") 625 (name "mympd")
625 (version "12.1.1") 626 (version "13.0.5")
626 (source (origin 627 (source (origin
627 (method git-fetch) 628 (method git-fetch)
628 (uri (git-reference 629 (uri (git-reference
@@ -631,22 +632,29 @@ mpdevil loads all tags and covers on demand.")
631 (file-name (git-file-name name version)) 632 (file-name (git-file-name name version))
632 (sha256 633 (sha256
633 (base32 634 (base32
634 "1bal31xmdmq46bi0qmia07sqcwy695vcz5y5hxwkz71rcfywbsf9")))) 635 "1ly3iw4irybfxyafgrldldwc28a879wwnd1pg32m2sgrwyhr0czm"))))
636 (outputs '("out" "doc"))
635 (build-system cmake-build-system) 637 (build-system cmake-build-system)
636 (arguments 638 (arguments
637 (list 639 (list
638 #:configure-flags 640 #:configure-flags
639 #~(list "-DMYMPD_BUILD_TESTING=ON" 641 #~(list "-DCMAKE_INSTALL_LOCALSTATEDIR=/var"
640 ;; Handled by 'strip' phase. 642 "-DMYMPD_BUILD_TESTING=ON"
641 "-DMYMPD_STRIP_BINARY=OFF") 643 "-DMYMPD_DOC_HTML=ON")
642 #:phases 644 #:phases
643 #~(modify-phases %standard-phases 645 #~(modify-phases %standard-phases
644 (replace 'check 646 (replace 'check
645 (lambda* (#:key tests? #:allow-other-keys) 647 (lambda* (#:key tests? #:allow-other-keys)
646 (when tests? 648 (when tests?
647 ;; The following test requires network connectivity. 649 ;; The following test requires network connectivity.
648 (invoke "ctest" "--exclude-regex" "test_http_client"))))))) 650 (invoke "ctest" "--exclude-regex" "test_http_client"))))
649 (native-inputs (list jq perl pkg-config)) 651 (add-after 'install 'move-doc
652 (lambda _
653 (let ((old (string-append #$output "/share/doc"))
654 (new (string-append #$output:doc "/share/doc")))
655 (mkdir-p (dirname new))
656 (rename-file old new)))))))
657 (native-inputs (list jekyll jq perl pkg-config))
650 (inputs (list flac libid3tag lua openssl pcre2)) 658 (inputs (list flac libid3tag lua openssl pcre2))
651 (home-page "https://jcorporation.github.io/") 659 (home-page "https://jcorporation.github.io/")
652 (synopsis "Web-based MPD client") 660 (synopsis "Web-based MPD client")