diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
commit | b24bd25253fe093f722ab576d29fdc41d04cb1ee (patch) | |
tree | 0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /media-fonts/ibm-plex/ibm-plex-2.0.0.ebuild | |
parent | 121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff) |
gentoo resync : 02.08.2019
Diffstat (limited to 'media-fonts/ibm-plex/ibm-plex-2.0.0.ebuild')
-rw-r--r-- | media-fonts/ibm-plex/ibm-plex-2.0.0.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/ibm-plex-2.0.0.ebuild b/media-fonts/ibm-plex/ibm-plex-2.0.0.ebuild new file mode 100644 index 000000000000..fe9dee61155c --- /dev/null +++ b/media-fonts/ibm-plex/ibm-plex-2.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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=" + "${S}"/IBM-Plex-Arabic/fonts/complete/otf + "${S}"/IBM-Plex-Devanagari/fonts/complete/otf + "${S}"/IBM-Plex-Mono/fonts/complete/otf + "${S}"/IBM-Plex-Sans-Condensed/fonts/complete/otf + "${S}"/IBM-Plex-Sans-Hebrew/fonts/complete/otf + "${S}"/IBM-Plex-Sans/fonts/complete/otf + "${S}"/IBM-Plex-Serif/fonts/complete/otf + "${S}"/IBM-Plex-Thai/fonts/complete/otf + "${S}"/IBM-Plex-Sans-Thai-Looped/fonts/complete/otf" +fi + +if use ttf; then + + FONT_SUFFIX+="ttf" + + FONT_S=" + "${S}"/IBM-Plex-Arabic/fonts/complete/ttf + "${S}"/IBM-Plex-Devanagari/fonts/complete/ttf + "${S}"/IBM-Plex-Mono/fonts/complete/ttf + "${S}"/IBM-Plex-Sans-Condensed/fonts/complete/ttf + "${S}"/IBM-Plex-Sans-Hebrew/fonts/complete/ttf + "${S}"/IBM-Plex-Sans/fonts/complete/ttf + "${S}"/IBM-Plex-Serif/fonts/complete/ttf + "${S}"/IBM-Plex-Thai/fonts/complete/ttf + "${S}"/IBM-Plex-Sans-Thai-Looped/fonts/complete/ttf" +fi + +font_src_install + +} |