guix-commits
[Top][All Lists]
Advanced

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

163/265: gnu: gnome-screenshot: Update package definition.


From: guix-commits
Subject: 163/265: gnu: gnome-screenshot: Update package definition.
Date: Wed, 19 Aug 2020 13:09:18 -0400 (EDT)

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

commit 389dc92aa2b0bd466d1a9341ebe3e50511299945
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu Aug 6 14:54:00 2020 -0400

    gnu: gnome-screenshot: Update package definition.
    
    * gnu/packages/gnome.scm (gnome-screenshot) [version]: Update to 3.36.0.
    [source]<origin>[sha256]: Modify base32.
    [arguments]<#:glib-or-gtk?>: New argument.
    [native-inputs]: Add libxml2. Remove appstream-glib.
    [inputs]: Add glib.
    [description]: Modify.
    
    Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
 gnu/packages/gnome.scm | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f4c379f..633d448 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10265,43 +10265,43 @@ packaged with the GNOME desktop.")
 (define-public gnome-screenshot
   (package
     (name "gnome-screenshot")
-    (version "3.34.0")
+    (version "3.36.0")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://gnome/sources/" name "/"
-                           (version-major+minor version) "/"
-                           name "-" version ".tar.xz"))
+       (uri
+        (string-append "mirror://gnome/sources/" name "/"
+                       (version-major+minor version) "/"
+                       name "-" version ".tar.xz"))
        (sha256
-        (base32
-         "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8"))))
+        (base32 "0rhj6fkpxfm26jv3vsn7yb2ybkc2k86ggy23nxa945q74y4msj9k"))))
     (build-system meson-build-system)
     (arguments
-     '(#:phases
+     `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'skip-gtk-update-icon-cache
-           ;; Don't create 'icon-theme.cache'.
            (lambda _
              (substitute* "build-aux/postinstall.py"
-               (("gtk-update-icon-cache") "true"))
+               (("gtk-update-icon-cache")
+                "true"))
              #t)))))
     (native-inputs
-     `(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
-       ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
+     `(("glib:bin" ,glib "bin")
+       ("desktop-file-utils" ,desktop-file-utils)
        ("intltool" ,intltool)
-       ("appstream-glib" ,appstream-glib)
-       ("pkg-config" ,pkg-config)))
+       ("pkg-config" ,pkg-config)
+       ("xmllint" ,libxml2)))
     (inputs
-     `(("gtk+" ,gtk+)
+     `(("glib" ,glib)
+       ("gtk+" ,gtk+)
        ("libcanberra" ,libcanberra)
-       ("libx11" ,libx11)
-       ("libxext" ,libxext)))
-    (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot";)
+       ("x11" ,libx11)
+       ("xext" ,libxext)))
     (synopsis "Take pictures of your screen")
-    (description
-     "GNOME Screenshot is a utility used for taking screenshots of the entire
-screen, a window or a user defined area of the screen, with optional
-beautifying border effects.")
+    (description "GNOME-Screenshot is a small utility that takes a screenshot 
of
+the whole desktop; the currently focused window; or an area of the screen.")
+    (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot";)
     (license license:gpl2+)))
 
 (define-public dconf-editor



reply via email to

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