diff options
author | YiFei Zhu <zhuyifei1999@gmail.com> | 2023-06-14 04:26:51 -0700 |
---|---|---|
committer | YiFei Zhu <zhuyifei1999@gmail.com> | 2023-06-14 04:27:16 -0700 |
commit | ab792c1a9041bf6af720349022851081b53ded11 (patch) | |
tree | bf4aee45e20d316c7101ad14a6f1cc2489cb7c5c /media-fonts | |
parent | .github/workflows/duplicates.yml: inform recoveries (diff) | |
download | guru-ab792c1a9041bf6af720349022851081b53ded11.tar.gz guru-ab792c1a9041bf6af720349022851081b53ded11.tar.bz2 guru-ab792c1a9041bf6af720349022851081b53ded11.zip |
media-fonts/intel-one-mono: new package, add 1.2.1
Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/intel-one-mono/Manifest | 2 | ||||
-rw-r--r-- | media-fonts/intel-one-mono/intel-one-mono-1.2.1.ebuild | 32 | ||||
-rw-r--r-- | media-fonts/intel-one-mono/metadata.xml | 15 |
3 files changed, 49 insertions, 0 deletions
diff --git a/media-fonts/intel-one-mono/Manifest b/media-fonts/intel-one-mono/Manifest new file mode 100644 index 000000000..ec054d603 --- /dev/null +++ b/media-fonts/intel-one-mono/Manifest @@ -0,0 +1,2 @@ +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 diff --git a/media-fonts/intel-one-mono/intel-one-mono-1.2.1.ebuild b/media-fonts/intel-one-mono/intel-one-mono-1.2.1.ebuild new file mode 100644 index 000000000..408c53bff --- /dev/null +++ b/media-fonts/intel-one-mono/intel-one-mono-1.2.1.ebuild @@ -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 +} diff --git a/media-fonts/intel-one-mono/metadata.xml b/media-fonts/intel-one-mono/metadata.xml new file mode 100644 index 000000000..0322d2a2c --- /dev/null +++ b/media-fonts/intel-one-mono/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zhuyifei1999@gmail.com</email> + <name>YiFei Zhu</name> + </maintainer> + <upstream> + <remote-id type="github">intel/intel-one-mono</remote-id> + </upstream> + <use> + <flag name="otf">Install the OpenType version of the font</flag> + <flag name="ttf">Install the TrueType version of the font</flag> + </use> +</pkgmetadata> |