diff options
author | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2022-08-14 19:31:08 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-09-15 10:05:41 +0300 |
commit | 44e59754ec190c7dd6ddf475d04b9fdb0f838829 (patch) | |
tree | da34d8dbc0adeb59090eb3f75cae4fee7afe87e0 /media-fonts | |
parent | media-fonts/source-han-sans: add 2.004 (diff) | |
download | gentoo-44e59754ec190c7dd6ddf475d04b9fdb0f838829.tar.gz gentoo-44e59754ec190c7dd6ddf475d04b9fdb0f838829.tar.bz2 gentoo-44e59754ec190c7dd6ddf475d04b9fdb0f838829.zip |
media-fonts/source-sans: add 2.020
copied from =media-fonts/source-pro-20170111 to satisfy dependency of
dev-lang/nasm on the old font name once media-fonts/source-pro is
masked.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/source-sans/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/source-sans/files/63-source-sans-pro.conf | 16 | ||||
-rw-r--r-- | media-fonts/source-sans/source-sans-2.020.ebuild | 35 |
3 files changed, 52 insertions, 0 deletions
diff --git a/media-fonts/source-sans/Manifest b/media-fonts/source-sans/Manifest index 631498e51af0..6398c1be58fa 100644 --- a/media-fonts/source-sans/Manifest +++ b/media-fonts/source-sans/Manifest @@ -1 +1,2 @@ +DIST source-sans-2.020.tar.gz 6735500 BLAKE2B 7026f1458d2f56226ccf26d6a38dea73eaff47fc197f2fbf0ca0c8757d420c503817e6e9984b38947aaee6171138e34b70474551f5db12129e4a5ce362890ac2 SHA512 3ec3901af21f076918c8e673c4015722aa56f98064fe5027fb151bff8e6484069b12ad0d3eb8029865a6791aecbc3c0001a07dc0bd183a6e25167b1e8ec53a62 DIST source-sans-3.046.tar.gz 12105836 BLAKE2B 3e2fed594f74614afd49ef731497b9abd6c75a78850cc1c5abbae0c246f454a0d06b82d4b7eaeefe8fb6b0d8246adb3f2751b4de6e2637f05f6cc20ead66faba SHA512 4b53ca10053bf10b23f3a2488d562b79a8dfd39f1402d068098856bbd1bd5bd9ddbb8f269acea45f003289dc95378229ed14e21fdcd39d49e3d6864693c0fbb4 diff --git a/media-fonts/source-sans/files/63-source-sans-pro.conf b/media-fonts/source-sans/files/63-source-sans-pro.conf new file mode 100644 index 000000000000..0432c78e47da --- /dev/null +++ b/media-fonts/source-sans/files/63-source-sans-pro.conf @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <alias> + <family>Source Sans Pro</family> + <default> + <family>sans-serif</family> + </default> + </alias> + <alias> + <family>sans-serif</family> + <prefer> + <family>Source Sans Pro</family> + </prefer> + </alias> +</fontconfig> diff --git a/media-fonts/source-sans/source-sans-2.020.ebuild b/media-fonts/source-sans/source-sans-2.020.ebuild new file mode 100644 index 000000000000..6be6d81a076b --- /dev/null +++ b/media-fonts/source-sans/source-sans-2.020.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FONT_PN=${PN}-pro + +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" +IUSE="cjk" + +RESTRICT="binchecks strip" + +RDEPEND=" + media-libs/fontconfig + !media-fonts/source-pro +" + +FONT_CONF=( "${FILESDIR}"/63-${FONT_PN}.conf ) +FONT_SUFFIX="otf" + +src_prepare() { + default + mv OTF/*.otf . || die +} |