summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-11-24 07:56:04 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-11-24 07:56:04 +0100
commitec7530947213bf795945c74b6ccb698d346b498c (patch)
tree7cd74cf51b745e80f76bf19681a201f9df0fe2ab /media-gfx/chafa/chafa-1.12.4.ebuild
parentmedia-gfx/chafa: drop 1.10.3 (diff)
downloadgentoo-ec7530947213bf795945c74b6ccb698d346b498c.tar.gz
gentoo-ec7530947213bf795945c74b6ccb698d346b498c.tar.bz2
gentoo-ec7530947213bf795945c74b6ccb698d346b498c.zip
media-gfx/chafa: add 1.12.4
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-gfx/chafa/chafa-1.12.4.ebuild')
-rw-r--r--media-gfx/chafa/chafa-1.12.4.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/chafa/chafa-1.12.4.ebuild b/media-gfx/chafa/chafa-1.12.4.ebuild
new file mode 100644
index 000000000000..9a2b941734b1
--- /dev/null
+++ b/media-gfx/chafa/chafa-1.12.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="versatile and fast Unicode/ASCII/ANSI graphics renderer"
+HOMEPAGE="https://hpjansson.org/chafa/ https://github.com/hpjansson/chafa"
+SRC_URI="https://hpjansson.org/chafa/releases/${P}.tar.xz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="+tools"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-gfx/imagemagick:0=
+ tools? ( >=media-libs/freetype-2.0.0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --disable-man \
+ $(use_with tools)
+}
+
+src_install() {
+ local DOCS=( AUTHORS NEWS README TODO )
+ default
+
+ use tools && doman docs/chafa.1
+
+ find "${ED}" -name '*.la' -delete || die
+}