media-fonts/dseg - 0.46 (vowstar)

Search

Install

Install this version:

emerge -a =media-fonts/dseg-0.46

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-fonts/dseg-0.46

Or alternatively:

emerge --autounmask-write -a =media-fonts/dseg-0.46

Package Information

Description:
An open-source Chinese font derived from IPAmj Mincho
Homepage:
https://github.com/lxgw/LxgwNeoZhiSong
License:
OFL-1.1

Ebuild Details

Version EAPI Keywords Slot
0.46 8 ~amd64 ~loong ~riscv ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

BDEPEND

app-arch/unzip

Manifest for 0.46

Type File Size Source URLs
DIST dseg-0.46.zip 1095157 bytes https://github.com/keshikan/DSEG/releases/download/v0.46/fonts-DSEG_v$(ver_rs.zip