me
/
guix
Archived
1
0
Fork 0

gnu: gnome-screenshot: Update to 41.0-0.9f067cf.

* gnu/packages/gnome.scm (gnome-screenshot): Update to 41.0-0.9f067cf.
[source]: Fetch from git.
[arguments]: Remove #:meson argument.
master
Maxim Cournoyer 2023-04-09 10:36:39 -04:00
parent 523d66f183
commit e1e95fda23
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 43 additions and 40 deletions

View File

@ -9865,48 +9865,51 @@ can add your own files to the collection.")
license:cc-by-sa3.0)))) license:cc-by-sa3.0))))
(define-public gnome-screenshot (define-public gnome-screenshot
(package ;; GNOME Screenshot hasn't had a release in a long time, and the last one
(name "gnome-screenshot") ;; (41) doesn't build with a recent Meson.
(version "41.0") (let ((commit "9f067cf428b6bac78ffac31c1a17a20fb2c24843")
(source (revision "0"))
(origin (package
(method url-fetch) (name "gnome-screenshot")
(uri (string-append "mirror://gnome/sources/" name "/" (version (git-version "41.0" revision commit))
(version-major version) "/" (source (origin
name "-" version ".tar.xz")) (method git-fetch)
(sha256 (uri (git-reference
(base32 (url "https://gitlab.gnome.org/GNOME/gnome-screenshot")
"15wmikwk62cdi93gas77nqh4fbhlrxrncyfmcd1gfa34jbn7vnsa")))) (commit commit)))
(build-system meson-build-system) (file-name (git-file-name name version))
(arguments (sha256
`(#:meson ,meson-0.60 (base32
#:glib-or-gtk? #t "10a3yd9qmfhxiw984a9fyvgrfq6i3w2yxayac0n7qqjl9ysxwb31"))))
#:phases (build-system meson-build-system)
(modify-phases %standard-phases (arguments
(add-after 'unpack 'skip-gtk-update-icon-cache `(#:glib-or-gtk? #t
;; Don't create 'icon-theme.cache'. #:phases
(lambda _ (modify-phases %standard-phases
(substitute* "build-aux/postinstall.py" (add-after 'unpack 'skip-gtk-update-icon-cache
(("gtk-update-icon-cache") "true"))))))) ;; Don't create 'icon-theme.cache'.
(native-inputs (lambda _
(list appstream-glib (substitute* "build-aux/postinstall.py"
desktop-file-utils ; for update-desktop-database (("gtk-update-icon-cache") "true")))))))
gettext-minimal (native-inputs
`(,glib "bin") ; for glib-compile-schemas, etc. (list appstream-glib
pkg-config desktop-file-utils ; for update-desktop-database
python)) gettext-minimal
(inputs `(,glib "bin") ; for glib-compile-schemas, etc.
(list gtk+ pkg-config
libhandy python))
libx11 (inputs
libxext)) (list gtk+
(home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot") libhandy
(synopsis "Take pictures of your screen") libx11
(description libxext))
"GNOME Screenshot is a utility used for taking screenshots of the entire (home-page "https://gitlab.gnome.org/GNOME/gnome-screenshot")
(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 screen, a window or a user defined area of the screen, with optional
beautifying border effects.") beautifying border effects.")
(license license:gpl2+))) (license license:gpl2+))))
(define-public dconf-editor (define-public dconf-editor
(package (package