mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 00:18:26 +00:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
39 lines
1,004 B
Bash
39 lines
1,004 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MAJORV="${PV%%.*}"
|
|
FONT_PN=${PN}-${MAJORV}
|
|
|
|
inherit font optfeature
|
|
|
|
DESCRIPTION="Sans serif font family for user interface environments"
|
|
HOMEPAGE="https://adobe-fonts.github.io/source-sans/"
|
|
SRC_URI="https://github.com/adobe-fonts/source-sans/archive/${PV}R.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${P}R"
|
|
|
|
LICENSE="OFL-1.1"
|
|
SLOT="${MAJORV}"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~x64-macos"
|
|
|
|
RESTRICT="binchecks strip"
|
|
|
|
RDEPEND="media-libs/fontconfig"
|
|
|
|
FONT_CONF=( "${FILESDIR}"/63-${FONT_PN}.conf )
|
|
FONT_SUFFIX="otf"
|
|
|
|
src_prepare() {
|
|
default
|
|
mv OTF/*.otf . || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
font_pkg_postinst
|
|
|
|
optfeature_header "Other variants of this font are:"
|
|
optfeature "the monospace variant" media-fonts/source-code-pro
|
|
optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans
|
|
optfeature "the serif variant" media-fonts/source-serif
|
|
}
|