summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-fonts/ibm-plex/Manifest1
-rw-r--r--media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/Manifest b/media-fonts/ibm-plex/Manifest
index 91d1b40a5e43..78896a921a1a 100644
--- a/media-fonts/ibm-plex/Manifest
+++ b/media-fonts/ibm-plex/Manifest
@@ -3,3 +3,4 @@ DIST ibm-plex-3.0.0.tar.gz 76653068 BLAKE2B 5a33c8166f111eb7edd377d6034defe90ccd
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
+DIST ibm-plex-5.1.3.tar.gz 205796313 BLAKE2B e1ec5212189167203be8dfa7949390dc134f10b759ed90a1595a4266314e8fb2f44e2bb22ac495fa303c3e5f81e6a13c6d4be3b78ddcf47f5d05b932ca4aabc9 SHA512 78006a48b65dba22216dc8cb1fd17313969fac6ca75e139d3963efda2a4f4da2a869146c2c11da033c3119942ffafda027825d0b0cb624594774a409dcfc1266
diff --git a/media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild b/media-fonts/ibm-plex/ibm-plex-5.1.3.ebuild
new file mode 100644
index 000000000000..4650a6a9a408
--- /dev/null
+++ b/media-fonts/ibm-plex/ibm-plex-5.1.3.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
+
+}