Diff fontawesome-6.1.1 with a fontawesome-9999

/usr/portage/media-fonts/fontawesome/fontawesome-9999.ebuild 2023-10-09 14:52:31.604368403 +0300
1
# Copyright 2022 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=8
4
EAPI=7
5 5

  
6
MY_PN="Font-Awesome"
6 7
inherit font
7 8

  
8 9
DESCRIPTION="The iconic font"
9 10
HOMEPAGE="https://fontawesome.com"
10
SRC_URI="https://github.com/FortAwesome/Font-Awesome/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
11
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
12
S="${WORKDIR}/Font-Awesome-${PV}"
11
if [[ ${PV} == 9999 ]]; then
12
	inherit git-r3
13
	EGIT_REPO_URI="https://github.com/FortAwesome/${MY_PN}.git"
14
else
15
	SRC_URI="https://github.com/FortAwesome/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
16
	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~x86"
17
	S="${WORKDIR}/${MY_PN}-${PV}"
18
fi
13 19

  
14 20
LICENSE="CC-BY-4.0 OFL-1.1"
15
SLOT="0/6"
21
SLOT="0/5"
16 22
IUSE="+otf ttf"
17 23

  
18 24
REQUIRED_USE="|| ( otf ttf )"
25

  
19 26
src_install() {
20 27
	if use otf; then
21 28
		FONT_S="${S}/otfs" FONT_SUFFIX="otf" font_src_install
Thank you!