Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/chafa/
Date: Wed, 27 Apr 2022 22:24:00
Message-Id: 1651098094.37e99c259eba09dad1192b22456bdc11c15f43a4.jsmolic@gentoo
1 commit: 37e99c259eba09dad1192b22456bdc11c15f43a4
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 27 22:12:22 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 22:21:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37e99c25
7
8 media-gfx/chafa: add 1.10.2
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 media-gfx/chafa/Manifest | 1 +
13 media-gfx/chafa/chafa-1.10.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest
17 index 93e4bbda50aa..675fa7be7ad7 100644
18 --- a/media-gfx/chafa/Manifest
19 +++ b/media-gfx/chafa/Manifest
20 @@ -1 +1,2 @@
21 +DIST chafa-1.10.2.tar.xz 512468 BLAKE2B b1edec1ed687f2196a4693fa4cd08d8cabeb2b904abf387001c20ea3b5a9ca94c621bf45c467660342c3f0f049fb9706589c8b13643496b6fa2795276f032f0b SHA512 eaa0a13b1915774f25ed9fe6d7f465e695644c79e96387b71671c43876dad5f703383a876ad4ea2b5a13b2391056224cfe38cecba31264698da37af80ad540b9
22 DIST chafa-1.8.0.tar.xz 435712 BLAKE2B 15a6e64fff13ac32b2f828a68fb12c96856e175eae83c0396b07cbb2ce71d8c1c8eee67db00880372026fe91eaefac2b34376dee597108ffc07c706cf8c98682 SHA512 15ff08a0df82ae8517ac7744b81a39e1ae1eff8c9848128341cc25da94864e89b7101aabcff2d532bf11ea293bfc4c9e48b01f85388dafadbce2d2b2c8b7439d
23
24 diff --git a/media-gfx/chafa/chafa-1.10.2.ebuild b/media-gfx/chafa/chafa-1.10.2.ebuild
25 new file mode 100644
26 index 000000000000..9a2b941734b1
27 --- /dev/null
28 +++ b/media-gfx/chafa/chafa-1.10.2.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DESCRIPTION="versatile and fast Unicode/ASCII/ANSI graphics renderer"
36 +HOMEPAGE="https://hpjansson.org/chafa/ https://github.com/hpjansson/chafa"
37 +SRC_URI="https://hpjansson.org/chafa/releases/${P}.tar.xz"
38 +
39 +LICENSE="LGPL-3+"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
42 +IUSE="+tools"
43 +
44 +RDEPEND="
45 + dev-libs/glib:2
46 + media-gfx/imagemagick:0=
47 + tools? ( >=media-libs/freetype-2.0.0 )
48 +"
49 +DEPEND="${RDEPEND}"
50 +BDEPEND="virtual/pkgconfig"
51 +
52 +src_configure() {
53 + econf \
54 + --disable-man \
55 + $(use_with tools)
56 +}
57 +
58 +src_install() {
59 + local DOCS=( AUTHORS NEWS README TODO )
60 + default
61 +
62 + use tools && doman docs/chafa.1
63 +
64 + find "${ED}" -name '*.la' -delete || die
65 +}