aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/photo.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2020-12-24 20:55:31 -0300
committerLeo Famulari <leo@famulari.name>2020-12-24 23:10:17 -0500
commitadaf577c2eba6a847be7dc4a1e0b5be841119eaf (patch)
treeb79d862e7c4a907db120c5ad273db176d6ccadf8 /gnu/packages/photo.scm
parent7f81a0f7e90f206e243eb711a48972a462603bb0 (diff)
downloadguix-adaf577c2eba6a847be7dc4a1e0b5be841119eaf.tar
guix-adaf577c2eba6a847be7dc4a1e0b5be841119eaf.tar.gz
gnu: darktable: Enable tests.
* gnu/packages/photo.scm (darktable)[arguments]: Pass "-DBUILD_TESTING=On" to #:configure-flags. [native-inputs]: Add cmocka. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages/photo.scm')
-rw-r--r--gnu/packages/photo.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index f1b8d390a1..5402826fd6 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -41,6 +41,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages check)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages cups)
@@ -479,8 +480,8 @@ photographic equipment.")
(base32 "1nmx5lmhp7igav5pswqxmacsbnhgydgvxh1q53wlmyd9bqgxxlvd"))))
(build-system cmake-build-system)
(arguments
- `(#:tests? #f ; there are no tests
- #:configure-flags '("-DBINARY_PACKAGE_BUILD=On")
+ `(#:configure-flags '("-DBINARY_PACKAGE_BUILD=On"
+ "-DBUILD_TESTING=On")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'prepare-build-environment
@@ -521,6 +522,7 @@ photographic equipment.")
#t)))))
(native-inputs
`(("clang" ,clang-11)
+ ("cmocka" ,cmocka)
("desktop-file-utils" ,desktop-file-utils)
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)