summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-16 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-16 02:00:00 +0200
commitf8fcd6e533ec50a0c3e1cb86a26c7b3109305f00 (patch)
tree6ea650d839f9068b9e17c05a695b9cccd00613b6
parent91344faa93c15eaecabd80e14f5ab85e35245a2f (diff)
gnu: evince: Parameterise source URI.
* gnu/packages/gnome.scm (evince)[source]: Use VERSION.
-rw-r--r--gnu/packages/gnome.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4f5734dc0a..f2654c3f4e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2611,12 +2611,14 @@ forgotten when the session ends.")
(package
(name "evince")
(version "44.1")
- (source (origin
- (method url-fetch)
- (uri "mirror://gnome/sources/evince/44/evince-44.1.tar.xz")
- (sha256
- (base32
- "0523lzk7xpfr6gir8nx80fmp1lhajm837hilmgn8zczz2nxx7bqm"))))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnome/sources/evince/"
+ (version-major version) "/"
+ "evince-" version ".tar.xz"))
+ (sha256
+ (base32 "0523lzk7xpfr6gir8nx80fmp1lhajm837hilmgn8zczz2nxx7bqm"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t