commit:     e29d73720b98e1c47a020731f9b25ae1236f0e73
Author:     Chaquen Beliakov Amaya <c <AT> cgps <DOT> ch>
AuthorDate: Wed Apr  6 08:31:29 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 09:34:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e29d7372

media-fonts/fontawesome: add 6.1.1

Closes: https://github.com/gentoo/gentoo/pull/24930
Signed-off-by: Chaquen Beliakov Amaya <c <AT> cgps.ch>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-fonts/fontawesome/Manifest                 |  1 +
 media-fonts/fontawesome/fontawesome-6.1.1.ebuild | 26 ++++++++++++++++++++++++
 media-fonts/fontawesome/metadata.xml             |  9 +++++++-
 3 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/media-fonts/fontawesome/Manifest b/media-fonts/fontawesome/Manifest
index 43e2266f8d54..7b8bfe3728d5 100644
--- a/media-fonts/fontawesome/Manifest
+++ b/media-fonts/fontawesome/Manifest
@@ -2,3 +2,4 @@ DIST fontawesome-5.14.0.tar.gz 11130737 BLAKE2B 
0ae60cb0564ed89705d972f41084f2a3
 DIST fontawesome-5.15.1.tar.gz 11277799 BLAKE2B 
a1f59fe6b6f3ae93bc1a818956ae0034ba7bbb9f3ce800e5296903fa5f19426496dc21245691ac83bcb0eca5ed5aae33c0942eccb1ce8c05143a9e8509c89aae
 SHA512 
0dfef0ae11d032bf52ecdc5ea94ad258805e61b7b4e2aedcf7b0b4d2f0977466339af54310b796eefe3115ef2cb10d1537080d2d68746379ff83cfcbea5c377f
 DIST fontawesome-5.15.2.tar.gz 11274421 BLAKE2B 
14a0cb2d8f444a26d0552f14fbdd9a51c8bc7903e19cc33271618af87db744539cd7954baba4e8870aff98b3ed311aba37c3d8bbe6903065292a92561363067d
 SHA512 
c1577b90053285a77ecf1225c1bd534fb0d3b89a4b90e4abcd37bd36ad1b35967a4746fe164ff7129c8a90f1294fab947dd2ff203a5b826ac89d5f6b48a77a80
 DIST fontawesome-5.15.3.tar.gz 11240429 BLAKE2B 
a6de9a8add03e12e569ecc45c4b1fcefddb5f146f74aaeca8359fb97012648f9a11beffc34977be49e45747f7e43a1d084400aa9ba76006ef84bcbca1ecf214e
 SHA512 
f540d8828eff91636b7e701455062d28be58fcecfd842919f4f95f1035f6d23d9b64f3f5ac24bda08be507f8d7cd0943aef8577321c37765951d88d6d6c60fc7
+DIST fontawesome-6.1.1.tar.gz 13326697 BLAKE2B 
fe40d8d4474afe297636aa9768292acdd80f20b4c65effffed95deb1652aa6f52f915492f4ba6e46494fee7b3b6fd914d422b8440f02a66f303e4b0def9d5254
 SHA512 
cde1b1bef93349d3c8b965d75f7bb37007470ebc71194028bbac155dc703f00b2a99175ac0407bf5562dc414712d80bd7cf59d347a445bfe07079c0ac9d784de

diff --git a/media-fonts/fontawesome/fontawesome-6.1.1.ebuild 
b/media-fonts/fontawesome/fontawesome-6.1.1.ebuild
new file mode 100644
index 000000000000..c783733e5ee7
--- /dev/null
+++ b/media-fonts/fontawesome/fontawesome-6.1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit font
+
+DESCRIPTION="The iconic font"
+HOMEPAGE="https://fontawesome.com";
+SRC_URI="https://github.com/FortAwesome/Font-Awesome/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+S="${WORKDIR}/Font-Awesome-${PV}"
+
+LICENSE="CC-BY-4.0 OFL-1.1"
+SLOT="0/6"
+IUSE="+otf ttf"
+
+REQUIRED_USE="|| ( otf ttf )"
+src_install() {
+       if use otf; then
+               FONT_S="${S}/otfs" FONT_SUFFIX="otf" font_src_install
+       fi
+       if use ttf; then
+               FONT_S="${S}/webfonts" FONT_SUFFIX="ttf" font_src_install
+       fi
+}

diff --git a/media-fonts/fontawesome/metadata.xml 
b/media-fonts/fontawesome/metadata.xml
index 8e9696a6e881..930cecf1616a 100644
--- a/media-fonts/fontawesome/metadata.xml
+++ b/media-fonts/fontawesome/metadata.xml
@@ -1,7 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <!-- maintainer-needed -->
+       <maintainer type="person" proxied="yes">
+               <email>c...@cgps.ch</email>
+               <name>Chaquen Beliakov Amaya</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>proxy-ma...@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
        <use>
                <flag name="otf">Install the OpenType version of the font</flag>
                <flag name="ttf">Install the TrueType version of the font</flag>

Reply via email to