aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaichi Yamamoto <dev@dyama.net>2023-11-21 11:43:07 +0900
committerDaichi Yamamoto <dev@dyama.net>2023-11-21 11:43:17 +0900
commitbb27309a20f7d8c01099894842610fe95b78b4b4 (patch)
treeba0d052dedcbca418d6f1f2fc4c2c2c53c3880e0 /media-fonts
parentdev-libs/randomx: add 1.2.1 (diff)
downloadguru-bb27309a20f7d8c01099894842610fe95b78b4b4.tar.gz
guru-bb27309a20f7d8c01099894842610fe95b78b4b4.tar.bz2
guru-bb27309a20f7d8c01099894842610fe95b78b4b4.zip
media-fonts/udev-gothic: new package, add 1.3.1
Signed-off-by: Daichi Yamamoto <dev@dyama.net>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/udev-gothic/Manifest2
-rw-r--r--media-fonts/udev-gothic/metadata.xml15
-rw-r--r--media-fonts/udev-gothic/udev-gothic-1.3.1.ebuild35
3 files changed, 52 insertions, 0 deletions
diff --git a/media-fonts/udev-gothic/Manifest b/media-fonts/udev-gothic/Manifest
new file mode 100644
index 000000000..168c31974
--- /dev/null
+++ b/media-fonts/udev-gothic/Manifest
@@ -0,0 +1,2 @@
+DIST UDEVGothic_NF_v1.3.1.zip 58025634 BLAKE2B b6b1fadf74fa25abe5d9eed8f8d65a6f55a85571510b54d964561bb75e274adb75ac102e5a0844cf33166bcb2a4ab841a13a8c84cd3f47c1fe2f5b118bbb800e SHA512 cfce84d6249a84658e39d7d6d6012c1c3d92071dba2a1ebb9bebb797c836c91ad3dc52b266404f96acf233a1507d80f764538a479f1b2bbb6b9db7e1ffc2429e
+DIST UDEVGothic_v1.3.1.zip 61976387 BLAKE2B 86efbdcb417efef9890fe1810b001c9308c8325d2014a92394504a3860492b677a303a850d207c19ec30f40a5f0015880573ac0694df5e7dea3bf7646bfaa57d SHA512 ff6c6ea48b84dee58b2b31f087a72efc7ab7740bd9d8a2f3485cc107ec20d37b55734b2adca6ca5c236b4508c8af41c3aec75598565b240dbbd1e47dcae5ee94
diff --git a/media-fonts/udev-gothic/metadata.xml b/media-fonts/udev-gothic/metadata.xml
new file mode 100644
index 000000000..068244a06
--- /dev/null
+++ b/media-fonts/udev-gothic/metadata.xml
@@ -0,0 +1,15 @@
+<?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="nerdfonts">Install composite variations of Nerd Fonts</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">yuru7/udev-gothic</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-fonts/udev-gothic/udev-gothic-1.3.1.ebuild b/media-fonts/udev-gothic/udev-gothic-1.3.1.ebuild
new file mode 100644
index 000000000..9ecbcaf62
--- /dev/null
+++ b/media-fonts/udev-gothic/udev-gothic-1.3.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit font
+
+MY_PN="UDEVGothic"
+MY_PV="v${PV}"
+MY_P="${MY_PN}_${MY_PV}"
+MY_P_NF="${MY_PN}_NF_${MY_PV}"
+
+DESCRIPTION="UDEV Gothic is a font that combines BIZ UD Gothic and JetBrains Mono."
+HOMEPAGE="https://github.com/yuru7/udev-gothic"
+SRC_URI="https://github.com/yuru7/udev-gothic/releases/download/${MY_PV}/${MY_P}.zip
+ nerdfonts? ( https://github.com/yuru7/udev-gothic/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="nerdfonts"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+ default
+ mv ${MY_P}/*.${FONT_SUFFIX} . || die
+ if use nerdfonts; then
+ mv ${MY_P_NF}/*.${FONT_SUFFIX} . || die
+ fi
+}