1 |
commit: bb42ba80fdc47ddaaaf2f1d2a81f6507b527544f |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 29 18:48:28 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 29 19:13:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb42ba80 |
7 |
|
8 |
media-gfx/chafa: initial import |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
media-gfx/chafa/Manifest | 1 + |
13 |
media-gfx/chafa/chafa-1.0.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ |
14 |
media-gfx/chafa/metadata.xml | 14 +++++++++++++ |
15 |
3 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..5dafec7cd10 |
20 |
--- /dev/null |
21 |
+++ b/media-gfx/chafa/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST chafa-1.0.1.tar.xz 311616 BLAKE2B c7060cf1b20f7c2eaa6eb8265422031dea1b3b80c106b08b11b431336044e154609ad73c7654a0085a8ca0b71bc01e06377ded638081bdfaeb96aac054577ed8 SHA512 fe0dc8ecec77c7b1b4c694d6dd3f4de895a07faf39519f47c2284d76261e2c6298943fa5309cdca6d41ef0a22fe0321a2ef890f319903596bdfaad10394e7ec2 |
24 |
|
25 |
diff --git a/media-gfx/chafa/chafa-1.0.1.ebuild b/media-gfx/chafa/chafa-1.0.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..53d1b3126f4 |
28 |
--- /dev/null |
29 |
+++ b/media-gfx/chafa/chafa-1.0.1.ebuild |
30 |
@@ -0,0 +1,40 @@ |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="versatile and fast Unicode/ASCII/ANSI graphics renderer" |
37 |
+HOMEPAGE="https://hpjansson.org/chafa/ https://github.com/hpjansson/chafa" |
38 |
+SRC_URI="https://hpjansson.org/chafa/releases/${P}.tar.xz" |
39 |
+ |
40 |
+LICENSE="LGPL-3+" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="static-libs +tools" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ dev-libs/glib:2 |
47 |
+ media-gfx/imagemagick:0= |
48 |
+" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ virtual/pkgconfig" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ local econfargs=( |
54 |
+ $(use_enable static-libs static) |
55 |
+ # install manpage manually |
56 |
+ --disable-man |
57 |
+ $(use_with tools) |
58 |
+ ) |
59 |
+ |
60 |
+ econf "${econfargs[@]}" |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ local DOCS=( AUTHORS NEWS README TODO ) |
65 |
+ default |
66 |
+ |
67 |
+ use tools && doman docs/chafa.1 |
68 |
+ |
69 |
+ find "${ED}"/usr/lib* -name '*.la' -delete || die |
70 |
+} |
71 |
|
72 |
diff --git a/media-gfx/chafa/metadata.xml b/media-gfx/chafa/metadata.xml |
73 |
new file mode 100644 |
74 |
index 00000000000..3f369d599d1 |
75 |
--- /dev/null |
76 |
+++ b/media-gfx/chafa/metadata.xml |
77 |
@@ -0,0 +1,14 @@ |
78 |
+<?xml version="1.0" encoding="UTF-8"?> |
79 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
80 |
+<pkgmetadata> |
81 |
+ <maintainer type="project"> |
82 |
+ <email>graphics@g.o</email> |
83 |
+ <name>Gentoo Graphics Project</name> |
84 |
+ </maintainer> |
85 |
+ <use> |
86 |
+ <flag name="tools">Build command-line tools</flag> |
87 |
+ </use> |
88 |
+ <upstream> |
89 |
+ <remote-id type="github">hpjansson/chafa</remote-id> |
90 |
+ </upstream> |
91 |
+</pkgmetadata> |