gnu: mpd: Enable tests.

With this, ninja will no longer report “no work to do” when inside the
`check' phase.

* gnu/packages/mpd.scm [arguments]<#:configure-flags>: Add “-Dtest=true”.
[native-inputs]: Add googletest and zip.  Remove cmake.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Bruno Victal 2023-05-26 08:06:20 +01:00 committed by Liliana Marie Prikler
parent 0d6749be37
commit 709fd0e5e0
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -132,7 +132,8 @@ (define-public mpd
(arguments
(list
#:configure-flags #~(list "-Ddocumentation=enabled"
"-Dsystemd=enabled")
"-Dsystemd=enabled"
"-Dtest=true")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'enable-elogind
@ -182,7 +183,12 @@ (define-public mpd
yajl
zlib
zziplib)))
(native-inputs (list cmake pkg-config python-sphinx))
(native-inputs (list pkg-config python-sphinx googletest
;; See test/meson.build for information about these
;; additional dependencies.
;;
;; Used when zziplib feature is enabled.
zip))
;; Missing optional inputs:
;; libcdio_paranoia
;; libmms