commit:     ff046846bd136dae7bbf47a0f366b4fe8a84e4d3
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Mar 15 07:07:40 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Mar 15 07:07:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff046846

media-fonts/dseg: new package, add 0.46

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 media-fonts/dseg/Manifest         |  1 +
 media-fonts/dseg/dseg-0.46.ebuild | 29 +++++++++++++++++++++++++++++
 media-fonts/dseg/metadata.xml     | 29 +++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)

diff --git a/media-fonts/dseg/Manifest b/media-fonts/dseg/Manifest
new file mode 100644
index 0000000000..4cf1f5963b
--- /dev/null
+++ b/media-fonts/dseg/Manifest
@@ -0,0 +1 @@
+DIST dseg-0.46.zip 1095157 BLAKE2B 
ae9efafdb7329230cf7f10cd265d0a796f8a14e10b46ec148d294950bd895bc7e4e36e45e1ea1c4defade9d2a76ccf6c64cff7fb7a3b759732c715194244fcc8
 SHA512 
03891e5c4f628fab8dfb960d46e464a2f50f9f62bcef13af9e555f1314f0dfe99acf993377c106ddfcd6763c3471e06e454216d51d565e653ac919f869381c0a

diff --git a/media-fonts/dseg/dseg-0.46.ebuild 
b/media-fonts/dseg/dseg-0.46.ebuild
new file mode 100644
index 0000000000..fddcb5997c
--- /dev/null
+++ b/media-fonts/dseg/dseg-0.46.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit font
+
+MY_PV=$(ver_rs 1- "")
+MY_P="fonts-DSEG_v${MY_PV}"
+
+DESCRIPTION="An open-source Chinese font derived from IPAmj Mincho"
+HOMEPAGE="https://github.com/lxgw/LxgwNeoZhiSong";
+SRC_URI="
+       https://github.com/keshikan/DSEG/releases/download/v${PV}/${MY_P}.zip 
-> ${P}.zip
+"
+S="${WORKDIR}/${MY_P}"
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~riscv ~x86"
+
+BDEPEND="app-arch/unzip"
+
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+
+src_unpack() {
+       default
+       mv "${S}"/*/*."${FONT_SUFFIX}" "${S}" || die
+}

diff --git a/media-fonts/dseg/metadata.xml b/media-fonts/dseg/metadata.xml
new file mode 100644
index 0000000000..bb6eaa51b4
--- /dev/null
+++ b/media-fonts/dseg/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Huang Rui</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="github">keshikan/DSEG</remote-id>
+       </upstream>
+       <longdescription lang="en">
+               The "DSEG" font family, is a collection of free fonts designed 
to mimic
+               seven and fourteen-segment displays (7SEG, 14SEG). It includes 
Roman
+               alphabet and symbol glyphs, offering over 50 types. The fonts 
come in
+               TrueType (.ttf) and Web Open Type File Format (.woff, *.woff2).
+               DSEG is versatile for digital display emulation like clocks or
+               calculators, and is licensed under the SIL Open Font License 
1.1,
+               allowing commercial and non-commercial use, modification, and
+               redistribution.
+       </longdescription>
+       <longdescription lang="zh">
+               "DSEG"字体系列是一组免费字体,旨在模仿七段和十四段显示器(7SEG, 14SEG)。
+               它包含罗马字母和符号字形,提供50多种类型。字体以TrueType (.ttf) 和
+               Web Open Type File Format (.woff, *.woff2) 形式提供。DSEG适用于数字显示
+               仿真,如时钟或计算器,并在SIL开源字体许可1.1下授权,允许商业和非商业
+               使用、修改和重新分发。
+       </longdescription>
+</pkgmetadata>

Reply via email to