From 1d3fcf944a0a7eb187f8edf2ba59d6e9497d2d98 Mon Sep 17 00:00:00 2001 From: Mohammed Sadiq Date: Fri, 22 Sep 2017 21:28:53 +0530 Subject: gnu: libgweather: Enable vala support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gnome.scm (libgweather)[native-inputs]: Add vala. (libgweather)[arguments]: Install vala bindings into out. Signed-off-by: Ludovic Courtès --- gnu/packages/gnome.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index bee1f3bc93..ebfc844aab 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2017 Hartmut Goebel ;;; Copyright © 2017 nee ;;; Copyright © 2017 Chris Marusich +;;; Copyright © 2017 Mohammed Sadiq ;;; ;;; This file is part of GNU Guix. ;;; @@ -2963,11 +2964,20 @@ (define-public libgweather (substitute* "data/Locations.xml" (("Asia/Rangoon") "Asia/Yangon")) - #t))))) + #t)) + (replace 'install + (lambda _ + (zero? + (system* "make" + ;; Install vala bindings into $out. + (string-append "vapidir=" %output + "/share/vala/vapi") + "install"))))))) (native-inputs `(("glib:bin" ,glib "bin") ; for glib-mkenums ("gobject-introspection" ,gobject-introspection) ("pkg-config" ,pkg-config) + ("vala" ,vala) ("intltool" ,intltool))) (propagated-inputs ;; gweather-3.0.pc refers to GTK+, GDK-Pixbuf, GLib/GObject, libxml, and -- cgit v1.2.3