diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
commit | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch) | |
tree | 9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /media-fonts/noto/noto-20180905.ebuild | |
parent | 957235cf19a691360c720f7913672adda4258ed0 (diff) |
gentoo resync : 22.10.2018
Diffstat (limited to 'media-fonts/noto/noto-20180905.ebuild')
-rw-r--r-- | media-fonts/noto/noto-20180905.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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 +} |