summaryrefslogtreecommitdiff
path: root/media-gfx/chafa
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-12 10:31:55 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-12 10:31:55 +0100
commiteb3ae345f026de053870dfa589779989d300ebef (patch)
tree1bea6ba3fbb1dca4db8c0cf9d9025d1e3e26f96a /media-gfx/chafa
parent0e24de4e7c207a09710001af8230df7892eb73d4 (diff)
gentoo auto-resync : 12:07:2023 - 10:31:55
Diffstat (limited to 'media-gfx/chafa')
-rw-r--r--media-gfx/chafa/Manifest1
-rw-r--r--media-gfx/chafa/chafa-1.12.5-r1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/chafa/Manifest b/media-gfx/chafa/Manifest
index fc7773cef747..4fe3f705c77e 100644
--- a/media-gfx/chafa/Manifest
+++ b/media-gfx/chafa/Manifest
@@ -1,5 +1,6 @@
DIST chafa-1.12.4.tar.xz 934272 BLAKE2B 57009e5b6c8cbb41643e94d224e9a4a7e3c2839ee79a6d4949b6d872ab9e10ab66fe7a609f448cad68ee930e5da84e31a1368c8f7ad6457c4c1583971f87f91e SHA512 2732ff380fc6d61124298ae3d9958d676fe6ca2887ee11df057d4efa6f4ae9c074a7e1920a6a3db1ffb21882432769967f4453d52a0344e581993984133a0e9b
DIST chafa-1.12.5.tar.xz 939792 BLAKE2B 82fbcd7b071dba8534fdd391b6ce22f6de63b1e3eb30228ba1ce6e751c442efbc4a5141d30fa767cc0789b01518da016a4245f9c560837530daa4d92534a9eca SHA512 d0b719294bdc8880f2c65c1bd777ac0eb98d47d48147bc6f883f1917d4f9a6b246c4e9365bc0128b1332d4a268611ac7e479f346f13c49d2e56ff4f446f22d94
EBUILD chafa-1.12.4.ebuild 751 BLAKE2B d13954072e8ebba7c9863bf556accd86e0fe1a2cf4765931fd27f32318d234f3872aa3d7c8e1031578de40b995788e0b112462fe2e4adb11ee9991268faeb8fb SHA512 7cd98c2475e767cbca08de78070712bff63c417815b2de893eb82512655b3b1fdea95f366fa890fab7deb88606b0308c0b946d3e6fdfabc0ee36d091ce6121f6
+EBUILD chafa-1.12.5-r1.ebuild 884 BLAKE2B a70de6dd3302b3c7dd8e673a613a7347ab287e02ce2dd773ff17e995abc61699142b803da51132c4e28898c9c4aeb48d0bc07ffcf9348608a213b0ec4a1a5054 SHA512 6c942b10e1c892825b084d5af2946a8b3419de7f27828a20d98af5b9d86cae07e1c1f69c0dfa85384c19bb5a094eab23c975802f840b55a34a4980a983342927
EBUILD chafa-1.12.5.ebuild 754 BLAKE2B 40b142387dafc071fcb02174e6afd8fc676a8e9e1d292f87996e91823c5d8bb559fbfb3e37c06ff4efd0ab956d064238e5d1de6ff18e280f3fe91f021f9abbf8 SHA512 d7865476baadadcddd0e1b6f68d6f00755c6249be3df2f302c9bc2cc2600973f632a66c1658f2a1706cdbdca8e39a4dfcda5758a89059bcbb70d0de8a73a84a4
MISC metadata.xml 396 BLAKE2B fc22be32275227f194b224a340dcd08e55a565fa68b102eb9cb55406402ed38d4f593aa6f59f3c40a24480c8d002ea0ce4a9a831055bb6821fdbe1a1dfd103ff SHA512 46617cd84ec16190865a896432df30443d31123b790d871bf634cd446b520ed9b1728951e49217b0619a91d0d46d3013ce7f41e142893298ad7e8c2522d1552d
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
+}