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.
This commit is contained in:
Kei Kebreau 2020-01-02 22:01:28 -05:00
parent 952fe2da0c
commit dfb0191286
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -37,6 +37,7 @@ (define-module (gnu packages gnucash)
#:use-module (gnu packages databases) #:use-module (gnu packages databases)
#:use-module (gnu packages docbook) #:use-module (gnu packages docbook)
#:use-module (gnu packages documentation) #:use-module (gnu packages documentation)
#:use-module (gnu packages finance)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages gnome) #:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
@ -76,6 +77,7 @@ (define-public gnucash
("libdbi" ,libdbi) ("libdbi" ,libdbi)
("libdbi-drivers" ,libdbi-drivers) ("libdbi-drivers" ,libdbi-drivers)
("libgnomecanvas" ,libgnomecanvas) ("libgnomecanvas" ,libgnomecanvas)
("libofx" ,libofx)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("libxslt" ,libxslt) ("libxslt" ,libxslt)
("webkitgtk" ,webkitgtk) ("webkitgtk" ,webkitgtk)
@ -90,11 +92,12 @@ (define-public gnucash
("googletest" ,googletest) ("googletest" ,googletest)
("gnucash-docs" ,gnucash-docs) ("gnucash-docs" ,gnucash-docs)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(propagated-inputs
;; dconf is required at runtime according to README.dependencies.
`(("dconf" ,dconf)))
(outputs '("out" "doc" "debug")) (outputs '("out" "doc" "debug"))
(arguments (arguments
`(#:test-target "check" `(#:test-target "check"
#:configure-flags
(list "-DWITH_OFX=OFF") ; libofx is not available yet
#:make-flags '("GUILE_AUTO_COMPILE=0") #:make-flags '("GUILE_AUTO_COMPILE=0")
#:modules ((guix build cmake-build-system) #:modules ((guix build cmake-build-system)
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)