diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-05-13 12:34:45 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2022-05-13 12:34:45 -0400 |
commit | ee650780957a5be9fb3992b36635a29076f0c304 (patch) | |
tree | d14fa44e28fc46a36d64f0e7c370ee7ca65e6a6f /media-fonts/source-pro/source-pro-20210115.ebuild | |
parent | ee23f8d0bf5306a1352dff7b7de7fbb9596ddcaf (diff) | |
download | gentoo-overlay-ee650780957a5be9fb3992b36635a29076f0c304.tar.xz gentoo-overlay-ee650780957a5be9fb3992b36635a29076f0c304.zip |
media-fonts/source-pro: import, upgrade to 20210115
Diffstat (limited to 'media-fonts/source-pro/source-pro-20210115.ebuild')
-rw-r--r-- | media-fonts/source-pro/source-pro-20210115.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-fonts/source-pro/source-pro-20210115.ebuild b/media-fonts/source-pro/source-pro-20210115.ebuild new file mode 100644 index 0000000..f20042b --- /dev/null +++ b/media-fonts/source-pro/source-pro-20210115.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit font + +SANSV="3.046R" +SERIFV="4.004R" +CODEV="2.038R-ro/1.058R-it/1.018R-VAR" + +DESCRIPTION="Adobe's open source typeface family designed for UI environments" +HOMEPAGE="https://adobe-fonts.github.io/source-sans/ + https://adobe-fonts.github.io/source-serif/ + https://adobe-fonts.github.io/source-code-pro/" +SRC_URI="https://github.com/adobe-fonts/source-sans/archive/${SANSV}.tar.gz -> source-sans-pro-${PV}.tar.gz + https://github.com/adobe-fonts/source-serif/archive/${SERIFV}.tar.gz -> source-serif-pro-${PV}.tar.gz + https://github.com/adobe-fonts/source-code-pro/archive/${CODEV}.tar.gz -> source-code-pro-${PV}.tar.gz" +S="${WORKDIR}" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" +IUSE="cjk" + +RESTRICT="binchecks strip" + +RDEPEND=" + media-libs/fontconfig + cjk? ( media-fonts/source-han-sans ) +" + +FONT_CONF=( "${FILESDIR}"/63-${PN}.conf ) +FONT_SUFFIX="otf" + +src_prepare() { + default + mv source-*/OTF/*.otf . || die +} |