media-fonts/lxgw-zhenkai: new package, add 0.827

Installs the Slab GB TTF, the only edition upstream still ships. Release
v0.828 has no font file, so 0.827 is the newest installable version.

Assisted-by: Claude:claude-sonnet-5-5
Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-11-29 19:28:11 +11:00
1 parent 883b552e4e
commit f1e4922ab4
4 files changed
+40

No files matched your search

+7
View File
@@ -1921,6 +1921,13 @@ prefix = "v"
github_account = "zakkaus"
autobump = true
["media-fonts/lxgw-zhenkai"]
source = "github"
github = "lxgw/LxgwZhenKai"
use_latest_release = true
prefix = "v"
github_account = "zakkaus"
["media-fonts/maple-mono"]
source = "github"
github = "subframe7536/maple-font"
+1
View File
@@ -0,0 +1 @@
DIST lxgw-zhenkai-0.827.ttf 17453376 BLAKE2B c41bc4a243aabdecd250ccbb1f1a5a5d7c4cd206c8d5fc8f2be4262a2c9eaa192f4a30a80a427c7a2b580ad67fd617d9d6736aeb423d51bff708b68798f29b32 SHA512 1603392e09f003c0d8663d1bde1383793946eef62dcb3f2e5dff27ea0346714e47143cb8c43796fd5e699f3fcd54f82c9c3c015d2f8572b8cefbf323749d9863
@@ -0,0 +1,21 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="LXGW ZhenKai, a bold Kai font derived from LXGW WenKai (Slab GB edition)"
HOMEPAGE="https://github.com/lxgw/LxgwZhenKai"
SRC_URI="https://github.com/lxgw/LxgwZhenKai/releases/download/v${PV}/LXGWZhenKaiSlabGB-Regular.ttf -> ${P}.ttf"
S="${WORKDIR}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
FONT_SUFFIX="ttf"
src_unpack() {
cp "${DISTDIR}/${P}.ttf" "${S}" || die
}
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zakk@gentoozh.org</email>
<name>Zakk</name>
</maintainer>
<upstream>
<remote-id type="github">lxgw/LxgwZhenKai</remote-id>
</upstream>
</pkgmetadata>