media-fonts/source-serif: new package, add 4.004

This commit is contained in:
Ronny (tastytea) Gutbrod 2022-08-14 02:49:38 +02:00 committed by tastytea
parent e6d27dd0ca
commit a1420bab5f
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST source-serif-4.004.tar.gz 40747188 BLAKE2B 9c91fbb5d9b29c28e1e64f36e410afce8ae6f0e6d030a6ee4e6069a20d270bf7852967641eb54b33bfe9a23eae024448f6c22de25d766a9f8a830cce04d29db1 SHA512 fff923121f1d536886468fd4887e036d9d85603e57c4ecabe64f73af4506b15265481ca69cbe7d83751f93ff72f7f9dce3aae56dacdd2c4da1bc1e7285f76d6b

View File

@ -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>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>tastytea</name>
</maintainer>
<stabilize-allarches />
<upstream>
<remote-id type="github">adobe-fonts/source-serif</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
MAJORV="${PV%%.*}"
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-${PN}-${MAJORV}.conf )
FONT_SUFFIX="otf"
src_prepare() {
default
mv OTF/*.otf . || die
}