diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /media-gfx/chafa/chafa-1.10.2.ebuild | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'media-gfx/chafa/chafa-1.10.2.ebuild')
-rw-r--r-- | media-gfx/chafa/chafa-1.10.2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-gfx/chafa/chafa-1.10.2.ebuild b/media-gfx/chafa/chafa-1.10.2.ebuild new file mode 100644 index 000000000000..98ac22f2a0ca --- /dev/null +++ b/media-gfx/chafa/chafa-1.10.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 arm64 ~riscv x86" +IUSE="+tools" + +RDEPEND=" + dev-libs/glib:2 + media-gfx/imagemagick:0= + tools? ( >=media-libs/freetype-2.0.0 ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + econf \ + --disable-man \ + $(use_with tools) +} + +src_install() { + local DOCS=( AUTHORS NEWS README TODO ) + default + + use tools && doman docs/chafa.1 + + find "${ED}" -name '*.la' -delete || die +} |