From ee650780957a5be9fb3992b36635a29076f0c304 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Fri, 13 May 2022 12:34:45 -0400 Subject: media-fonts/source-pro: import, upgrade to 20210115 --- media-fonts/source-pro/Manifest | 3 ++ media-fonts/source-pro/files/63-source-pro.conf | 40 +++++++++++++++++++++++ media-fonts/source-pro/metadata.xml | 12 +++++++ media-fonts/source-pro/source-pro-20210115.ebuild | 39 ++++++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 media-fonts/source-pro/Manifest create mode 100644 media-fonts/source-pro/files/63-source-pro.conf create mode 100644 media-fonts/source-pro/metadata.xml create mode 100644 media-fonts/source-pro/source-pro-20210115.ebuild (limited to 'media-fonts/source-pro') diff --git a/media-fonts/source-pro/Manifest b/media-fonts/source-pro/Manifest new file mode 100644 index 0000000..99d65ef --- /dev/null +++ b/media-fonts/source-pro/Manifest @@ -0,0 +1,3 @@ +DIST source-code-pro-20210115.tar.gz 6818951 BLAKE2B b133aa317bf5057e8b346d81491bf08c0c257066ed05b2001a9e327308a63a3ef943da3b12b5933c217c31839750fbb3947b4f566f48aac6e88c7096cbbf82cd SHA512 96981af2a470027a372ab8a02265d34a6b2a810c4cca0b498b01e613019a04c9760d95e21fb740af2c7fff076098bb36f5c282bf9b8f1875eed72ed70e4b3ac9 +DIST source-sans-pro-20210115.tar.gz 12105836 BLAKE2B 3e2fed594f74614afd49ef731497b9abd6c75a78850cc1c5abbae0c246f454a0d06b82d4b7eaeefe8fb6b0d8246adb3f2751b4de6e2637f05f6cc20ead66faba SHA512 4b53ca10053bf10b23f3a2488d562b79a8dfd39f1402d068098856bbd1bd5bd9ddbb8f269acea45f003289dc95378229ed14e21fdcd39d49e3d6864693c0fbb4 +DIST source-serif-pro-20210115.tar.gz 40747188 BLAKE2B 9c91fbb5d9b29c28e1e64f36e410afce8ae6f0e6d030a6ee4e6069a20d270bf7852967641eb54b33bfe9a23eae024448f6c22de25d766a9f8a830cce04d29db1 SHA512 fff923121f1d536886468fd4887e036d9d85603e57c4ecabe64f73af4506b15265481ca69cbe7d83751f93ff72f7f9dce3aae56dacdd2c4da1bc1e7285f76d6b diff --git a/media-fonts/source-pro/files/63-source-pro.conf b/media-fonts/source-pro/files/63-source-pro.conf new file mode 100644 index 0000000..4265e65 --- /dev/null +++ b/media-fonts/source-pro/files/63-source-pro.conf @@ -0,0 +1,40 @@ + + + + + Source Code Pro + + monospace + + + + monospace + + Source Code Pro + + + + Source Sans Pro + + sans-serif + + + + sans-serif + + Source Sans Pro + + + + Source Serif Pro + + serif + + + + serif + + Source Serif Pro + + + diff --git a/media-fonts/source-pro/metadata.xml b/media-fonts/source-pro/metadata.xml new file mode 100644 index 0000000..bcdcbf1 --- /dev/null +++ b/media-fonts/source-pro/metadata.xml @@ -0,0 +1,12 @@ + + + + + fonts@gentoo.org + Fonts + + + adobe-fonts/source-code-pro + sourcesans.adobe + + 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 +} -- cgit v1.2.3-70-g09d2