summaryrefslogtreecommitdiff
path: root/eclass/font-ebdftopcf.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-18 11:06:49 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-18 11:06:49 +0000
commitab3da91fb6c91a9df52fff8f991570f456fd3c7a (patch)
treee8f3bfa2c6c3d20ec3b9c352c839e23949068b6b /eclass/font-ebdftopcf.eclass
parent6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (diff)
gentoo resync : 18.12.2020
Diffstat (limited to 'eclass/font-ebdftopcf.eclass')
-rw-r--r--eclass/font-ebdftopcf.eclass27
1 files changed, 15 insertions, 12 deletions
diff --git a/eclass/font-ebdftopcf.eclass b/eclass/font-ebdftopcf.eclass
index c36cd14256fa..9e00eec467f2 100644
--- a/eclass/font-ebdftopcf.eclass
+++ b/eclass/font-ebdftopcf.eclass
@@ -1,12 +1,15 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Author: Robin H. Johnson <robbat2@gentoo.org>
-
-# font-ebdftopcf.eclass
-# Eclass to make PCF font generator from BDF uniform and optimal
+# @ECLASS: font-ebdftopcf.eclass
+# @MAINTAINER:
+# Robin H. Johnson <robbat2@gentoo.org>
+# @AUTHOR:
+# Robin H. Johnson <robbat2@gentoo.org>
+# @BLURB: A simple eclass to convert BDF to PCF
+# @DESCRIPTION:
+# Make PCF font generator from BDF uniform and optimal
# The manpage for this eclass is in media-gfx/ebdftopcf.
-
# inherit this eclass after font.eclass
# if USE="-X", this eclass is basically a no-op, since bdftopcf requires Xorg.
@@ -16,9 +19,9 @@ IUSE="X"
DEPEND="X? ( media-gfx/ebdftopcf )"
RDEPEND=""
-#
-# Public functions
-#
+# @FUNCTION: ebdftopcf
+# @DESCRIPTION:
+# Convert BDF files to PCF
ebdftopcf() {
local bdffiles
bdffiles="$@"
@@ -29,9 +32,9 @@ ebdftopcf() {
|| die "Failed to build PCF files"
}
-#
-# Public inheritable functions
-#
+# @FUNCTION: font-ebdftopcf_src_compile
+# @DESCRIPTION:
+# Convert fonts from BDF to PCF
font-ebdftopcf_src_compile() {
use X && FONT_SUFFIX="pcf.gz"
use X || FONT_SUFFIX="bdf"