guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/07: gnu: libgweather: Enable vala support.


From: Ludovic Courtès
Subject: 05/07: gnu: libgweather: Enable vala support.
Date: Sat, 23 Sep 2017 12:35:34 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1d3fcf944a0a7eb187f8edf2ba59d6e9497d2d98
Author: Mohammed Sadiq <address@hidden>
Date:   Fri Sep 22 21:28:53 2017 +0530

    gnu: libgweather: Enable vala support.
    
    * gnu/packages/gnome.scm (libgweather)[native-inputs]: Add vala.
    (libgweather)[arguments]: Install vala bindings into out.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/gnome.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index bee1f3b..ebfc844 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -26,6 +26,7 @@
 ;;; Copyright © 2017 Hartmut Goebel <address@hidden>
 ;;; Copyright © 2017 nee <address@hidden>
 ;;; Copyright © 2017 Chris Marusich <address@hidden>
+;;; Copyright © 2017 Mohammed Sadiq <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2963,11 +2964,20 @@ service via the system message bus.")
              (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]