diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-10-20 12:21:38 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-10-20 13:38:53 +0200 |
commit | 6aadc731d5addbb5abca5f65851c270be4e551ff (patch) | |
tree | 650cca665bf976987f13efa574e3509aad551f93 /media-fonts | |
parent | net-misc/networkmanager: Drop old (diff) | |
download | gentoo-6aadc731d5addbb5abca5f65851c270be4e551ff.tar.gz gentoo-6aadc731d5addbb5abca5f65851c270be4e551ff.tar.bz2 gentoo-6aadc731d5addbb5abca5f65851c270be4e551ff.zip |
media-fonts/noto: Version bump
Bug: https://bugs.gentoo.org/616974
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/noto/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/noto/files/66-noto-mono.conf | 16 | ||||
-rw-r--r-- | media-fonts/noto/files/66-noto-sans.conf | 16 | ||||
-rw-r--r-- | media-fonts/noto/files/66-noto-serif.conf | 16 | ||||
-rw-r--r-- | media-fonts/noto/noto-20180905.ebuild | 35 |
5 files changed, 84 insertions, 0 deletions
diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index 965b61233804..2801605b394b 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1 +1,2 @@ DIST noto-20170403.tar.xz 11083152 BLAKE2B 8281cc19a100d1cbf7f57fba9cba077bb0005f7296f58d48247bef6c804b53597ff359dfab7b7d851e42c0294c757f311979b98dc9f1c22e2d3f3fabe4db77e7 SHA512 f8f1414b5b6f793e86ef3cc6a6320c4545f079b337c7672cb8cccc3c50d21d353d81557da4a555cdb6524c79be3e4c167f7d5aac102c38d64926f3b1887ca7f3 +DIST noto-20180905.tar.gz 666633675 BLAKE2B 209e28ba8feb7367381fb3cc1cb0f1109167f9b339c9a18c347592cb95a060e60f9c01fcfd309d029c235e9ac5de3e808f1b70cad6b5482f2252029b5ab4944e SHA512 f4cf75d91c9c6c607bc3a9ea97114ccd2c691505f919e08ae3ad591e1cd211c85a3ef24abe96ec23e6961bdba0a35c1ecba6f87556ef53661e4afcdcd865602c diff --git a/media-fonts/noto/files/66-noto-mono.conf b/media-fonts/noto/files/66-noto-mono.conf new file mode 100644 index 000000000000..21d6c364a8e6 --- /dev/null +++ b/media-fonts/noto/files/66-noto-mono.conf @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>monospace</family> + <prefer> + <family>Noto Sans Mono</family> + </prefer> + </alias> + <alias> + <family>Noto Sans Mono</family> + <default> + <family>monospace</family> + </default> + </alias> +</fontconfig> diff --git a/media-fonts/noto/files/66-noto-sans.conf b/media-fonts/noto/files/66-noto-sans.conf new file mode 100644 index 000000000000..012aebedf8b3 --- /dev/null +++ b/media-fonts/noto/files/66-noto-sans.conf @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>sans-serif</family> + <prefer> + <family>Noto Sans</family> + </prefer> + </alias> + <alias> + <family>Noto Sans</family> + <default> + <family>sans-serif</family> + </default> + </alias> +</fontconfig> diff --git a/media-fonts/noto/files/66-noto-serif.conf b/media-fonts/noto/files/66-noto-serif.conf new file mode 100644 index 000000000000..036baf776490 --- /dev/null +++ b/media-fonts/noto/files/66-noto-serif.conf @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>serif</family> + <prefer> + <family>Noto Serif</family> + </prefer> + </alias> + <alias> + <family>Noto Serif</family> + <default> + <family>serif</family> + </default> + </alias> +</fontconfig> diff --git a/media-fonts/noto/noto-20180905.ebuild b/media-fonts/noto/noto-20180905.ebuild new file mode 100644 index 000000000000..1c15cd81cf20 --- /dev/null +++ b/media-fonts/noto/noto-20180905.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="db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06" +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 +} |