summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-12-02 13:38:01 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-12-02 13:38:01 +0300
commit1dd0eb583b18951f87f9b1f16082314d10cb80d7 (patch)
tree6de4a12153a8dee007e1d9f587e36f718cf3c299 /media-fonts
parentmedia-fonts/ibm-plex: Drop obsolete font (diff)
downloadgentoo-1dd0eb583b18951f87f9b1f16082314d10cb80d7.tar.gz
gentoo-1dd0eb583b18951f87f9b1f16082314d10cb80d7.tar.bz2
gentoo-1dd0eb583b18951f87f9b1f16082314d10cb80d7.zip
media-fonts/ibm-plex: Version bump (v4.0.1)
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/ibm-plex/Manifest1
-rw-r--r--media-fonts/ibm-plex/ibm-plex-4.0.1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/Manifest b/media-fonts/ibm-plex/Manifest
index 4fb240c91f64..8efa84edcd3f 100644
--- a/media-fonts/ibm-plex/Manifest
+++ b/media-fonts/ibm-plex/Manifest
@@ -1,2 +1,3 @@
DIST ibm-plex-2.0.0.tar.gz 77698418 BLAKE2B 01f058c285edf28618d2870b6021c3e77aef2719272d8c9a6e1eaa7f3863fb1dd9ac36b32e993e1591b25bd2a2c8bb4369b142d6cc81f866e756c8253f4d38ca SHA512 e76b8435606bf8f7dcaa330d2a861a60f3764886d04f88dceaf4a5a1dcda418df79fcbe9756541539181f35b853ee4ec9d43778338d1af1eb6e51a28cc514bb0
DIST ibm-plex-3.0.0.tar.gz 76653068 BLAKE2B 5a33c8166f111eb7edd377d6034defe90ccd5a78803f1d53b1efd264eb087a64530de793db5f09c21072731003e8bf3b5739ef3547e9f29781ca88508c1338ab SHA512 cc00c610ead76f6ad6e90754f5feac5565dec81870882ae66a4e34654ec43abc0995ab05dfbd37c08c2cd5475a9d24eb8669cc5fcb8dc671b3ae714567fbcde9
+DIST ibm-plex-4.0.1.tar.gz 75874486 BLAKE2B bd2b874695ab1951ef54902e6969245925d8ae0d5ddfb9ec3680b2c05e2d0c10b28e363d0d60a008b9f0b9280a18c4bac96ed54112585058eeb31c3f31ac1498 SHA512 67671764600c72e342f38a8a817adc3d4e680c512faa554f144c1cc26e246e9aa92d5837c4d3850a8571f121b834ae0aad7f0f8404d03a3cf0416217644ab65b
diff --git a/media-fonts/ibm-plex/ibm-plex-4.0.1.ebuild b/media-fonts/ibm-plex/ibm-plex-4.0.1.ebuild
new file mode 100644
index 000000000000..86983b1f16ca
--- /dev/null
+++ b/media-fonts/ibm-plex/ibm-plex-4.0.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2019 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="
+ "${S}"/IBM-Plex-Mono/fonts/complete/otf
+ "${S}"/IBM-Plex-Sans-Condensed/fonts/complete/otf
+ "${S}"/IBM-Plex-Sans-Devanagari/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-Sans-Thai-Looped/fonts/complete/otf"
+fi
+
+if use ttf; then
+
+ FONT_SUFFIX+="ttf"
+
+ FONT_S="
+ "${S}"/IBM-Plex-Mono/fonts/complete/ttf
+ "${S}"/IBM-Plex-Sans-Condensed/fonts/complete/ttf
+ "${S}"/IBM-Plex-Sans-Devanagari/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-Sans-Thai-Looped/fonts/complete/ttf
+ "${S}"/IBM-Plex-Sans-Variable/fonts/complete/ttf"
+fi
+
+font_src_install
+
+}