gnu: gnome-screenshot: Update to 41.0.

* gnu/packages/gnome.scm (gnome-screenshot): Update to 41.0.
[glib-or-gtk?]: New argument.
[native-inputs]: Remove labels and sort.  Replace intltool with
gettext-minimal.
[inputs]: Remove libcanberra.
This commit is contained in:
Maxim Cournoyer 2022-09-05 22:16:28 -04:00
parent 4f99135131
commit f93ad1565b
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -9498,7 +9498,7 @@ (define-public gnome-backgrounds
(define-public gnome-screenshot (define-public gnome-screenshot
(package (package
(name "gnome-screenshot") (name "gnome-screenshot")
(version "40.0") (version "41.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -9507,12 +9507,13 @@ (define-public gnome-screenshot
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1qm544ymwibk31s30k47vnn79xg30m18r7l4di0c57g375dak31n")) "15wmikwk62cdi93gas77nqh4fbhlrxrncyfmcd1gfa34jbn7vnsa"))
(patches (patches
(search-patches "gnome-screenshot-meson-0.60.patch")))) (search-patches "gnome-screenshot-meson-0.60.patch"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
'(#:phases '(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache (add-after 'unpack 'skip-gtk-update-icon-cache
;; Don't create 'icon-theme.cache'. ;; Don't create 'icon-theme.cache'.
@ -9520,14 +9521,17 @@ (define-public gnome-screenshot
(substitute* "build-aux/postinstall.py" (substitute* "build-aux/postinstall.py"
(("gtk-update-icon-cache") "true"))))))) (("gtk-update-icon-cache") "true")))))))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc. (list appstream-glib
("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database desktop-file-utils ; for update-desktop-database
("intltool" ,intltool) gettext-minimal
("appstream-glib" ,appstream-glib) `(,glib "bin") ; for glib-compile-schemas, etc.
("pkg-config" ,pkg-config) pkg-config
("python" ,python))) python))
(inputs (inputs
(list gtk+ libcanberra libhandy libx11 libxext)) (list gtk+
libhandy
libx11
libxext))
(home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot") (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
(synopsis "Take pictures of your screen") (synopsis "Take pictures of your screen")
(description (description