Import new port graphics/chafa 1.4.1
Port from maintainer Florian Viehweger <openbsd@out-of-creativity.de> (thanks!) Input and ok sthen@, ok jca@ Chafa is a command-line utility that converts all kinds of images, including animated GIFs, into sixel or ANSI/Unicode character output that can be displayed in a terminal. It is highly configurable, with support for alpha transparency and multiple color modes and color spaces, combining selectable ranges of Unicode characters to produce the desired output. The core functionality is provided by a C library with a public, well-documented API.
This commit is contained in:
parent
1d903da1b2
commit
9bfb1cbf08
36
graphics/chafa/Makefile
Normal file
36
graphics/chafa/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2020/09/22 22:08:23 tracey Exp $
|
||||
|
||||
COMMENT = character art facsimile generator
|
||||
DISTNAME = chafa-1.4.1
|
||||
|
||||
SHARED_LIBS += chafa 0.0 # 4.0
|
||||
|
||||
CATEGORIES = graphics
|
||||
|
||||
HOMEPAGE = https://hpjansson.org/chafa/
|
||||
|
||||
MAINTAINER = Florian Viehweger <openbsd@out-of-creativity.de>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 Xext Xt
|
||||
WANTLIB += bz2 c djvulibre expat fftw3 fontconfig freetype glib-2.0
|
||||
WANTLIB += iconv intl jasper jbig jpeg lcms2 lzma m openjp2 pcre
|
||||
WANTLIB += png pthread raw_r tiff webp webpdemux webpmux xcb xml2
|
||||
WANTLIB += z zstd
|
||||
|
||||
MASTER_SITES = https://hpjansson.org/chafa/releases/
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
LIB_DEPENDS = devel/glib2 \
|
||||
graphics/ImageMagick
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/chafa.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/chafa/distinfo
Normal file
2
graphics/chafa/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (chafa-1.4.1.tar.xz) = RtNANPTJbRIOBjn4eiZZBCfMKelf5UiekDpI7JZAK6M=
|
||||
SIZE (chafa-1.4.1.tar.xz) = 389428
|
10
graphics/chafa/pkg/DESCR
Normal file
10
graphics/chafa/pkg/DESCR
Normal file
@ -0,0 +1,10 @@
|
||||
Chafa is a command-line utility that converts all kinds of images, including
|
||||
animated GIFs, into sixel or ANSI/Unicode character output that can be displayed
|
||||
in a terminal.
|
||||
|
||||
It is highly configurable, with support for alpha transparency and multiple
|
||||
color modes and color spaces, combining selectable ranges of Unicode characters
|
||||
to produce the desired output.
|
||||
|
||||
The core functionality is provided by a C library with a public, well-documented
|
||||
API.
|
40
graphics/chafa/pkg/PLIST
Normal file
40
graphics/chafa/pkg/PLIST
Normal file
@ -0,0 +1,40 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/09/22 22:08:23 tracey Exp $
|
||||
@bin bin/chafa
|
||||
include/chafa/
|
||||
include/chafa/chafa-canvas-config.h
|
||||
include/chafa/chafa-canvas.h
|
||||
include/chafa/chafa-common.h
|
||||
include/chafa/chafa-features.h
|
||||
include/chafa/chafa-symbol-map.h
|
||||
include/chafa/chafa-util.h
|
||||
include/chafa/chafa-version-macros.h
|
||||
include/chafa/chafa.h
|
||||
lib/chafa/
|
||||
lib/chafa/include/
|
||||
lib/chafa/include/chafaconfig.h
|
||||
@static-lib lib/libchafa.a
|
||||
lib/libchafa.la
|
||||
@lib lib/libchafa.so.${LIBchafa_VERSION}
|
||||
lib/pkgconfig/chafa.pc
|
||||
@man man/man1/chafa.1
|
||||
share/gtk-doc/html/chafa/
|
||||
share/gtk-doc/html/chafa/api-index-full.html
|
||||
share/gtk-doc/html/chafa/ch01.html
|
||||
share/gtk-doc/html/chafa/ch02.html
|
||||
share/gtk-doc/html/chafa/chafa-ChafaCanvas.html
|
||||
share/gtk-doc/html/chafa/chafa-ChafaCanvasConfig.html
|
||||
share/gtk-doc/html/chafa/chafa-ChafaSymbolMap.html
|
||||
share/gtk-doc/html/chafa/chafa-Features.html
|
||||
share/gtk-doc/html/chafa/chafa-Miscellaneous.html
|
||||
share/gtk-doc/html/chafa/chafa-building.html
|
||||
share/gtk-doc/html/chafa/chafa-using.html
|
||||
share/gtk-doc/html/chafa/chafa.devhelp2
|
||||
share/gtk-doc/html/chafa/home.png
|
||||
share/gtk-doc/html/chafa/index.html
|
||||
share/gtk-doc/html/chafa/left-insensitive.png
|
||||
share/gtk-doc/html/chafa/left.png
|
||||
share/gtk-doc/html/chafa/right-insensitive.png
|
||||
share/gtk-doc/html/chafa/right.png
|
||||
share/gtk-doc/html/chafa/style.css
|
||||
share/gtk-doc/html/chafa/up-insensitive.png
|
||||
share/gtk-doc/html/chafa/up.png
|
Loading…
Reference in New Issue
Block a user