commit: cc9bedcfbc8f16af7dfecddaf25f1b2fe75946aa Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Thu Feb 20 12:21:57 2025 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Thu Feb 20 12:48:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc9bedcf
media-gfx/chafa: add 1.14.5 Closes: https://bugs.gentoo.org/941521 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> media-gfx/chafa/Manifest | 1 + media-gfx/chafa/chafa-1.14.5.ebuild | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest index e71ef6feb138..c18338536a75 100644 --- a/media-gfx/chafa/Manifest +++ b/media-gfx/chafa/Manifest @@ -1,2 +1,3 @@ DIST chafa-1.12.5.tar.xz 939792 BLAKE2B 82fbcd7b071dba8534fdd391b6ce22f6de63b1e3eb30228ba1ce6e751c442efbc4a5141d30fa767cc0789b01518da016a4245f9c560837530daa4d92534a9eca SHA512 d0b719294bdc8880f2c65c1bd777ac0eb98d47d48147bc6f883f1917d4f9a6b246c4e9365bc0128b1332d4a268611ac7e479f346f13c49d2e56ff4f446f22d94 DIST chafa-1.14.1.tar.xz 991656 BLAKE2B 1a7ba4c7d3958396c89b7b2f2873b4c1dfcf5209ae0d53fd0b2e014c3012a316a2d197a2f593c230e02bed01ed3119d6d0659d21b5f5d02dacd7eaaa626f2cb8 SHA512 61872acc3370318ab1a363cd21839978825d722d64225f968fd12acae1b7cf4a9be0f011fa2ab69a62cf61e32f095bb47aaf9d8796b97f25844703e7dfdfea35 +DIST chafa-1.14.5.tar.xz 993572 BLAKE2B 9d3a3a6e9a4c6aa1f2cd9e71c835eda43b4b0abbeedf659e72e4cf6eda5c4b9497253937b21d7dcb622a1dfc1febc402814291f8941ce33bfa2b9d0b92fedff0 SHA512 1ed6bb475f539e4bc310ef1a32c087430584f964533e08b1c1e0eaec7376902b579cbf716a4825df4da02ae0d56ac71926ba1681cab314057b41eb93df0ea8a4 diff --git a/media-gfx/chafa/chafa-1.14.5.ebuild b/media-gfx/chafa/chafa-1.14.5.ebuild new file mode 100644 index 000000000000..e5bb353e9502 --- /dev/null +++ b/media-gfx/chafa/chafa-1.14.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic libtool + +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 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+tools webp" + +RDEPEND=" + dev-libs/glib:2 + tools? ( >=media-libs/freetype-2.0.0 ) + webp? ( media-libs/libwebp:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +QA_CONFIG_IMPL_DECL_SKIP=( + # checking for intrinsics, will fail where not supported. bug #927102 + _mm_popcnt_u64 +) + +src_prepare() { + default + elibtoolize +} + +src_configure() { + # bug 909429 + use webp && append-ldflags -lwebp + + econf \ + --disable-man \ + $(use_with tools) \ + $(use_with webp) +} + +src_install() { + default + + use tools && doman docs/chafa.1 + + find "${ED}" -name '*.la' -delete || die +}
