feat: siji font

This commit is contained in:
Jared Allard 2020-06-05 15:36:44 -07:00
parent ba066d2f81
commit c4d3e3beec
No known key found for this signature in database
GPG key ID: 755F771B62B21E49
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,2 @@
EBUILD siji-9999.ebuild 603 BLAKE2B 8c496918ba1a9a5444cabf068390a085a25cc5b69b48a845d18f0ec2d8d34ff0867d3b7b3a4459f549aefadfae3ea38182951dcadb3d7ed66727179cd4c26dfd SHA512 858409cbedb67c57c33ca206f98769fd74584bce187dfcc8e16aa239cc8676430baba0eb37910dda7ee1e32d24ca98f8d121f38b327e887112691a1c3ff5fc88
MISC metadata.xml 206 BLAKE2B 91e9875d8a3b48e865979f5f6ee10d2bd919b10d979fb38400eced48c27e92bbba5bd9de7508ef8af1272030e7ce56866453b62db2b1c93c1d039f6f0553e772 SHA512 ba8fb7e080ee3c45301266fcf28204a8be68e5d2026296397ed6ba78258cfc0247ed7095c0e866f222d2546617aefc4652c3730de5976de83db6863c3da36f05

View file

@ -0,0 +1,9 @@
<pkgmetadata>
<maintainer type="person">
<email>jaredallard@outlook.com</email>
<name>jaredallard</name>
</maintainer>
<use>
<flag name="pcf"> Install pcf files instead of bdf </flag>
</use>
</pkgmetadata>

View file

@ -0,0 +1,35 @@
# Copyright 2018-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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="+pcf"
DEPEND="x11-apps/bdftopcf"
RDEPEND="${DEPEND}"
BDEPEND=""
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
}