Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/joypixels/
Date: Fri, 18 Jun 2021 11:37:43
Message-Id: 1624016182.66a9d76211e7bd22275263ec2febe5171b9d095e.juippis@gentoo
1 commit: 66a9d76211e7bd22275263ec2febe5171b9d095e
2 Author: Aisha Tammy <floss <AT> bsd <DOT> ac>
3 AuthorDate: Thu Jun 17 14:55:09 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 18 11:36:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a9d762
7
8 media-fonts/joypixels: add licensing postinst
9
10 Closes: https://bugs.gentoo.org/796461
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
13 Closes: https://github.com/gentoo/gentoo/pull/21282
14 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
15
16 media-fonts/joypixels/joypixels-6.5.0.ebuild | 11 ++++++++++-
17 1 file changed, 10 insertions(+), 1 deletion(-)
18
19 diff --git a/media-fonts/joypixels/joypixels-6.5.0.ebuild b/media-fonts/joypixels/joypixels-6.5.0.ebuild
20 index 1cdb17d5139..f8ff8c34130 100644
21 --- a/media-fonts/joypixels/joypixels-6.5.0.ebuild
22 +++ b/media-fonts/joypixels/joypixels-6.5.0.ebuild
23 @@ -4,7 +4,7 @@
24 EAPI=7
25
26 FONT_SUFFIX="ttf"
27 -inherit font
28 +inherit font readme.gentoo-r1
29
30 DESCRIPTION="A font for better emoji and unicode support"
31 HOMEPAGE="https://www.joypixels.com/"
32 @@ -20,7 +20,16 @@ RESTRICT="bindist mirror"
33
34 FONT_CONF=( "${FILESDIR}"/99-joypixels.conf )
35
36 +DOC_CONTENTS="Free for personal/education use only,
37 +premium/enterprise license required for any other use:
38 + https://www.joypixels.com/licenses"
39 +
40 src_prepare() {
41 default
42 cp "${DISTDIR}"/${P}.ttf "${S}"/${P}.ttf || die
43 }
44 +
45 +src_install() {
46 + font_src_install
47 + readme.gentoo_create_doc
48 +}