Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 31 Mar 2021 07:44:04
Message-Id: 1617176546.f68d9ce64a86b59fd238e8a53f37790801e6eae5.sam@gentoo
1 commit: f68d9ce64a86b59fd238e8a53f37790801e6eae5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 02:39:54 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 07:42:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68d9ce6
7
8 font-ebdftopcf.eclass: provide basic @ECLASS block, docs
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 eclass/font-ebdftopcf.eclass | 20 +++++++++++++-------
13 1 file changed, 13 insertions(+), 7 deletions(-)
14
15 diff --git a/eclass/font-ebdftopcf.eclass b/eclass/font-ebdftopcf.eclass
16 index 29568e56013..6d6bd70ae31 100644
17 --- a/eclass/font-ebdftopcf.eclass
18 +++ b/eclass/font-ebdftopcf.eclass
19 @@ -1,13 +1,15 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -# Author: Robin H. Johnson <robbat2@g.o>
25 -
26 -# font-ebdftopcf.eclass
27 -# Eclass to make PCF font generator from BDF uniform and optimal
28 +# @ECLASS: font-ebdftopcf.eclass
29 +# @MAINTAINER:
30 +# maintainer-needed@g.o
31 +# @AUTHOR:
32 +# Robin H. Johnson <robbat2@g.o>
33 +# @BLURB: Eclass to make PCF font generator from BDF uniform and optimal
34 +# @DESCRIPTION:
35 # The manpage for this eclass is in media-gfx/ebdftopcf.
36 -
37 -# inherit this eclass after font.eclass
38 +# Inherit this eclass after font.eclass
39
40 # if USE="-X", this eclass is basically a no-op, since bdftopcf requires Xorg.
41 IUSE="X"
42 @@ -19,6 +21,8 @@ RDEPEND=""
43 #
44 # Public functions
45 #
46 +
47 +# @FUNCTION: ebdftopcf
48 ebdftopcf() {
49 local bdffiles
50 bdffiles="$@"
51 @@ -32,6 +36,8 @@ ebdftopcf() {
52 #
53 # Public inheritable functions
54 #
55 +
56 +# @FUNCTION: font-ebdftopcf_src_compile
57 font-ebdftopcf_src_compile() {
58 use X && FONT_SUFFIX="pcf.gz"
59 use X || FONT_SUFFIX="bdf"