aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaichi Yamamoto <dev@dyama.net>2023-11-22 21:52:03 +0900
committerDaichi Yamamoto <dev@dyama.net>2023-11-22 21:52:03 +0900
commit4523fbed228c6100cc8631785d691571c32c7595 (patch)
tree9198aeaa3169dd652041b178e3bd20d48dab0565 /media-fonts/plemoljp
parentmedia-fonts/firge: new package, add 0.3.0 (diff)
downloadguru-4523fbed228c6100cc8631785d691571c32c7595.tar.gz
guru-4523fbed228c6100cc8631785d691571c32c7595.tar.bz2
guru-4523fbed228c6100cc8631785d691571c32c7595.zip
media-fonts/plemoljp: new package, add 1.6.0
Signed-off-by: Daichi Yamamoto <dev@dyama.net>
Diffstat (limited to 'media-fonts/plemoljp')
-rw-r--r--media-fonts/plemoljp/Manifest3
-rw-r--r--media-fonts/plemoljp/metadata.xml16
-rw-r--r--media-fonts/plemoljp/plemoljp-1.6.0.ebuild40
3 files changed, 59 insertions, 0 deletions
diff --git a/media-fonts/plemoljp/Manifest b/media-fonts/plemoljp/Manifest
new file mode 100644
index 000000000..a196856b8
--- /dev/null
+++ b/media-fonts/plemoljp/Manifest
@@ -0,0 +1,3 @@
+DIST PlemolJP_HS_v1.6.0.zip 98998199 BLAKE2B b17239295318fadb166434c4d2eb8d66fc29aa0f5a63c4a295d98c6baddcef02d5316e107b4824fa85b5af559c4685e693d4b0e9ac63dd8478ec2822d70f0d0f SHA512 245529470e20c69ee125f8991a6a448ab2e7d8366cf1ecca1d88c2cd9f5b34907e1b8c13893ab24b0b14716aa77a0620087bf8fa4e598e4047a8190e7dfc005b
+DIST PlemolJP_NF_v1.6.0.zip 80116833 BLAKE2B 27170e4ec02afd3c233066d9ac34a705183042868e417a988b443970542a8fab02f7c4810c99a166072fff9c0bda2d42d464add2d459da2ecd2894775bd55f03 SHA512 30d6aff142f51cb8910036805c4ca7a9531aa05e72460cbf591a6ceb1d440d147771adc0439875b63d446134fd179c45f352238f385b23ced53c4a2642cc008e
+DIST PlemolJP_v1.6.0.zip 99003805 BLAKE2B 1f431d0ad7377b5df3fe779a847612bcd2590de80d79a833233f84b82faf99b6f68ae69ee69c6e24dd0ffb01a1a52430034a56e9c4dec138a74d6e7134739d79 SHA512 6eb73da5c1e4808654ab1f54501b2ab924cc740f70d6cd7fb8a237f15fe02ea3b8dbc85582a9c9bc302031f2cb20ea551b5d9835c44d9e032f7a6c5ab951ca1a
diff --git a/media-fonts/plemoljp/metadata.xml b/media-fonts/plemoljp/metadata.xml
new file mode 100644
index 000000000..2ed2266ff
--- /dev/null
+++ b/media-fonts/plemoljp/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dev@dyama.net</email>
+ <name>Daichi Yamamoto</name>
+ </maintainer>
+ <stabilize-allarches />
+ <use>
+ <flag name="hiddenspace">Install full-width space invisible version</flag>
+ <flag name="nerdfonts">Install Nerd Fonts composite version</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">yuru7/PlemolJP</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-fonts/plemoljp/plemoljp-1.6.0.ebuild b/media-fonts/plemoljp/plemoljp-1.6.0.ebuild
new file mode 100644
index 000000000..39a38b0f2
--- /dev/null
+++ b/media-fonts/plemoljp/plemoljp-1.6.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit font
+
+MY_PN="PlemolJP"
+MY_PV="v${PV}"
+MY_P="${MY_PN}_${MY_PV}"
+MY_P_HS="${MY_PN}_HS_${MY_PV}"
+MY_P_NF="${MY_PN}_NF_${MY_PV}"
+
+DESCRIPTION="PlemolJP is a composite font of IBM Plex Mono and IBM Plex Sans JP."
+HOMEPAGE="https://github.com/yuru7/PlemolJP"
+SRC_URI="https://github.com/yuru7/PlemolJP/releases/download/${MY_PV}/${MY_P}.zip
+ hiddenspace? ( https://github.com/yuru7/PlemolJP/releases/download/${MY_PV}/${MY_P_HS}.zip )
+ nerdfonts? ( https://github.com/yuru7/PlemolJP/releases/download/${MY_PV}/${MY_P_NF}.zip )
+"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="hiddenspace nerdfonts"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+ default
+ mv ${MY_P}/*/*.${FONT_SUFFIX} . || die
+ if use hiddenspace; then
+ mv ${MY_P_HS}/*/*.${FONT_SUFFIX} . || die
+ fi
+ if use nerdfonts; then
+ mv ${MY_P_NF}/*/*.${FONT_SUFFIX} . || die
+ fi
+}