diff options
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/noto/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/noto/noto-20181024.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index 2801605b394b..f8515935341b 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,2 +1,3 @@ DIST noto-20170403.tar.xz 11083152 BLAKE2B 8281cc19a100d1cbf7f57fba9cba077bb0005f7296f58d48247bef6c804b53597ff359dfab7b7d851e42c0294c757f311979b98dc9f1c22e2d3f3fabe4db77e7 SHA512 f8f1414b5b6f793e86ef3cc6a6320c4545f079b337c7672cb8cccc3c50d21d353d81557da4a555cdb6524c79be3e4c167f7d5aac102c38d64926f3b1887ca7f3 DIST noto-20180905.tar.gz 666633675 BLAKE2B 209e28ba8feb7367381fb3cc1cb0f1109167f9b339c9a18c347592cb95a060e60f9c01fcfd309d029c235e9ac5de3e808f1b70cad6b5482f2252029b5ab4944e SHA512 f4cf75d91c9c6c607bc3a9ea97114ccd2c691505f919e08ae3ad591e1cd211c85a3ef24abe96ec23e6961bdba0a35c1ecba6f87556ef53661e4afcdcd865602c +DIST noto-20181024.tar.gz 726721580 BLAKE2B d19d32d98419395df1bb3ca360bd67a50487d499aa3ea1612355b2f0fef09fe8236583fedc6d528668048ccbeee7139df704fc8e125c5eec7215708838aa09f4 SHA512 5df8266fab59a9ad5e6de6971c69d2761864c29e8d0e79e16a44177327b73527a37a9d148b63c862bfb5f7507793aab5c4319603f3b8b80e18eb9f203d7a7334 diff --git a/media-fonts/noto/noto-20181024.ebuild b/media-fonts/noto/noto-20181024.ebuild new file mode 100644 index 000000000000..562951e17106 --- /dev/null +++ b/media-fonts/noto/noto-20181024.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit font + +DESCRIPTION="Google's font family that aims to support all the world's languages" +HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-fonts" + +COMMIT="d7af81e614086435102cca95961b141b3530a027" +SRC_URI="https://github.com/googlei18n/noto-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="cjk" + +RDEPEND="cjk? ( media-fonts/noto-cjk )" +RESTRICT="binchecks strip" + +S="${WORKDIR}/${PN}-fonts-${COMMIT}" + +FONT_SUFFIX="ttf" +FONT_CONF=( + # From ArchLinux + "${FILESDIR}/66-noto-serif.conf" + "${FILESDIR}/66-noto-mono.conf" + "${FILESDIR}/66-noto-sans.conf" +) + +src_install() { + # Don't install in separate subdirs + FONT_S="${S}/unhinted/" font_src_install + FONT_S="${S}/hinted/" font_src_install +} |