diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild')
-rw-r--r-- | media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild b/media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild new file mode 100644 index 000000000000..4650a6a9a408 --- /dev/null +++ b/media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit font + +DESCRIPTION="The package of IBM's typeface" +HOMEPAGE="https://github.com/IBM/plex" +SRC_URI="https://github.com/IBM/plex/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="otf +ttf" + +REQUIRED_USE="^^ ( otf ttf )" + +S="${WORKDIR}/${P/ibm-}" + +DOCS=( README.md ) + +FONT_SUFFIX="" + +src_install() { + +if use otf; then + + FONT_SUFFIX+="otf" + + FONT_S=( + IBM-Plex-Mono/fonts/complete/otf + IBM-Plex-Sans/fonts/complete/otf + IBM-Plex-Sans-Arabic/fonts/complete/otf + IBM-Plex-Sans-KR/fonts/complete/otf + IBM-Plex-Sans-Condensed/fonts/complete/otf + IBM-Plex-Sans-Devanagari/fonts/complete/otf + IBM-Plex-Sans-Hebrew/fonts/complete/otf + IBM-Plex-Serif/fonts/complete/otf + IBM-Plex-Sans-Thai/fonts/complete/otf + IBM-Plex-Sans-Thai-Looped/fonts/complete/otf ) +fi + +if use ttf; then + + FONT_SUFFIX+="ttf" + + FONT_S=( + IBM-Plex-Mono/fonts/complete/ttf + IBM-Plex-Sans-Arabic/fonts/complete/ttf + IBM-Plex-Sans-KR/fonts/complete/ttf/hinted + IBM-Plex-Sans-KR/fonts/complete/ttf/unhinted + IBM-Plex-Sans-Condensed/fonts/complete/ttf + IBM-Plex-Sans-Devanagari/fonts/complete/ttf + IBM-Plex-Sans-Hebrew/fonts/complete/ttf + IBM-Plex-Sans/fonts/complete/ttf + IBM-Plex-Serif/fonts/complete/ttf + IBM-Plex-Sans-Thai/fonts/complete/ttf + IBM-Plex-Sans-Thai-Looped/fonts/complete/ttf + IBM-Plex-Sans-Variable/fonts/complete/ttf ) +fi + +font_src_install + +} |