From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4C6B915800A for ; Wed, 12 Jul 2023 08:38:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 929DCE07D4; Wed, 12 Jul 2023 08:38:03 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7DE9BE07D4 for ; Wed, 12 Jul 2023 08:38:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB848340BE3 for ; Wed, 12 Jul 2023 08:38:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E0BAAC2 for ; Wed, 12 Jul 2023 08:38:01 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1689151067.19936fb7de562dc98cbe27723cd51797cbd26721.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/chafa/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/chafa/chafa-1.12.5-r1.ebuild X-VCS-Directories: media-gfx/chafa/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 19936fb7de562dc98cbe27723cd51797cbd26721 X-VCS-Branch: master Date: Wed, 12 Jul 2023 08:38:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 63823844-17a0-49ed-a285-50a63a9d94ca X-Archives-Hash: 2ac3263b260b3e38e137f0cd20ab9414 commit: 19936fb7de562dc98cbe27723cd51797cbd26721 Author: Jakov Smolić gentoo org> AuthorDate: Wed Jul 12 08:37:01 2023 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Wed Jul 12 08:37:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19936fb7 media-gfx/chafa: Fix automagic libwebp dependency and linking error Closes: https://bugs.gentoo.org/909429 Signed-off-by: Jakov Smolić gentoo.org> media-gfx/chafa/chafa-1.12.5-r1.ebuild | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/media-gfx/chafa/chafa-1.12.5-r1.ebuild b/media-gfx/chafa/chafa-1.12.5-r1.ebuild new file mode 100644 index 000000000000..6151f335b407 --- /dev/null +++ b/media-gfx/chafa/chafa-1.12.5-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +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 webp" + +RDEPEND=" + dev-libs/glib:2 + media-gfx/imagemagick:0= + tools? ( >=media-libs/freetype-2.0.0 ) + webp? ( media-libs/libwebp:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + # bug 909429 + use webp && append-ldflags -lwebp + + econf \ + --disable-man \ + $(use_with tools) \ + $(use_with webp) +} + +src_install() { + local DOCS=( AUTHORS NEWS README TODO ) + default + + use tools && doman docs/chafa.1 + + find "${ED}" -name '*.la' -delete || die +}