aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-05-26 08:06:20 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-06-04 08:20:14 +0200
commit709fd0e5e0a318c7272776efc6472487e8a28ddd (patch)
tree0acef590286359ba964f875e430471cb3a207fbe /gnu/packages
parent0d6749be37890dd24d2b46ace5752ac96160dc12 (diff)
downloadguix-709fd0e5e0a318c7272776efc6472487e8a28ddd.tar.gz
guix-709fd0e5e0a318c7272776efc6472487e8a28ddd.zip
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/mpd.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 1b0acc81db..3259217989 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -132,7 +132,8 @@ interfacing MPD in the C, C++ & Objective C languages.")
(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 @@ interfacing MPD in the C, C++ & Objective C languages.")
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