media-fonts/intel-one-mono: add 1.3.0

Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
This commit is contained in:
YiFei Zhu 2023-08-23 16:47:26 -07:00
parent f3ec7d7610
commit 912bccf271
No known key found for this signature in database
GPG Key ID: 7583845F3F664C27
2 changed files with 34 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST intel-one-mono-1.2.1-otf.zip 355599 BLAKE2B d060409d767111486fc1b9784439493a42d4021dc0cff41af4770b79fc7fa26babb17ad6edd49ac83bfc5c27366cefd17df75f2fd7863afee4e1a050bfbf6c05 SHA512 759f3f6ff9b81f985dcb6aa6d9fb8102c58e74425b9239bc2932c460076b0f141e232d586ca466628130f783c2d481b5530e75de55b534c1e35f3cfc9c15282c DIST intel-one-mono-1.2.1-otf.zip 355599 BLAKE2B d060409d767111486fc1b9784439493a42d4021dc0cff41af4770b79fc7fa26babb17ad6edd49ac83bfc5c27366cefd17df75f2fd7863afee4e1a050bfbf6c05 SHA512 759f3f6ff9b81f985dcb6aa6d9fb8102c58e74425b9239bc2932c460076b0f141e232d586ca466628130f783c2d481b5530e75de55b534c1e35f3cfc9c15282c
DIST intel-one-mono-1.2.1-ttf.zip 283597 BLAKE2B 8e7add4cfc84ae6c4349513ded39be3e2b10923f38b8df689620417cab1abaa1f993b2672f6f1ae4868e88b4bac6f73933dffb49d51b53c703b7565866d11e08 SHA512 3a82ab952c2cbedc069ab6c0846a05c0f0725f2db0a4be642c4e0224a6b607e9cc4d2ef0abc8709a61fc817d85a2b9531f203c235ffa53d22833430ddf25d787 DIST intel-one-mono-1.2.1-ttf.zip 283597 BLAKE2B 8e7add4cfc84ae6c4349513ded39be3e2b10923f38b8df689620417cab1abaa1f993b2672f6f1ae4868e88b4bac6f73933dffb49d51b53c703b7565866d11e08 SHA512 3a82ab952c2cbedc069ab6c0846a05c0f0725f2db0a4be642c4e0224a6b607e9cc4d2ef0abc8709a61fc817d85a2b9531f203c235ffa53d22833430ddf25d787
DIST intel-one-mono-1.3.0-otf.zip 354382 BLAKE2B 1216f8075fd4137696c65f33a208d70f611991c4663228b151dd54ad0b43dff54073bb944c2390bcd04ab15d7894c552089f867aefd7500faeb23c8e2bb87fc7 SHA512 3c4803d103cd3f6dcd5caf020cefc665812f4859151e399c6e7a547f8c62e1e6b0ab5c9b4a79e20fbb41af435d01ced955db8429d4174b429de79782a8d6503a
DIST intel-one-mono-1.3.0-ttf.zip 284339 BLAKE2B 55c3d5dd3b9f201b1e345d2e30175379b776e198755cdb69c8d3f55103bc84120360df85ac96dd96ab8474e0722cd3a861c4c511b00784d8e8230971c82b3567 SHA512 d460d84fe9f717b6a6a1f4222cc07289ad0c08de464d270371e82452ae144720d7352710493050dd6c4fcef72e47c3712e207deff695774aad4852db7be2dc29

View File

@ -0,0 +1,32 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit font
DESCRIPTION="An expressive monospaced font family"
HOMEPAGE="https://github.com/intel/intel-one-mono"
SRC_URI="
otf? ( https://github.com/intel/${PN}/releases/download/V${PV}/otf.zip -> ${P}-otf.zip )
ttf? ( https://github.com/intel/${PN}/releases/download/V${PV}/ttf.zip -> ${P}-ttf.zip )
"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+otf ttf"
REQUIRED_USE="|| ( otf ttf )"
BDEPEND="app-arch/unzip"
S="${WORKDIR}"
src_install() {
if use otf; then
FONT_S="${S}/otf" FONT_SUFFIX="otf" font_src_install
fi
if use ttf; then
FONT_S="${S}/ttf" FONT_SUFFIX="ttf" font_src_install
fi
}