1 |
commit: e40df13a7b99a7f9e9a37a14473e1446a82e8e0d |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 11:00:45 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 11:07:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40df13a |
7 |
|
8 |
media-gfx/chafa: add 1.12.3 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
media-gfx/chafa/Manifest | 1 + |
13 |
media-gfx/chafa/chafa-1.12.3.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest |
17 |
index c239cf10f843..555fb490ea82 100644 |
18 |
--- a/media-gfx/chafa/Manifest |
19 |
+++ b/media-gfx/chafa/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST chafa-1.10.3.tar.xz 512808 BLAKE2B cc0d18f06936d3c26a5d073cf8982c5c49bca307833885edf346e392987fb743ee560ca891db5533ee5e856dbeb4ca9f9a68d601961d0ab6b2dcb80c58fdda1d SHA512 29bcd5315a1c5bf08b214b9b58fabc64340e995a383b88e5f8245ba130b0506e4d13c34878d6cb32d1493fa1b8326520cbd176aeef22d932c72ede0430a38fda |
22 |
+DIST chafa-1.12.3.tar.xz 659136 BLAKE2B 2b9878b93c46be37fc7cfaf9ffadf58a84445b2e081c712a9824f323b0aee5725fd0b229a0a073afd0a7e3354d418669c411e02ac0f98a4e2eeaff9c19f6f93c SHA512 00d186aa3e5a184b5fe985909118fe856c7889e6674d55de6fe409f04ccac0a8698ef8063a2049e8b100ea0e9abfa5f89c959333a18cd6f934608b86f256ee5d |
23 |
|
24 |
diff --git a/media-gfx/chafa/chafa-1.12.3.ebuild b/media-gfx/chafa/chafa-1.12.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..9a2b941734b1 |
27 |
--- /dev/null |
28 |
+++ b/media-gfx/chafa/chafa-1.12.3.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 |
+} |