diff options
author | Pacho Ramos <pacho@gentoo.org> | 2024-12-01 12:29:11 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2024-12-01 12:36:18 +0100 |
commit | a5892bfed08926cfe73499ad5310fdf06cd6009d (patch) | |
tree | 49057e0c47c6315977c59f69a7f1a72d4ae33a19 /media-fonts/noto | |
parent | media-gfx/tintii: setup-wxwidgets called from src_configure (diff) | |
download | gentoo-a5892bfed08926cfe73499ad5310fdf06cd6009d.tar.gz gentoo-a5892bfed08926cfe73499ad5310fdf06cd6009d.tar.bz2 gentoo-a5892bfed08926cfe73499ad5310fdf06cd6009d.zip |
media-fonts/noto: add 20241201
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-fonts/noto')
-rw-r--r-- | media-fonts/noto/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/noto/noto-20241201.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index 0e32820cc2ef..b27fb723c1aa 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,3 +1,4 @@ DIST noto-20240731.tar.gz 1087189796 BLAKE2B 939cc60437521166c01c7255c23e33fa29d8eebd186191bde8bc79a3b9a27c25e9b393af92a55926b398f8540da2c676cda3720d844689d38b029397620e4c88 SHA512 0361b602f6e9545ffdcae85674f8d3bec1235cec506a271a5f857f80f339562972461dc70d89ebf0dce42bb13235e0b59c0b121292983843534cb489c69b4218 DIST noto-20240830.tar.gz 1087158158 BLAKE2B e3b3410fa3c3fbd48e3224f7a22a46377ffa50d36df4027902bd86949579d33ebfb883939feba62ce8520a10d1c982c0c600e7363d5e3a752e76d75059eedf5b SHA512 cf3ac08d2c1fb134194ce6b1211d63ab5fc00adcfc92106afdd872ad9fb75cbf0437d88314a8cc3681fa93974f37c736685f529231ad5e8f8eca429876ee0032 DIST noto-20241101.tar.gz 1086999253 BLAKE2B 237d96dcd89ed86c6edfb3316d420eb7ca00a4486a7bb54087896330d21ee87307c16b6991b897eb87459c3f0fa1739f879347c9c24f1ef1f2aa953c2051a3a8 SHA512 dfc31ebe3cd5947182ac771e1bcbbc7cd3a1b56b5a9aa74a0fcc94ff6a5060a3cb8bc57a01587d955fc7505e566dd3a7283d7fd521c839b264e55ca2c9297c13 +DIST noto-20241201.tar.gz 1086893249 BLAKE2B 5635c170bcef1c7122003c3cf77945ba394ef962d384f7e311cba2234734e30b4cc54a7860173cf5be5ec1d71793f7470d56def9a8d8956790ad28484867830e SHA512 b25c928f33553b52f4bfbd6c2b597fffafe6316651e2660584f68dd5d5c6f30d297a7ac65ab0a3a4d92aa84002829f213b9d31e6e84f0c959f5c00497d68088c diff --git a/media-fonts/noto/noto-20241201.ebuild b/media-fonts/noto/noto-20241201.ebuild new file mode 100644 index 000000000000..bdb1e009b3af --- /dev/null +++ b/media-fonts/noto/noto-20241201.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 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="eabc8c16e34b64e6a6c376c5fdb6b203ed3d7cfd" +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="cjk +extra" + +RDEPEND="cjk? ( media-fonts/noto-cjk )" + +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] +} |