media-fonts/maple-mono: update SRC_URI

Signed-off-by: Ceres <ceres@ceressees.dev>
This commit is contained in:
Ceres
2025-11-10 16:51:25 +00:00
parent 492ff32229
commit f7155da843
3 changed files with 16 additions and 14 deletions

View File

@@ -7,16 +7,16 @@ inherit font
DESCRIPTION="Open source monospace font with round corners"
HOMEPAGE="https://font.subf.dev/"
SRC_URI="default? ( ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-TTF.zip -> ${P}-ligature-tff.zip )
SRC_URI="!normal? ( ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-TTF.zip -> ${P}-ligature-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-NF-unhinted.zip -> ${P}-ligature-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-CN-unhinted.zip -> ${P}-ligature-cn.zip ) )
!ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-TTF.zip -> ${P}-tff.zip )
!ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-TTF.zip -> ${P}-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-NF-unhinted.zip -> ${P}-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-CN-unhinted.zip -> ${P}-cn.zip ) ) )
normal? ( ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-TTF.zip -> ${P}-normal-ligature-tff.zip )
normal? ( ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-TTF.zip -> ${P}-normal-ligature-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-NF-unhinted.zip -> ${P}-normal-ligature-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-CN-unhinted.zip -> ${P}-normal-ligature-cn.zip ) )
!ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-TTF.zip -> ${P}-normal-tff.zip )
!ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-TTF.zip -> ${P}-normal-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-NF-unhinted.zip -> ${P}-normal-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-CN-unhinted.zip -> ${P}-normal-cn.zip ) ) )"
@@ -28,9 +28,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-li
BDEPEND="app-arch/unzip"
IUSE="+default normal ligature +ttf nerd cn"
REQUIRED_USE="|| ( default normal )
|| ( ttf nerd cn )"
IUSE="normal ligature nerd cn"
FONT_SUFFIX="ttf"
FONT_S="${WORKDIR}"

View File

@@ -7,16 +7,16 @@ inherit font
DESCRIPTION="Open source monospace font with round corners"
HOMEPAGE="https://font.subf.dev/"
SRC_URI="default? ( ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-TTF.zip -> ${P}-ligature-tff.zip )
SRC_URI="!normal? ( ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-TTF.zip -> ${P}-ligature-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-NF-unhinted.zip -> ${P}-ligature-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMono-CN-unhinted.zip -> ${P}-ligature-cn.zip ) )
!ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-TTF.zip -> ${P}-tff.zip )
!ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-TTF.zip -> ${P}-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-NF-unhinted.zip -> ${P}-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNL-CN-unhinted.zip -> ${P}-cn.zip ) ) )
normal? ( ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-TTF.zip -> ${P}-normal-ligature-tff.zip )
normal? ( ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-TTF.zip -> ${P}-normal-ligature-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-NF-unhinted.zip -> ${P}-normal-ligature-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormal-CN-unhinted.zip -> ${P}-normal-ligature-cn.zip ) )
!ligature? ( ttf? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-TTF.zip -> ${P}-normal-tff.zip )
!ligature? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-TTF.zip -> ${P}-normal-tff.zip
nerd? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-NF-unhinted.zip -> ${P}-normal-nerd.zip )
cn? ( https://github.com/subframe7536/maple-font/releases/download/v${PV}/MapleMonoNormalNL-CN-unhinted.zip -> ${P}-normal-cn.zip ) ) )"
@@ -28,9 +28,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-li
BDEPEND="app-arch/unzip"
IUSE="+default normal ligature +ttf nerd cn"
REQUIRED_USE="|| ( default normal )
|| ( ttf nerd cn )"
IUSE="normal ligature nerd cn"
FONT_SUFFIX="ttf"
FONT_S="${WORKDIR}"

View File

@@ -8,4 +8,10 @@
<upstream>
<remote-id type="github">subframe7536/maple-font</remote-id>
</upstream>
<use>
<flag name='cn'>Install CN font for Simplified Chinese, Traditional Chinese and Japanese support</flag>
<flag name='ligature'>Install the font with ligature support</flag>
<flag name='nerd'>Install the nerd font</flag>
<flag name='normal'>Install the less opinionated version of the font, similar to JetBrains mono</flag>
</use>
</pkgmetadata>