mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-fonts/noto: add 20260601
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST noto-20260301.tar.gz 1099206619 BLAKE2B 0b4424eab8e48427c4f9312472bf41b47a8459fc9854d2148c7d6c3392c2af5b636707787c5f4c4a03b69d0fed02c75ca2f71b99377d0c217836086d85456df7 SHA512 a36d4caca9705c81000ebf37f15ec86340a0079da2ceb234846f77652f8d922d79589c0a8bf46c3c233144234514764166da95e6159eab6c13f6372d28e10bc9
|
||||
DIST noto-20260401.tar.gz 1099246713 BLAKE2B a90f279f394c5e0c05deb22482208b7924fffecca035f2062cb5ef91f32d1af8b22d7a536bcdd5f3ca64bea1965c37926c1b276e4b6a8e23c6313365dea2725f SHA512 d9596f7f83fa0ab5b82f3e1687e08483efc072e29f147aa86cd6b32ff9b630c3cc18600b4b98e13e89e18047659df8fe44f682b56cc8ea5b91a58566b398394f
|
||||
DIST noto-20260501.tar.gz 1099246713 BLAKE2B a90f279f394c5e0c05deb22482208b7924fffecca035f2062cb5ef91f32d1af8b22d7a536bcdd5f3ca64bea1965c37926c1b276e4b6a8e23c6313365dea2725f SHA512 d9596f7f83fa0ab5b82f3e1687e08483efc072e29f147aa86cd6b32ff9b630c3cc18600b4b98e13e89e18047659df8fe44f682b56cc8ea5b91a58566b398394f
|
||||
DIST noto-20260601.tar.gz 1099286835 BLAKE2B bf90ef5554c4f48e992318b5bbd5ec1972d2988e62802e2aa673be37370e5b38b8e5c8a615b8595b8b4c3f5f9b2bb10e165e7d027370c3f835c02d7a67a5b004 SHA512 eb050536b4fcae5ab37e7a9b381fe0745b79d11b761ab6537511d67cd5c13c4b3083234a6f880f14242ba34c94195b310f9590ab40cf67e6e9363a541b809cbf
|
||||
|
||||
40
media-fonts/noto/noto-20260601.ebuild
Normal file
40
media-fonts/noto/noto-20260601.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="Google's font family that aims to support all the world's languages"
|
||||
HOMEPAGE="https://fonts.google.com/noto https://github.com/notofonts/notofonts.github.io"
|
||||
|
||||
COMMIT="cc22e3ec1491171c13ccf17b6297ac666b2c0112"
|
||||
SRC_URI="https://github.com/notofonts/notofonts.github.io/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/notofonts.github.io-${COMMIT}"
|
||||
|
||||
LICENSE="OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
# Extra allows to optionally reduce disk usage even returning to tofu
|
||||
# issue as described in https://fonts.google.com/noto
|
||||
IUSE="+extra"
|
||||
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
FONT_SUFFIX="ttf"
|
||||
FONT_CONF=(
|
||||
# From ArchLinux
|
||||
"${FILESDIR}/66-noto-serif.conf"
|
||||
"${FILESDIR}/66-noto-mono.conf"
|
||||
"${FILESDIR}/66-noto-sans.conf"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
mkdir install-hinted || die
|
||||
mv fonts/*/hinted/ttf/*.tt[fc] install-hinted/. || die
|
||||
|
||||
FONT_S="${S}/install-hinted/" font_src_install
|
||||
|
||||
# Allow to drop some fonts optionally for people that want to save
|
||||
# disk space. Following ArchLinux options.
|
||||
use extra || rm -rf "${ED}"/usr/share/fonts/noto/Noto*{Condensed,SemiBold,Extra}*.tt[f,c]
|
||||
}
|
||||
Reference in New Issue
Block a user