summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-fonts/ibm-plex/Manifest1
-rw-r--r--media-fonts/ibm-plex/ibm-plex-1.4.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/media-fonts/ibm-plex/Manifest b/media-fonts/ibm-plex/Manifest
index 2bea52398bd..668c2bcfb21 100644
--- a/media-fonts/ibm-plex/Manifest
+++ b/media-fonts/ibm-plex/Manifest
@@ -1,3 +1,4 @@
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
DIST ibm-plex-1.3.1.tar.gz 71638165 BLAKE2B 085abc1bfa84e0e3066cf52fa03192b361142bf63adf7f08e247f78d788ef51dc7e9d16f00e7d4b59237b1287505ae4e961c4a9d58a6b58f78997bf0b2c58d9c SHA512 c30bbab7e0d83598f4d2e14f6fe7da8ac51c88e971b519db29a5c603d7df0d459268ec0bcb93d82a75552e1ff5ef092e5886ad498d05821c61183f70cb34c671
+DIST ibm-plex-1.4.1.tar.gz 75672795 BLAKE2B 65587bb42e2fb0c84f1542547f22941b52ddf1c2ec1f7be145b9206041631d54a595d5e6018b6c655d674207187126ebaea913f38074523185bfd8c0244e3105 SHA512 44c63ff1afe2b1344183c9ca76fbd083650c597c529e980c944cb9c9cd0daea5e2f3cfc0889f14490e8a3afed108f84788bd4efef01478536a9259d13206c12a
diff --git a/media-fonts/ibm-plex/ibm-plex-1.4.1.ebuild b/media-fonts/ibm-plex/ibm-plex-1.4.1.ebuild
new file mode 100644
index 00000000000..3d2afe9d99c
--- /dev/null
+++ b/media-fonts/ibm-plex/ibm-plex-1.4.1.ebuild
@@ -0,0 +1,61 @@
+# 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
+ "${S}"/IBM-Plex-Thai-Looped/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
+ "${S}"/IBM-Plex-Thai-Looped/fonts/complete/ttf"
+fi
+
+font_src_install
+
+}