From 0b5adbed94570827c00536553e7731f4dbe65013 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 24 Jan 2024 20:52:46 -0500 Subject: media-fonts/noto*: update, optimize --- media-fonts/noto-emoji/noto-emoji-20231130.ebuild | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 media-fonts/noto-emoji/noto-emoji-20231130.ebuild (limited to 'media-fonts/noto-emoji/noto-emoji-20231130.ebuild') diff --git a/media-fonts/noto-emoji/noto-emoji-20231130.ebuild b/media-fonts/noto-emoji/noto-emoji-20231130.ebuild new file mode 100644 index 0000000..f42b3b9 --- /dev/null +++ b/media-fonts/noto-emoji/noto-emoji-20231130.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit font + +DESCRIPTION="Google Noto Emoji fonts" +HOMEPAGE="https://fonts.google.com/noto/specimen/Noto+Emoji" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~*" +IUSE="" + +COMMIT="d79d23e6822e0f6e5731b114cbfb26b2a4e380da" +SRC_URI="https://github.com/googlefonts/noto-emoji/raw/${COMMIT}/fonts/Noto-COLRv1.ttf -> Noto-COLRv1-${COMMIT}.ttf" + +S="${WORKDIR}" + +FONT_SUFFIX="ttf" + +src_compile() { + for f in "${DISTDIR}"/*.ttf; do + fn=${f##*/} + cp "$f" "${fn/-$COMMIT}" + done +} -- cgit v1.2.3-70-g09d2