summary refs log tree commit diff
diff options
context:
space:
mode:
authorKei Kebreau <kkebreau@posteo.net>2020-01-02 22:01:28 -0500
committerKei Kebreau <kkebreau@posteo.net>2020-01-17 15:19:14 -0500
commitdfb01912865898545c278e691f43db31aed301aa (patch)
treecfb54e2f180a88d48d85b41905d982166eab1db4
parent952fe2da0c1c2029076855bbbf7934360fc82b3a (diff)
downloadguix-dfb01912865898545c278e691f43db31aed301aa.tar.gz
gnu: gnucash: Enable libofx support.
* gnu/packages/gnucash.scm (gnucash)[arguments]: Remove '-DWITH_OFX=OFF'
configure flag to enable libofx support.
[inputs]: Add libofx.
[propagated-inputs]: Add dconf.
-rw-r--r--gnu/packages/gnucash.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index 8050fee43e..43aad3ed02 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -37,6 +37,7 @@
   #:use-module (gnu packages databases)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages finance)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
@@ -76,6 +77,7 @@
        ("libdbi" ,libdbi)
        ("libdbi-drivers" ,libdbi-drivers)
        ("libgnomecanvas" ,libgnomecanvas)
+       ("libofx" ,libofx)
        ("libxml2" ,libxml2)
        ("libxslt" ,libxslt)
        ("webkitgtk" ,webkitgtk)
@@ -90,11 +92,12 @@
        ("googletest" ,googletest)
        ("gnucash-docs" ,gnucash-docs)
        ("pkg-config" ,pkg-config)))
+    (propagated-inputs
+     ;; dconf is required at runtime according to README.dependencies.
+     `(("dconf" ,dconf)))
     (outputs '("out" "doc" "debug"))
     (arguments
      `(#:test-target "check"
-       #:configure-flags
-       (list "-DWITH_OFX=OFF")          ; libofx is not available yet
        #:make-flags '("GUILE_AUTO_COMPILE=0")
        #:modules ((guix build cmake-build-system)
                   ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)