Diff fontawesome-5.15.3 with a fontawesome-6.1.1
/usr/portage/media-fonts/fontawesome/fontawesome-6.1.1.ebuild 2023-10-09 14:52:31.604368403 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
MY_PN="Font-Awesome" |
|
7 | 6 |
inherit font |
8 | 7 | |
9 | 8 |
DESCRIPTION="The iconic font" |
10 | 9 |
HOMEPAGE="https://fontawesome.com" |
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 ~ppc64 ~riscv x86" |
|
17 |
S="${WORKDIR}/${MY_PN}-${PV}" |
|
18 |
fi |
|
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}" |
|
19 | 13 | |
20 | 14 |
LICENSE="CC-BY-4.0 OFL-1.1" |
21 |
SLOT="0/5" |
|
15 |
SLOT="0/6" |
|
22 | 16 |
IUSE="+otf ttf" |
23 | 17 | |
24 | 18 |
REQUIRED_USE="|| ( otf ttf )" |
25 | ||
26 | 19 |
src_install() { |
27 | 20 |
if use otf; then |
28 | 21 |
FONT_S="${S}/otfs" FONT_SUFFIX="otf" font_src_install |