diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 11:12:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 11:12:39 +0100 |
commit | d9339ace1b5d6cf11ad869751abc1a474f46931d (patch) | |
tree | 9b5fe462706c49ff13aeb284891e45f28e1c0d0a /media-fonts/source-serif/source-serif-4.004.ebuild | |
parent | d49d63ee52f4026f7871f4ce062c172ba5e62b74 (diff) |
gentoo auto-resync : 15:09:2022 - 11:12:38
Diffstat (limited to 'media-fonts/source-serif/source-serif-4.004.ebuild')
-rw-r--r-- | media-fonts/source-serif/source-serif-4.004.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
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 +} |