gnu: libical: Enable introspection and Vala bindings.

* gnu/packages/calendar.scm (libical)[arguments]: Enable introspection and
Vala bindings.
[native-inputs]: Add gobject-introspection and vala.

(cherry picked from commit 1538791f20)
This commit is contained in:
Kei Kebreau 2020-04-14 11:06:07 -04:00
parent 5b4ebb42dc
commit 123e429e4c
No known key found for this signature in database
GPG key ID: E6A5EE3C19467A0D

View file

@ -38,6 +38,7 @@ (define-module (gnu packages calendar)
#:use-module (gnu packages dav)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages perl)
@ -136,7 +137,10 @@ (define-public libical
(build-system cmake-build-system)
(arguments
'(#:tests? #f ; test suite appears broken
#:configure-flags '("-DSHARED_ONLY=true")
#:configure-flags '("-DSHARED_ONLY=true"
;; required by evolution-data-server
"-DGOBJECT_INTROSPECTION=true"
"-DICAL_GLIB_VAPI=true")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-paths
@ -153,9 +157,11 @@ (define-public libical
(("\\\"/usr/share/lib/zoneinfo\\\"") "")))
#t)))))
(native-inputs
`(("gtk-doc" ,gtk-doc)
`(("gobject-introspection" ,gobject-introspection)
("gtk-doc" ,gtk-doc)
("perl" ,perl)
("pkg-config" ,pkg-config)))
("pkg-config" ,pkg-config)
("vala" ,vala)))
(inputs
`(("glib" ,glib)
("libxml2" ,libxml2)