diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /media-fonts/fontawesome/fontawesome-6.1.1.ebuild | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'media-fonts/fontawesome/fontawesome-6.1.1.ebuild')
-rw-r--r-- | media-fonts/fontawesome/fontawesome-6.1.1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
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 +} |