From 1aa17066ad8841c85773c0b14a5e409ad1c674ea Mon Sep 17 00:00:00 2001 From: XGQT Date: Sat, 8 Feb 2020 17:28:23 +0100 Subject: [PATCH] media-fonts/siji: add siji live 9999 ebuild --- media-fonts/siji/metadata.xml | 7 ++++++ media-fonts/siji/siji-9999.ebuild | 41 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 media-fonts/siji/metadata.xml create mode 100644 media-fonts/siji/siji-9999.ebuild diff --git a/media-fonts/siji/metadata.xml b/media-fonts/siji/metadata.xml new file mode 100644 index 0000000..1cf4207 --- /dev/null +++ b/media-fonts/siji/metadata.xml @@ -0,0 +1,7 @@ + + + + + stark/siji + + diff --git a/media-fonts/siji/siji-9999.ebuild b/media-fonts/siji/siji-9999.ebuild new file mode 100644 index 0000000..1c9f6bc --- /dev/null +++ b/media-fonts/siji/siji-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 font + +DESCRIPTION="An iconic bitmap font based on Stlarch with additional glyphs" +HOMEPAGE="https://github.com/stark/siji" +EGIT_REPO_URI="https://github.com/stark/siji.git" +RESTRICT="mirror" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="+pcf" + +DEPEND=" + x11-apps/bdftopcf +" +RDEPEND=" + ${DEPEND} +" + +src_compile() { + if use pcf + then + bdftopcf bdf/${PN}.bdf -o pcf/${PN}.pcf + fi +} + +src_install() { + insinto "/usr/share/fonts/${PN}" + + if use pcf + then + doins pcf/* + else + doins bdf/* + fi +}