commit:     8a5d4d6b6e02aa40e675394906c238ea8e52d723
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri May  6 19:11:20 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri May  6 19:11:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5d4d6b

media-gfx/chafa: add 1.10.3

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-gfx/chafa/Manifest            |  1 +
 media-gfx/chafa/chafa-1.10.3.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest
index f752924d444a..1591ce5c6045 100644
--- a/media-gfx/chafa/Manifest
+++ b/media-gfx/chafa/Manifest
@@ -1 +1,2 @@
 DIST chafa-1.10.2.tar.xz 512468 BLAKE2B 
b1edec1ed687f2196a4693fa4cd08d8cabeb2b904abf387001c20ea3b5a9ca94c621bf45c467660342c3f0f049fb9706589c8b13643496b6fa2795276f032f0b
 SHA512 
eaa0a13b1915774f25ed9fe6d7f465e695644c79e96387b71671c43876dad5f703383a876ad4ea2b5a13b2391056224cfe38cecba31264698da37af80ad540b9
+DIST chafa-1.10.3.tar.xz 512808 BLAKE2B 
cc0d18f06936d3c26a5d073cf8982c5c49bca307833885edf346e392987fb743ee560ca891db5533ee5e856dbeb4ca9f9a68d601961d0ab6b2dcb80c58fdda1d
 SHA512 
29bcd5315a1c5bf08b214b9b58fabc64340e995a383b88e5f8245ba130b0506e4d13c34878d6cb32d1493fa1b8326520cbd176aeef22d932c72ede0430a38fda

diff --git a/media-gfx/chafa/chafa-1.10.3.ebuild 
b/media-gfx/chafa/chafa-1.10.3.ebuild
new file mode 100644
index 000000000000..9a2b941734b1
--- /dev/null
+++ b/media-gfx/chafa/chafa-1.10.3.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
+}

Reply via email to