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>
This commit is contained in:
		
							parent
							
								
									8d596af2c9
								
							
						
					
					
						commit
						dbc02656cf
					
				
					 1 changed files with 15 additions and 7 deletions
				
			
		|  | @ -57,6 +57,7 @@ | ||||||
|   #:use-module (gnu packages libusb) |   #:use-module (gnu packages libusb) | ||||||
|   #:use-module (gnu packages lua) |   #:use-module (gnu packages lua) | ||||||
|   #:use-module (gnu packages readline) |   #:use-module (gnu packages readline) | ||||||
|  |   #:use-module (gnu packages ruby) | ||||||
|   #:use-module (gnu packages check) |   #:use-module (gnu packages check) | ||||||
|   #:use-module (gnu packages compression) |   #:use-module (gnu packages compression) | ||||||
|   #:use-module (gnu packages curl) |   #:use-module (gnu packages curl) | ||||||
|  | @ -622,7 +623,7 @@ mpdevil loads all tags and covers on demand.") | ||||||
| (define-public mympd | (define-public mympd | ||||||
|   (package |   (package | ||||||
|     (name "mympd") |     (name "mympd") | ||||||
|     (version "12.1.1") |     (version "13.0.5") | ||||||
|     (source (origin |     (source (origin | ||||||
|               (method git-fetch) |               (method git-fetch) | ||||||
|               (uri (git-reference |               (uri (git-reference | ||||||
|  | @ -631,22 +632,29 @@ mpdevil loads all tags and covers on demand.") | ||||||
|               (file-name (git-file-name name version)) |               (file-name (git-file-name name version)) | ||||||
|               (sha256 |               (sha256 | ||||||
|                (base32 |                (base32 | ||||||
|                 "1bal31xmdmq46bi0qmia07sqcwy695vcz5y5hxwkz71rcfywbsf9")))) |                 "1ly3iw4irybfxyafgrldldwc28a879wwnd1pg32m2sgrwyhr0czm")))) | ||||||
|  |     (outputs '("out" "doc")) | ||||||
|     (build-system cmake-build-system) |     (build-system cmake-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      (list |      (list | ||||||
|       #:configure-flags |       #:configure-flags | ||||||
|       #~(list "-DMYMPD_BUILD_TESTING=ON" |       #~(list "-DCMAKE_INSTALL_LOCALSTATEDIR=/var" | ||||||
|               ;; Handled by 'strip' phase. |               "-DMYMPD_BUILD_TESTING=ON" | ||||||
|               "-DMYMPD_STRIP_BINARY=OFF") |               "-DMYMPD_DOC_HTML=ON") | ||||||
|       #:phases |       #:phases | ||||||
|       #~(modify-phases %standard-phases |       #~(modify-phases %standard-phases | ||||||
|           (replace 'check |           (replace 'check | ||||||
|             (lambda* (#:key tests? #:allow-other-keys) |             (lambda* (#:key tests? #:allow-other-keys) | ||||||
|               (when tests? |               (when tests? | ||||||
|                 ;; The following test requires network connectivity. |                 ;; The following test requires network connectivity. | ||||||
|                 (invoke "ctest" "--exclude-regex" "test_http_client"))))))) |                 (invoke "ctest" "--exclude-regex" "test_http_client")))) | ||||||
|     (native-inputs (list jq perl pkg-config)) |           (add-after 'install 'move-doc | ||||||
|  |             (lambda _ | ||||||
|  |               (let ((old (string-append #$output "/share/doc")) | ||||||
|  |                     (new (string-append #$output:doc "/share/doc"))) | ||||||
|  |                 (mkdir-p (dirname new)) | ||||||
|  |                 (rename-file old new))))))) | ||||||
|  |     (native-inputs (list jekyll jq perl pkg-config)) | ||||||
|     (inputs (list flac libid3tag lua openssl pcre2)) |     (inputs (list flac libid3tag lua openssl pcre2)) | ||||||
|     (home-page "https://jcorporation.github.io/") |     (home-page "https://jcorporation.github.io/") | ||||||
|     (synopsis "Web-based MPD client") |     (synopsis "Web-based MPD client") | ||||||
|  |  | ||||||
		Reference in a new issue