Subject: [PATCH] gnu: font-amiri: Update to 1.000.
From: Greg Hogan <[email-masked]>
To: [email-masked]
Cc: Greg Hogan <[email-masked]>
Date: Mon, 17 Apr 2023 18:03:30 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Fix for the broken build on master.

* gnu/packages/fonts.scm (font-amiri): Update to 1.000.
[arguments](%standard-phases): Add 'patch-source' to hard-code version.
---
 gnu/packages/fonts.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 4aa143a29d..6cd261f42e 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -814,7 +814,7 @@ (define-public font-latin-modern
 (define-public font-amiri
   (package
     (name "font-amiri")
-    (version "0.117")
+    (version "1.000")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -823,7 +823,7 @@ (define-public font-amiri
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1z2hdmny52bapakf96y5xfr29f8ax7q6nj651zrihnnhfdriqfx1"))))
+                "0c4yg1b03aihdqvz6w5ak8wapni3l8p18mw6bkqhblmm75jb5kif"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -832,6 +832,10 @@ (define-public font-amiri
       #:modules `(,@%gnu-build-system-modules
                   ((guix build font-build-system) #:prefix font:))
       #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-source
+                     (lambda _
+                       (substitute* "Makefile"
+                         (("^TAG=.*") (string-append "TAG=" #$version "\n")))))
                    (delete 'configure)
                    (replace 'install
                      (assoc-ref font:%standard-phases 'install)))))
-- 
2.40.0