commit: f7155da843a18d1bafe1b397f21a263fba9ace06 Author: Ceres <ceres <AT> ceressees <DOT> dev> AuthorDate: Mon Nov 10 16:51:25 2025 +0000 Commit: Ceres Milner <ceres <AT> ceressees <DOT> dev> CommitDate: Mon Nov 10 16:52:14 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7155da8
media-fonts/maple-mono: update SRC_URI Signed-off-by: Ceres <ceres <AT> ceressees.dev> media-fonts/maple-mono/maple-mono-7.7.ebuild | 12 +++++------- media-fonts/maple-mono/maple-mono-7.8.ebuild | 12 +++++------- media-fonts/maple-mono/metadata.xml | 6 ++++++ 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/media-fonts/maple-mono/maple-mono-7.7.ebuild b/media-fonts/maple-mono/maple-mono-7.7.ebuild index fc6fcfb3a8..51b6402ef9 100644 --- a/media-fonts/maple-mono/maple-mono-7.7.ebuild +++ b/media-fonts/maple-mono/maple-mono-7.7.ebuild @@ -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}" diff --git a/media-fonts/maple-mono/maple-mono-7.8.ebuild b/media-fonts/maple-mono/maple-mono-7.8.ebuild index fc6fcfb3a8..51b6402ef9 100644 --- a/media-fonts/maple-mono/maple-mono-7.8.ebuild +++ b/media-fonts/maple-mono/maple-mono-7.8.ebuild @@ -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}" diff --git a/media-fonts/maple-mono/metadata.xml b/media-fonts/maple-mono/metadata.xml index d8dc5743be..ffd134f64e 100644 --- a/media-fonts/maple-mono/metadata.xml +++ b/media-fonts/maple-mono/metadata.xml @@ -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>
