guix-commits
[Top][All Lists]
Advanced

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

208/295: gnu: libgee: Update package definition.


From: guix-commits
Subject: 208/295: gnu: libgee: Update package definition.
Date: Mon, 27 Jul 2020 06:26:13 -0400 (EDT)

dannym pushed a commit to branch wip-desktop
in repository guix.

commit 0480cbee0db0e37cd2d32e83c87dbc95babd2b87
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Wed Jul 8 13:46:05 2020 -0400

    gnu: libgee: Update package definition.
    
    * gnu/packages/gnome.scm (libgee): Update package definition.
    [build-system]: Change from gnu to glib-or-gtk.
    [native-inputs]: Add gobject-introspection and perl.
    [inputs]: Remove glib and gobject-introspection.
    [propagated-inputs]: Add glib.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/gnome.scm | 48 +++++++++++++++++++++++++-----------------------
 1 file changed, 25 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f0982b2..13dc8a7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6356,37 +6356,39 @@ wraps things up in a developer-friendly way.")
   (package
     (name "libgee")
     (version "0.20.3")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://gnome/sources/libgee/"
-                                  (version-major+minor version) "/"
-                                  "libgee-" version ".tar.xz"))
-              (sha256
-               (base32
-                "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
-    (build-system gnu-build-system)
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "mirror://gnome/sources/libgee/"
+                       (version-major+minor version) "/"
+                       "libgee-" version ".tar.xz"))
+       (sha256
+        (base32
+         "1pm525wm11dhwz24m8bpcln9547lmrigl6cxf3qsbg4cr3pyvdfh"))))
+    (build-system glib-or-gtk-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-introspection-install-dir
-          (lambda* (#:key outputs #:allow-other-keys)
-            (let ((out (assoc-ref outputs "out")))
-              (substitute* "gee/Makefile.in"
-                (("@INTROSPECTION_GIRDIR@")
-                 (string-append out "/share/gir-1.0/"))
-                (("@INTROSPECTION_TYPELIBDIR@")
-                 (string-append out "/lib/girepository-1.0/")))))))))
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (substitute* "gee/Makefile.in"
+                 (("@INTROSPECTION_GIRDIR@")
+                  (string-append out "/share/gir-1.0/"))
+                 (("@INTROSPECTION_TYPELIBDIR@")
+                  (string-append out "/lib/girepository-1.0/")))))))))
     (native-inputs
      `(("glib" ,glib "bin")
+       ("gobject-introspection" ,gobject-introspection)
+       ("perl" ,perl)
        ("pkg-config" ,pkg-config)))
-    (inputs
-     `(("glib" ,glib)
-       ("gobject-introspection" ,gobject-introspection)))
-    (home-page "https://wiki.gnome.org/Projects/Libgee";)
+    (propagated-inputs
+     `(("glib" ,glib)))
     (synopsis "GObject collection library")
-    (description
-     "Libgee is a utility library providing GObject-based interfaces and
-classes for commonly used data structures.")
+    (description "Libgee is a utility library providing GObject-based 
interfaces
+and classes for commonly used data structures.")
+    (home-page "https://wiki.gnome.org/Projects/Libgee";)
     (license license:lgpl2.1+)))
 
 (define-public gexiv2



reply via email to

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