1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-11 03:24:04 +02:00

gnu: font-openmoji: Update to 15.1.0.

* gnu/packages/fonts.scm (font-openmoji): Update to 15.1.0.
[native-inputs]: Remove unzip.

Change-Id: I7aed4a6f3778a3056b354bb917b561adf0084c4c
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Kurome
2025-03-29 15:38:30 +09:00
committed by Andreas Enge
parent 23c783aacb
commit 2ed28b5c24
+26 -29
View File
@@ -2564,49 +2564,46 @@ emphasis while still being readable.")
(license license:silofl1.1)))
(define-public font-openmoji
(let ((commit "93f059dfb68401d49beaef7a3e09b80072b51a1f")
(revision "1"))
(package
(package
(name "font-openmoji")
(version (git-version "14.0.0" revision commit))
(version "15.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hfg-gmuend/openmoji/")
(commit commit)))
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"16w4lg2y6qzb45j08l7cdwprjhprsm11jsm6nxzxwy2wzykd7gxk"))))
(base32 "1iil5jmkkqrqgq06q3gvgv7j1bq8499q3h2340prwlfi2sqcqzlk"))))
(build-system font-build-system)
(arguments (list #:modules `((ice-9 ftw)
(guix build font-build-system)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _ (chdir "font")))
(add-after 'chdir 'strip-alternative-variants
(lambda _
(let ((keep '("OpenMoji-black-glyf"
"OpenMoji-color-glyf_colr_0"
"."
"..")))
(for-each (lambda (f)
(unless (member f keep)
(delete-file-recursively f)))
(scandir ".")))))
(add-before 'install-license-files 'chdir-back
(lambda _ (chdir ".."))))))
(native-inputs
(list unzip))
(arguments
(list
#:modules `((ice-9 ftw)
(guix build font-build-system)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir "font")))
(add-after 'chdir 'strip-alternative-variants
(lambda _
(let ((keep '("OpenMoji-black-glyf" "OpenMoji-color-glyf_colr_0"
"." "..")))
(for-each (lambda (f)
(unless (member f keep)
(delete-file-recursively f)))
(scandir ".")))))
(add-before 'install-license-files 'chdir-back
(lambda _
(chdir ".."))))))
(home-page "https://openmoji.org")
(synopsis "Font for rendering emoji characters")
(description
"This package provides the OpenMoji font in both color and black
variants.")
(license license:cc-by-sa4.0))))
(license license:cc-by-sa4.0)))
(define-public font-dosis
(package