Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/chafa/
Date: Sat, 24 Aug 2019 04:06:30
Message-Id: 1566619475.ca2b0333cc61f46a8ef7b56800f25c25d6fb79f6.radhermit@gentoo
1 commit: ca2b0333cc61f46a8ef7b56800f25c25d6fb79f6
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 24 04:04:35 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 24 04:04:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca2b0333
7
8 media-gfx/chafa: version bump to 1.2.1
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 media-gfx/chafa/Manifest | 1 +
13 media-gfx/chafa/chafa-1.2.1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest
17 index 5dafec7cd10..11e28caaf26 100644
18 --- a/media-gfx/chafa/Manifest
19 +++ b/media-gfx/chafa/Manifest
20 @@ -1 +1,2 @@
21 DIST chafa-1.0.1.tar.xz 311616 BLAKE2B c7060cf1b20f7c2eaa6eb8265422031dea1b3b80c106b08b11b431336044e154609ad73c7654a0085a8ca0b71bc01e06377ded638081bdfaeb96aac054577ed8 SHA512 fe0dc8ecec77c7b1b4c694d6dd3f4de895a07faf39519f47c2284d76261e2c6298943fa5309cdca6d41ef0a22fe0321a2ef890f319903596bdfaad10394e7ec2
22 +DIST chafa-1.2.1.tar.xz 354784 BLAKE2B a37561506edd1117093ad8d2543e8d8779a5edb346d6277baf31a15dabb1f5279234a36822d7f4225bb75ea6f75ff67966b1be832e90e5da03a02b6f140ab576 SHA512 71aee87618961a5910b9bb7a76b50df6f78df3621adc3ea7c462ba26df0147f0cb32f428fb7f6e5dc26968ee9bd3ee902762a7cb8735d1c51fd0ebd107c4226e
23
24 diff --git a/media-gfx/chafa/chafa-1.2.1.ebuild b/media-gfx/chafa/chafa-1.2.1.ebuild
25 new file mode 100644
26 index 00000000000..25cab4182d6
27 --- /dev/null
28 +++ b/media-gfx/chafa/chafa-1.2.1.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 1999-2019 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
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 ~x86"
42 +IUSE="static-libs +tools"
43 +
44 +RDEPEND="
45 + dev-libs/glib:2
46 + media-gfx/imagemagick:0=
47 +"
48 +DEPEND="${RDEPEND}"
49 +BDEPEND="virtual/pkgconfig"
50 +
51 +src_configure() {
52 + local econfargs=(
53 + $(use_enable static-libs static)
54 + # install manpage manually
55 + --disable-man
56 + $(use_with tools)
57 + )
58 +
59 + econf "${econfargs[@]}"
60 +}
61 +
62 +src_install() {
63 + local DOCS=( AUTHORS NEWS README TODO )
64 + default
65 +
66 + use tools && doman docs/chafa.1
67 +
68 + find "${ED}"/usr/lib* -name '*.la' -delete || die
69 +}