media-fonts/source-serif - 4.005-r1 (gentoo)

Search

Install

Install this version:

emerge -a =media-fonts/source-serif-4.005-r1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-fonts/source-serif-4.005-r1

Or alternatively:

emerge --autounmask-write -a =media-fonts/source-serif-4.005-r1

Package Information

Description:
Serif font family for user interface environments
Homepage:
https://adobe-fonts.github.io/source-serif/
License:
OFL-1.1

Ebuild Details

Version EAPI Keywords Slot
4.005-r1 8 ~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86 ~x64-macos 4.005-r1
View Raw Ebuild
# Copyright 1999-2025 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 ~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() {
	font_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
}

Inherited Eclasses

Dependencies

RDEPEND

media-libs/fontconfig