summaryrefslogtreecommitdiff
path: root/media-fonts/source-serif
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-15 11:12:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-15 11:12:39 +0100
commitd9339ace1b5d6cf11ad869751abc1a474f46931d (patch)
tree9b5fe462706c49ff13aeb284891e45f28e1c0d0a /media-fonts/source-serif
parentd49d63ee52f4026f7871f4ce062c172ba5e62b74 (diff)
gentoo auto-resync : 15:09:2022 - 11:12:38
Diffstat (limited to 'media-fonts/source-serif')
-rw-r--r--media-fonts/source-serif/Manifest4
-rw-r--r--media-fonts/source-serif/files/63-source-serif-4.conf16
-rw-r--r--media-fonts/source-serif/metadata.xml20
-rw-r--r--media-fonts/source-serif/source-serif-4.004.ebuild37
4 files changed, 77 insertions, 0 deletions
diff --git a/media-fonts/source-serif/Manifest b/media-fonts/source-serif/Manifest
new file mode 100644
index 000000000000..4d4ed30090f7
--- /dev/null
+++ b/media-fonts/source-serif/Manifest
@@ -0,0 +1,4 @@
+AUX 63-source-serif-4.conf 338 BLAKE2B 46fe8e1e67934ec60649c25c9a29f39ce26fc4fd1402bf2208bca3203f45704d179fed47dafac0c5f4393e13e229cd9d6d1f180a0ec484d54d518087842ee979 SHA512 7a734c4c7d9737d20d961e94e7a1ee4b1e2a479ea9a7de23caa3b96be66d8ccf048b4bfb1628a35eac8f9988e602c53f4f7caf246dded9105b4bff7424f31461
+DIST source-serif-4.004.tar.gz 40747188 BLAKE2B 9c91fbb5d9b29c28e1e64f36e410afce8ae6f0e6d030a6ee4e6069a20d270bf7852967641eb54b33bfe9a23eae024448f6c22de25d766a9f8a830cce04d29db1 SHA512 fff923121f1d536886468fd4887e036d9d85603e57c4ecabe64f73af4506b15265481ca69cbe7d83751f93ff72f7f9dce3aae56dacdd2c4da1bc1e7285f76d6b
+EBUILD source-serif-4.004.ebuild 1004 BLAKE2B c06ba3dc3ed08aeae42a1e3514a2d2119da94393350764b4c21d4d8e689c7974f9ca991047510bcfebddc3a68fa4faa1e5fa8ddcc22c6af5a5864a650a037c7b SHA512 28f2784b5f8e063a29e8688c245082c90ae6daa175a874e0202eecbbeda82f974f3d03cdd22d03815c71af871ad9116b0beb3c8a50f5433921357a59d8d10d2f
+MISC metadata.xml 619 BLAKE2B b18cd50ea12f5f34ec2baf05770e74700327a7b8272abe2349d29c1bb13be4f27891cadd98ff802ab40625e88b21b7d37c6df5b3a393d2449ae03d7781126dc9 SHA512 91d12c4012300440cca93b433ea4a40b3030046dcdd80240fe166ccb74c352ad8b5e7a960ab7c66a1d19ee7d1e83cabf175614fe0d23d14256d7aabca1f72c11
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..f9af71fd6807
--- /dev/null
+++ b/media-fonts/source-serif/metadata.xml
@@ -0,0 +1,20 @@
+<?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>
+ <maintainer type="person" proxied="yes">
+ <email>gentoo@tastytea.de</email>
+ <name>Ronny (tastytea) Gutbrod</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</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..d14d86b76f05
--- /dev/null
+++ b/media-fonts/source-serif/source-serif-4.004.ebuild
@@ -0,0 +1,37 @@
+# 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 optfeature
+
+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
+}
+
+pkg_postinst() {
+ optfeature_header "Other variants of this font are:"
+ optfeature "the monospace variant" media-fonts/source-code-pro
+ optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans
+ optfeature "the sans-serif variant" media-fonts/source-sans
+}