diff options
author | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2022-08-14 02:49:38 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-09-15 10:05:41 +0300 |
commit | 508d3ed456ff1c46ea2abde5749cc8efc70e0963 (patch) | |
tree | 68df9bc57bff0c8acb7fc071232f8f6334837f6e /media-fonts/source-serif | |
parent | media-fonts/source-code-pro: new package, add 2.038 (diff) | |
download | gentoo-508d3ed456ff1c46ea2abde5749cc8efc70e0963.tar.gz gentoo-508d3ed456ff1c46ea2abde5749cc8efc70e0963.tar.bz2 gentoo-508d3ed456ff1c46ea2abde5749cc8efc70e0963.zip |
media-fonts/source-serif: new package, add 4.004
media-fonts/source-pro split, see previous message. This version has
changed font metrics compared to the -pro version.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts/source-serif')
-rw-r--r-- | media-fonts/source-serif/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/source-serif/files/63-source-serif-4.conf | 16 | ||||
-rw-r--r-- | media-fonts/source-serif/metadata.xml | 12 | ||||
-rw-r--r-- | media-fonts/source-serif/source-serif-4.004.ebuild | 30 |
4 files changed, 59 insertions, 0 deletions
diff --git a/media-fonts/source-serif/Manifest b/media-fonts/source-serif/Manifest new file mode 100644 index 000000000000..494b051bf018 --- /dev/null +++ b/media-fonts/source-serif/Manifest @@ -0,0 +1 @@ +DIST source-serif-4.004.tar.gz 40747188 BLAKE2B 9c91fbb5d9b29c28e1e64f36e410afce8ae6f0e6d030a6ee4e6069a20d270bf7852967641eb54b33bfe9a23eae024448f6c22de25d766a9f8a830cce04d29db1 SHA512 fff923121f1d536886468fd4887e036d9d85603e57c4ecabe64f73af4506b15265481ca69cbe7d83751f93ff72f7f9dce3aae56dacdd2c4da1bc1e7285f76d6b diff --git a/media-fonts/source-serif/files/63-source-serif-4.conf b/media-fonts/source-serif/files/63-source-serif-4.conf new file mode 100644 index 000000000000..b28fb3dd6bae --- /dev/null +++ b/media-fonts/source-serif/files/63-source-serif-4.conf @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <alias> + <family>Source Serif 4</family> + <default> + <family>serif</family> + </default> + </alias> + <alias> + <family>serif</family> + <prefer> + <family>Source Serif 4</family> + </prefer> + </alias> +</fontconfig> diff --git a/media-fonts/source-serif/metadata.xml b/media-fonts/source-serif/metadata.xml new file mode 100644 index 000000000000..6c469978de06 --- /dev/null +++ b/media-fonts/source-serif/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Fonts</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <remote-id type="github">adobe-fonts/source-serif</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-fonts/source-serif/source-serif-4.004.ebuild b/media-fonts/source-serif/source-serif-4.004.ebuild new file mode 100644 index 000000000000..9a85e0c4bcc5 --- /dev/null +++ b/media-fonts/source-serif/source-serif-4.004.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MAJORV="${PV%%.*}" +FONT_PN=${PN}-${MAJORV} + +inherit font + +DESCRIPTION="Serif font family for user interface environments" +HOMEPAGE="https://adobe-fonts.github.io/source-serif/" +SRC_URI="https://github.com/adobe-fonts/source-serif/archive/${PV}R.tar.gz -> source-serif-${PV}.tar.gz" +S="${WORKDIR}/${P}R" + +LICENSE="OFL-1.1" +SLOT="${MAJORV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~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 +} |