summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2022-08-14 20:20:33 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-09-15 10:05:41 +0300
commit578d52d0a14d08a71a25d0781f3db0f132e2cf46 (patch)
tree1c118c908db2a08c2d2f6703dfb210d161d950a4 /media-fonts/source-sans
parentmedia-fonts/source-sans: add 2.020 (diff)
downloadgentoo-578d52d0a14d08a71a25d0781f3db0f132e2cf46.tar.gz
gentoo-578d52d0a14d08a71a25d0781f3db0f132e2cf46.tar.bz2
gentoo-578d52d0a14d08a71a25d0781f3db0f132e2cf46.zip
media-fonts/*: add optfeature to source-*
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts/source-sans')
-rw-r--r--media-fonts/source-sans/source-sans-3.046.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/media-fonts/source-sans/source-sans-3.046.ebuild b/media-fonts/source-sans/source-sans-3.046.ebuild
index 2668b3cb9565..2c96dc8edca8 100644
--- a/media-fonts/source-sans/source-sans-3.046.ebuild
+++ b/media-fonts/source-sans/source-sans-3.046.ebuild
@@ -6,7 +6,7 @@ EAPI=8
MAJORV="${PV%%.*}"
FONT_PN=${PN}-${MAJORV}
-inherit font
+inherit font optfeature
DESCRIPTION="Sans serif font family for user interface environments"
HOMEPAGE="https://adobe-fonts.github.io/source-sans/"
@@ -28,3 +28,10 @@ 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 serif variant" media-fonts/source-serif
+}