blob: fa85210091376621fbf0a851aafc2a3de4cef651 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit font
DESCRIPTION="Google's font family that aims to support all the world's languages"
HOMEPAGE="https://www.google.com/get/noto/"
SRC_URI="
cjk? ( https://dev.gentoo.org/~pacho/${PN}/${P}.zip )
!cjk? ( https://dev.gentoo.org/~kensington/distfiles/${PN}-nocjk-${PV}.tar.xz )
"
# renamed from upstream's unversioned Noto-hinted.zip
# version number based on the timestamp of most recently updated font in the zip
LICENSE="OFL-1.1" # https://github.com/googlei18n/noto-fonts/blob/master/NEWS
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~mips ppc ppc64 sparc x86"
IUSE="cjk"
DEPEND="cjk? ( app-arch/unzip )"
RESTRICT="binchecks strip"
S=${WORKDIR}
FONT_S="${S}"
FONT_SUFFIX="ttf"
src_install() {
use cjk && FONT_SUFFIX+=" otf"
font_src_install
}
|