diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-02-22 11:23:07 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-02-22 11:23:47 +0300 |
commit | 6612c8d3b885c622a277242048c9eff793ffb172 (patch) | |
tree | e3161e48f0d111b154ad78fb164726676d0b83b9 /media-fonts/ibm-plex | |
parent | net-libs/gsoap: Removed old. (diff) | |
download | gentoo-6612c8d3b885c622a277242048c9eff793ffb172.tar.gz gentoo-6612c8d3b885c622a277242048c9eff793ffb172.tar.bz2 gentoo-6612c8d3b885c622a277242048c9eff793ffb172.zip |
media-fonts/ibm-plex: Initial import
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-fonts/ibm-plex')
-rw-r--r-- | media-fonts/ibm-plex/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/ibm-plex/ibm-plex-1.2.3.ebuild | 57 | ||||
-rw-r--r-- | media-fonts/ibm-plex/metadata.xml | 12 |
3 files changed, 70 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/Manifest b/media-fonts/ibm-plex/Manifest new file mode 100644 index 000000000000..78fb5eaa9130 --- /dev/null +++ b/media-fonts/ibm-plex/Manifest @@ -0,0 +1 @@ +DIST ibm-plex-1.2.3.tar.gz 64032367 BLAKE2B e99f6af7bbeb511c7204d2563f8cea5e21971e2e352d00c2180bae1cea6215d6622bcd811d3350de1c03bcfbdeedd4dc8f45475c12d7367989951b45569e5000 SHA512 9462b693bd4602d60f97435e18361c0896eb0ab00c6773ab590d85e44961de4348429bd6975522e120e56799937843f29b6f677fa6978b62525f5c4d8db5f5b8 diff --git a/media-fonts/ibm-plex/ibm-plex-1.2.3.ebuild b/media-fonts/ibm-plex/ibm-plex-1.2.3.ebuild new file mode 100644 index 000000000000..6c881dc2157a --- /dev/null +++ b/media-fonts/ibm-plex/ibm-plex-1.2.3.ebuild @@ -0,0 +1,57 @@ +# 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-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" +fi + +if use ttf; then + + FONT_SUFFIX+="ttf" + + FONT_S=" + "${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" +fi + +font_src_install + +} diff --git a/media-fonts/ibm-plex/metadata.xml b/media-fonts/ibm-plex/metadata.xml new file mode 100644 index 000000000000..dd808ac32815 --- /dev/null +++ b/media-fonts/ibm-plex/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zlogene@gentoo.org</email> + <name>Mikle Kolyada</name> + </maintainer> + <use> + <flag name="otf">Install OTF fonts</flag> + <flag name="ttf">Install TTF fonts</flag> + </use> +</pkgmetadata> |