media-fonts/dseg: new package, add 0.46

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2024-03-15 15:07:40 +08:00
parent d255cc0253
commit ff046846bd
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST dseg-0.46.zip 1095157 BLAKE2B ae9efafdb7329230cf7f10cd265d0a796f8a14e10b46ec148d294950bd895bc7e4e36e45e1ea1c4defade9d2a76ccf6c64cff7fb7a3b759732c715194244fcc8 SHA512 03891e5c4f628fab8dfb960d46e464a2f50f9f62bcef13af9e555f1314f0dfe99acf993377c106ddfcd6763c3471e06e454216d51d565e653ac919f869381c0a

View File

@@ -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
}

View File

@@ -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>vowstar@gmail.com</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>