summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-08-23 22:04:35 -0600
committerTim Harder <radhermit@gentoo.org>2019-08-23 22:04:35 -0600
commitca2b0333cc61f46a8ef7b56800f25c25d6fb79f6 (patch)
tree88be3f04c267f5b7aed718d43e650555d85fd151 /media-gfx/chafa
parentapp-text/restview: remove old (diff)
downloadgentoo-ca2b0333cc61f46a8ef7b56800f25c25d6fb79f6.tar.gz
gentoo-ca2b0333cc61f46a8ef7b56800f25c25d6fb79f6.tar.bz2
gentoo-ca2b0333cc61f46a8ef7b56800f25c25d6fb79f6.zip
media-gfx/chafa: version bump to 1.2.1
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'media-gfx/chafa')
-rw-r--r--media-gfx/chafa/Manifest1
-rw-r--r--media-gfx/chafa/chafa-1.2.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest
index 5dafec7cd101..11e28caaf26a 100644
--- a/media-gfx/chafa/Manifest
+++ b/media-gfx/chafa/Manifest
@@ -1 +1,2 @@
DIST chafa-1.0.1.tar.xz 311616 BLAKE2B c7060cf1b20f7c2eaa6eb8265422031dea1b3b80c106b08b11b431336044e154609ad73c7654a0085a8ca0b71bc01e06377ded638081bdfaeb96aac054577ed8 SHA512 fe0dc8ecec77c7b1b4c694d6dd3f4de895a07faf39519f47c2284d76261e2c6298943fa5309cdca6d41ef0a22fe0321a2ef890f319903596bdfaad10394e7ec2
+DIST chafa-1.2.1.tar.xz 354784 BLAKE2B a37561506edd1117093ad8d2543e8d8779a5edb346d6277baf31a15dabb1f5279234a36822d7f4225bb75ea6f75ff67966b1be832e90e5da03a02b6f140ab576 SHA512 71aee87618961a5910b9bb7a76b50df6f78df3621adc3ea7c462ba26df0147f0cb32f428fb7f6e5dc26968ee9bd3ee902762a7cb8735d1c51fd0ebd107c4226e
diff --git a/media-gfx/chafa/chafa-1.2.1.ebuild b/media-gfx/chafa/chafa-1.2.1.ebuild
new file mode 100644
index 000000000000..25cab4182d69
--- /dev/null
+++ b/media-gfx/chafa/chafa-1.2.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86"
+IUSE="static-libs +tools"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-gfx/imagemagick:0=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+ local econfargs=(
+ $(use_enable static-libs static)
+ # install manpage manually
+ --disable-man
+ $(use_with tools)
+ )
+
+ econf "${econfargs[@]}"
+}
+
+src_install() {
+ local DOCS=( AUTHORS NEWS README TODO )
+ default
+
+ use tools && doman docs/chafa.1
+
+ find "${ED}"/usr/lib* -name '*.la' -delete || die
+}