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-code-pro
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-code-pro')
-rw-r--r--media-fonts/source-code-pro/source-code-pro-2.038.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/media-fonts/source-code-pro/source-code-pro-2.038.ebuild b/media-fonts/source-code-pro/source-code-pro-2.038.ebuild
index 572e940715eb..c2b34b172b48 100644
--- a/media-fonts/source-code-pro/source-code-pro-2.038.ebuild
+++ b/media-fonts/source-code-pro/source-code-pro-2.038.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit font
+inherit font optfeature
REALV="2.038R-ro/1.058R-it/1.018R-VAR"
@@ -30,3 +30,10 @@ src_prepare() {
default
mv OTF/*.otf . || die
}
+
+pkg_postinst() {
+ optfeature_header "Other variants of this font are:"
+ optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans
+ optfeature "the sans-serif variant" media-fonts/source-sans
+ optfeature "the serif variant" media-fonts/source-serif
+}