gnu: gfeeds: Update to 2.2.0.

* gnu/packages/syndication.scm (gfeeds): Update to 2.2.0.
[phases]: Fix skip-icon-cache phase.  Use search-input-file in wrap-gfeeds.
This commit is contained in:
Maxim Cournoyer 2023-04-17 14:46:48 -04:00
parent 592c6523b7
commit 2c54d3f489
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -5,6 +5,7 @@
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -534,7 +535,7 @@ (define-public syndication-domination
(define-public gfeeds
(package
(name "gfeeds")
(version "1.0.3")
(version "2.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
@ -543,7 +544,7 @@ (define-public gfeeds
(file-name (git-file-name name version))
(sha256
(base32
"1lkvhff7pl1y4brqsix6sar5yl8flyhfp3w96fx0klhk3586bvhg"))))
"0p2hyjif9yhpc6r3ig7fdxpb2q8s9g42mz38svsc38gq7hb13b2w"))))
(build-system meson-build-system)
(arguments
(list
@ -555,12 +556,12 @@ (define-public gfeeds
(("mpv") (search-input-file inputs "/bin/mpv")))))
(add-after 'unpack 'skip-icon-cache
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))))
(substitute* "meson.build"
(("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false"))))
(add-after 'install 'wrap-gfeeds
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (string-append
(assoc-ref outputs "out") "/bin/gfeeds")
(wrap-program (search-input-file outputs "/bin/gfeeds")
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
`("XDG_DATA_DIRS" ":" prefix (,(getenv "XDG_DATA_DIRS")))))))))