2022-08-14 19:31:08 +02:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2022-09-10 06:50:01 +02:00
|
|
|
FONT_PN=${PN}-pro
|
|
|
|
|
2022-08-14 19:31:08 +02:00
|
|
|
inherit font
|
|
|
|
|
|
|
|
REALV="2.020R-ro/1.075R-it"
|
|
|
|
|
|
|
|
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/${REALV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/${PN}-${REALV//\//-}"
|
|
|
|
|
|
|
|
LICENSE="OFL-1.1"
|
|
|
|
SLOT="pro"
|
|
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
|
|
|
|
|
|
|
RESTRICT="binchecks strip"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
media-libs/fontconfig
|
|
|
|
!media-fonts/source-pro
|
|
|
|
"
|
|
|
|
|
|
|
|
FONT_CONF=( "${FILESDIR}"/63-${PN}-pro.conf )
|
|
|
|
FONT_SUFFIX="otf"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
mv OTF/*.otf . || die
|
|
|
|
}
|