mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
media-gfx/chafa: add 1.18.2
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST chafa-1.18.0.tar.xz 1049888 BLAKE2B 6f98557dd39611d1705131b442e136716f4d0cb4e3bdb8c846eaf1d81a1bad74a6ff87e7a52eea2d2352ce937d0e6a46fd683364f96ed4e9e2b1604ec72fd311 SHA512 a2af39df185b59bb23b03823c1b4e95901b6e7f2e16bbe8fd6d81c6cb1041f8b0b13028b0c09758235169a54d35361ddfa4fd300877960737e68d1602f17867c
|
||||
DIST chafa-1.18.1.tar.xz 1061372 BLAKE2B 3ac716a1248380380873022a349dac4373e8bcfab0e6b63e98d70cf7b7decbbc9956d3062fe4cc46d7aff88881b05e5a3cca6c772ea90d66327e019c26ebea1d SHA512 158280bedf4ae2aa044d9e2664a2e204648d66637f2ee69f70fd95135188ec41a5727639c3ba80af57aff801bb905da8d3ce575fbcf98d25b5d66ab0b6b0dd79
|
||||
DIST chafa-1.18.2.tar.xz 1063448 BLAKE2B 1860b4d58d539cc125061d8f2ab5ab4bc4f2c576cc9accfefa9392600c1c5cdf1a07601fabcc3b090442a905ba187b59678f2d8de095c0c970fc0c96fb9385e7 SHA512 30516e59e686cf4bcac2218f6d69cd998a181d4a3c28baec40771188caabd03d7140cffe86d54ee214ffcd3c05f57b3da6fe31df5b6eab1d561f8573df4f4e4f
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit 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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="avif heif jpegxl svg +tools webp"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
tools? (
|
||||
media-libs/freetype:2
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/tiff:=
|
||||
avif? ( media-libs/libavif:= )
|
||||
heif? ( media-libs/libheif:= )
|
||||
jpegxl? ( media-libs/libjxl:= )
|
||||
svg? (
|
||||
gnome-base/librsvg:2
|
||||
x11-libs/cairo
|
||||
)
|
||||
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() {
|
||||
if ! use tools; then
|
||||
local i
|
||||
for i in ${IUSE/+/}; do
|
||||
use ${i} && ewarn "USE=${i} is ignored if USE=tools is not set"
|
||||
done
|
||||
fi
|
||||
|
||||
local myconf=(
|
||||
--disable-man
|
||||
$(use_with tools)
|
||||
$(use_with avif)
|
||||
$(use_with heif)
|
||||
$(use_with jpegxl jxl)
|
||||
$(use_with svg)
|
||||
$(use_with tools jpeg)
|
||||
$(use_with tools tiff)
|
||||
$(use_with webp)
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use tools && doman docs/chafa.1
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user