summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-fonts/spleen/Manifest1
-rw-r--r--media-fonts/spleen/spleen-2.1.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/media-fonts/spleen/Manifest b/media-fonts/spleen/Manifest
index b02af93d1051..6216994010bd 100644
--- a/media-fonts/spleen/Manifest
+++ b/media-fonts/spleen/Manifest
@@ -1 +1,2 @@
DIST spleen-2.0.2.tar.gz 474925 BLAKE2B eb766a38baa5a3ca8d836ec245eed60f56a25c12704d3dbd1bb5c45f5e5856975022184c51b40578c20490499b7b6abb2d1bafae9db7a11941d6419d3f3f7dd2 SHA512 74752e93d7c1f641bd21a7b133e8807ed6787bbd438b066edf7d359a7e92d299b0375dbfba1d56cc6af931c99de9c9ae35f98b60fe5b581de04bc213b9235e42
+DIST spleen-2.1.0.tar.gz 485631 BLAKE2B fc35a1d330edb0f3f215ba1e2cf9926e36b7b2ee3cc3db71ff378c9370fe08ecc17bd9c51d53fb07d0311b9ced3aeb32d5df176c67abac638fea521cd9fdf831 SHA512 296577e5bf1464e124a0a8d21626af689681b8259703ee834ffacda84c76e24c59721d734a5bb1876210f4b59c1b6a3be14d5ca0d61d89c33cae4a5108f34e7b
diff --git a/media-fonts/spleen/spleen-2.1.0.ebuild b/media-fonts/spleen/spleen-2.1.0.ebuild
new file mode 100644
index 000000000000..26ef608007cc
--- /dev/null
+++ b/media-fonts/spleen/spleen-2.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo font
+
+DESCRIPTION="Monospaced bitmap fonts for consoles and terminals"
+HOMEPAGE="https://www.cambus.net/spleen-monospaced-bitmap-fonts/
+ https://github.com/fcambus/spleen/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/fcambus/${PN}.git"
+else
+ SRC_URI="https://github.com/fcambus/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+
+DOCS=( AUTHORS ChangeLog README.md )
+FONT_SUFFIX="otf pcf.gz psfu.gz"
+
+src_compile() {
+ edo gzip -n9 *.pcf *.psfu
+}