summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-03-14 21:30:33 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-03-14 21:30:33 +0300
commit756637c694be16a68e0adc79fe49e83630a4448a (patch)
treee3d390204cb13ac7cbbafb498fcd729a24a3c619 /media-fonts
parentapp-doc/pms: mark stable (diff)
downloadgentoo-756637c694be16a68e0adc79fe49e83630a4448a.tar.gz
gentoo-756637c694be16a68e0adc79fe49e83630a4448a.tar.bz2
gentoo-756637c694be16a68e0adc79fe49e83630a4448a.zip
media-fonts/ibm-plex: Version bump (v1.3.0)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/ibm-plex/Manifest1
-rw-r--r--media-fonts/ibm-plex/ibm-plex-1.3.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/Manifest b/media-fonts/ibm-plex/Manifest
index 78fb5eaa913..5c74e62ca68 100644
--- a/media-fonts/ibm-plex/Manifest
+++ b/media-fonts/ibm-plex/Manifest
@@ -1 +1,2 @@
DIST ibm-plex-1.2.3.tar.gz 64032367 BLAKE2B e99f6af7bbeb511c7204d2563f8cea5e21971e2e352d00c2180bae1cea6215d6622bcd811d3350de1c03bcfbdeedd4dc8f45475c12d7367989951b45569e5000 SHA512 9462b693bd4602d60f97435e18361c0896eb0ab00c6773ab590d85e44961de4348429bd6975522e120e56799937843f29b6f677fa6978b62525f5c4d8db5f5b8
+DIST ibm-plex-1.3.0.tar.gz 71637173 BLAKE2B 91c48f07fe65b3c94f53cfd2430ea5eee81cefd723d3c7211dfac3c8a827cf63fc94a6f4173c5cf77c9ccf4ed3965be9f23ded15ac21c778476c19e97aafa900 SHA512 464d1a29580f31dad744c43e9765dd21d832b7f2299e0785d3846e6bc5fcc06ff0f8a7b29dec13f136195776151dc4b80704f2660632b6ccd78d89a2ee4727e4
diff --git a/media-fonts/ibm-plex/ibm-plex-1.3.0.ebuild b/media-fonts/ibm-plex/ibm-plex-1.3.0.ebuild
new file mode 100644
index 00000000000..c3e8eb6357e
--- /dev/null
+++ b/media-fonts/ibm-plex/ibm-plex-1.3.0.ebuild
@@ -0,0 +1,59 @@
+# 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"
+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"
+fi
+
+font_src_install
+
+}