[gentoo-commits] repo/proj/guru:dev commit in: media-fonts/dseg/

2024-03-15 Thread Rui Huang
commit: 2ec8405683f502374e14ea8ead08fcb075b83448
Author: Huang Rui  gmail  com>
AuthorDate: Fri Mar 15 12:48:12 2024 +
Commit: Rui Huang  gmail  com>
CommitDate: Fri Mar 15 12:48:12 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ec84056

media-fonts/dseg: update DESCRIPTION, HOMEPAGE

Signed-off-by: Huang Rui  gmail.com>

 media-fonts/dseg/dseg-0.46.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-fonts/dseg/dseg-0.46.ebuild 
b/media-fonts/dseg/dseg-0.46.ebuild
index fddcb5997c..122522ee43 100644
--- a/media-fonts/dseg/dseg-0.46.ebuild
+++ b/media-fonts/dseg/dseg-0.46.ebuild
@@ -8,8 +8,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;
+DESCRIPTION="A free font which imitate LCD Display"
+HOMEPAGE="https://www.keshikan.net/fonts-e.html;
 SRC_URI="
https://github.com/keshikan/DSEG/releases/download/v${PV}/${MY_P}.zip 
-> ${P}.zip
 "



[gentoo-commits] repo/proj/guru:dev commit in: media-fonts/dseg/

2024-03-15 Thread Rui Huang
commit: ff046846bd136dae7bbf47a0f366b4fe8a84e4d3
Author: Huang Rui  gmail  com>
AuthorDate: Fri Mar 15 07:07:40 2024 +
Commit: Rui Huang  gmail  com>
CommitDate: Fri Mar 15 07:07:40 2024 +
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  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 00..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 00..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 00..bb6eaa51b4
--- /dev/null
+++ b/media-fonts/dseg/metadata.xml
@@ -0,0 +1,29 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   vows...@gmail.com
+   Huang Rui
+   
+   
+   
+   keshikan/DSEG
+   
+   
+   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.
+   
+   
+   "DSEG"字体系列是一组免费字体,旨在模仿七段和十四段显示器(7SEG, 14SEG)。
+   它包含罗马字母和符号字形,提供50多种类型。字体以TrueType (.ttf) 和
+   Web Open Type File Format (.woff, *.woff2) 形式提供。DSEG适用于数字显示
+   仿真,如时钟或计算器,并在SIL开源字体许可1.1下授权,允许商业和非商业
+   使用、修改和重新分发。
+   
+