From f8fcd6e533ec50a0c3e1cb86a26c7b3109305f00 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 16 Jul 2023 02:00:00 +0200 Subject: gnu: evince: Parameterise source URI. * gnu/packages/gnome.scm (evince)[source]: Use VERSION. --- gnu/packages/gnome.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'gnu') 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 -- cgit 1.4.1