jetbrains_mono: update to 2.304 and add 3.0.1 nerd fonts (#8720)

* jetbrains_mono: update to 2.304

* jetbrains_mono_nerd: add recipe for 3.0.1
This commit is contained in:
augiedoggie
2023-05-23 23:32:08 -06:00
committed by GitHub
parent d01b93d997
commit b05990a92f
3 changed files with 72 additions and 37 deletions

View File

@@ -1,37 +0,0 @@
SUMMARY="A monospace font designed for programmers"
DESCRIPTION="JetBrains Monos typeface forms are simple and free \
from unnecessary details. Rendered in small sizes, the text looks crisper.
The easier the forms, the faster the eye perceives them \
and the less effort the brain needs to process them."
HOMEPAGE="https://www.jetbrains.com/lp/mono/"
COPYRIGHT="2020 Philipp Nurullin \
2020 Konstantin Bulenkov \
The whole JetBrains Team"
LICENSE="Apache v2"
REVISION="1"
SOURCE_URI="https://github.com/JetBrains/JetBrainsMono/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="24b423336d702e209a7181873300f855078d2c47e1a519c63ce57755ea7569ea"
SOURCE_FILENAME="JetBrainsMono-v$portVersion.tar.gz"
SOURCE_DIR="JetBrainsMono-$portVersion"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="jetbrains_mono = $portVersion"
REQUIRES=""
BUILD_REQUIRES=""
BUILD_PREREQUIRES="coreutils"
BUILD()
{
true
}
INSTALL()
{
FONTDIR=${fontsDir}/ttfonts
mkdir -p ${FONTDIR}
cp -r ttf/* ${FONTDIR}/
}

View File

@@ -0,0 +1,34 @@
SUMMARY="A monospace font designed for developers"
DESCRIPTION="JetBrains Mono is a free and open source typeface made for developers.
Features:
* Forms are simple and free from unnecessary details
* Adapted for reading code
* Increased height for a better reading experience
* Text looks crisper when rendered in small sizes
* Code specific ligatures"
HOMEPAGE="https://www.jetbrains.com/lp/mono/"
COPYRIGHT="2020 Philipp Nurullin \
2020 Konstantin Bulenkov \
The whole JetBrains Team"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/JetBrains/JetBrainsMono/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="d8dab5ff24fc9e345d6c7987f2746cf8df4f870561ea89c14630b8d1729fd727"
SOURCE_DIR="JetBrainsMono-$portVersion"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="jetbrains_mono = $portVersion"
BUILD()
{
true
}
INSTALL()
{
mkdir -pv $fontsDir/otfonts
cp -av fonts/otf/*.otf $fontsDir/otfonts
}

View File

@@ -0,0 +1,38 @@
SUMMARY="A monospace font designed for developers (patched with Nerd Fonts)"
DESCRIPTION="JetBrains Mono is a free and open source typeface made for developers.
Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs \
(icons). Specifically to add a high number of extra glyphs from popular 'iconic fonts' such as \
Font Awesome, Devicons, Octicons, and others.
Standard JetBrains Mono Features:
* Forms are simple and free from unnecessary details
* Adapted for reading code
* Increased height for a better reading experience
* Text looks crisper when rendered in small sizes
* Code specific ligatures"
HOMEPAGE="https://github.com/ryanoasis/nerd-fonts"
COPYRIGHT="2020 Philipp Nurullin \
2020 Konstantin Bulenkov \
The whole JetBrains Team"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/ryanoasis/nerd-fonts/releases/download/v$portVersion/JetBrainsMono.tar.xz"
CHECKSUM_SHA256="c049e5efdbcaf32d66eb07cc1c658f4d7127dcca22abc376ee4b75fb9bd6466a"
SOURCE_DIR=""
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="jetbrains_mono_nerd = $portVersion"
BUILD()
{
true
}
INSTALL()
{
mkdir -pv $fontsDir/ttfonts
cp -av JetBrainsMonoNerdFont*.ttf $fontsDir/ttfonts
}