summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-08-20 11:09:48 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-08-20 11:10:27 +0300
commit71d21a1f6e0a9c41f664b13d0816001e03a2e783 (patch)
treedaea1e07585d8086e5cf4d7a180b8aee1e293934 /media-fonts
parentnet-analyzer/sancp: Update HOMEPAGE (diff)
downloadgentoo-71d21a1f6e0a9c41f664b13d0816001e03a2e783.tar.gz
gentoo-71d21a1f6e0a9c41f664b13d0816001e03a2e783.tar.bz2
gentoo-71d21a1f6e0a9c41f664b13d0816001e03a2e783.zip
media-fonts/ibm-plex: Version bump (v5.1.0)
Package-Manager: Portage-2.3.103, Repoman-2.3.23 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-5.1.0.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/Manifest b/media-fonts/ibm-plex/Manifest
index 3f6bb0b27177..91d1b40a5e43 100644
--- a/media-fonts/ibm-plex/Manifest
+++ b/media-fonts/ibm-plex/Manifest
@@ -2,3 +2,4 @@ DIST ibm-plex-2.0.0.tar.gz 77698418 BLAKE2B 01f058c285edf28618d2870b6021c3e77aef
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
DIST ibm-plex-4.0.2.tar.gz 75546862 BLAKE2B aa1f0040a16d86dfee5c78c1a73ae26934a66f4d9d2dd168ee31d68eaa76b7ce0562de78996f871dde0b20570c434e8c79ccd9371c2629436bb146173a7af221 SHA512 0877fc13cf5aa31ab246f79a7b879726f3854e877afa51e9fe321cfe2e96cbc56bfb56f229e2a75c5192743351d4d645afdc256d22f89a27ce872248d0169d19
+DIST ibm-plex-5.1.0.tar.gz 206344442 BLAKE2B 9dd7336e9e4bc072fd904aa4350f23401390b8208d780dac5becdfaf36cc3c48e64a02e6068d2543e6845187357b2bbebf13126e67a6fba10f33173c0c2edb85 SHA512 47d6ea7bcf23ba9cff744ad7683f378df8d6e2f1a623ab9432b51b975304569fd82be6796dfd9b1dc6214ff9cfaafad58d608de3525aac8711e1a128013c6265
diff --git a/media-fonts/ibm-plex/ibm-plex-5.1.0.ebuild b/media-fonts/ibm-plex/ibm-plex-5.1.0.ebuild
new file mode 100644
index 000000000000..4650a6a9a408
--- /dev/null
+++ b/media-fonts/ibm-plex/ibm-plex-5.1.0.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
+
+}