diff mbox series

[bug#62910] gnu: font-amiri: Update to 1.000.

Message ID 20230417180330.892563-1-code@greghogan.com
State New
Headers show
Series [bug#62910] gnu: font-amiri: Update to 1.000. | expand

Commit Message

Greg Hogan April 17, 2023, 6:03 p.m. UTC
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(-)

Comments

Nicolas Goaziou April 22, 2023, 10:04 a.m. UTC | #1
Hello,

Greg Hogan <code@greghogan.com> writes:

> 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.

Applied. Thank you.

Regards,
diff mbox series

Patch

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)))))