Sixel image dumper

Display png/jpeg/gif/bmp/pnm image on SIXEL-supported terminals.

WWW: https://github.com/uobikiemukot/sdump

PR:		196798
Submitted by:	sue@iwmt.org
This commit is contained in:
Dmitry Marakasov 2015-01-26 18:32:38 +00:00
parent 1f6adcaab6
commit caa008acfa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377940
4 changed files with 50 additions and 0 deletions

View File

@ -942,6 +942,7 @@
SUBDIR += sdl_gfx
SUBDIR += sdl_image
SUBDIR += sdl_ttf
SUBDIR += sdump
SUBDIR += seam-carving-gui
SUBDIR += seejpeg
SUBDIR += seom

43
graphics/sdump/Makefile Normal file
View File

@ -0,0 +1,43 @@
# $FreeBSD$
PORTNAME= sdump
PORTVERSION= 2015.01.16
CATEGORIES= graphics
MAINTAINER= sue@iwmt.org
COMMENT= Sixel image dumper
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng.so:${PORTSDIR}/graphics/png \
libsixel.so:${PORTSDIR}/graphics/libsixel
USE_GITHUB= yes
GH_ACCOUNT= uobikiemukot
GH_PROJECT= sdump
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= c5fb55b
PLIST_FILES= bin/sdump libexec/w3m/yaimg-sixel
MAKEFILE= makefile
#CFLAGS += -I${LOCALBASE}/include -Wall -Wextra -std=c99 -pedantic -O3 -pipe -s
CFLAGS += -I${LOCALBASE}/include -std=c99
LDFLAGS += -L${LOCALBASE}/lib -ljpeg -lpng -lsixel
PORTDOCS= README.markdown
post-build:
@cd ${WRKSRC}/yaimg-sixel && ${SETENV} ${MAKE_ENV} ${MAKE_CMD}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sdump ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/w3m/
${INSTALL_PROGRAM} ${WRKSRC}/yaimg-sixel/yaimg-sixel ${STAGEDIR}${PREFIX}/libexec/w3m/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

2
graphics/sdump/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (sdump-2015.01.16.tar.gz) = 72ff0b76cf088c56222b4c15c23e01d482bc24e3845def2f28d0ee56e8162c9a
SIZE (sdump-2015.01.16.tar.gz) = 175813

4
graphics/sdump/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Sixel image dumper
Display png/jpeg/gif/bmp/pnm image on SIXEL-supported terminals.
WWW: https://github.com/uobikiemukot/sdump