Sun Jul 13 10:10:56 2014 UTC ()
Import libsixel-0.23.2 as graphics/libsixel.

This package provides encoder/decoder implementation for DEC SIXEL graphics, and
some converter programs.

SIXEL is one of image formats for printer and terminal imaging introduced by
Digital Equipment Corp. (DEC).
Its data scheme is represented as a terminal-friendly escape sequence.
So if you want to view a SIXEL image file, all you have to do is "cat" it to
your terminal.


(obache)
diff -r0 -r1.1 pkgsrc/graphics/libsixel/DESCR
diff -r0 -r1.1 pkgsrc/graphics/libsixel/Makefile
diff -r0 -r1.1 pkgsrc/graphics/libsixel/PLIST
diff -r0 -r1.1 pkgsrc/graphics/libsixel/buildlink3.mk
diff -r0 -r1.1 pkgsrc/graphics/libsixel/distinfo
diff -r0 -r1.1 pkgsrc/graphics/libsixel/options.mk

File Added: pkgsrc/graphics/libsixel/DESCR
This package provides encoder/decoder implementation for DEC SIXEL graphics, and
some converter programs.

SIXEL is one of image formats for printer and terminal imaging introduced by
Digital Equipment Corp. (DEC).
Its data scheme is represented as a terminal-friendly escape sequence.
So if you want to view a SIXEL image file, all you have to do is "cat" it to
your terminal.

File Added: pkgsrc/graphics/libsixel/Makefile
# $NetBSD: Makefile,v 1.1 2014/07/13 10:10:56 obache Exp $

DISTNAME=		libsixel-0.23.2
CATEGORIES=		graphics
MASTER_SITES=		-${HOMEPAGE:Q}/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}

MAINTAINER=		obache@NetBSD.org
HOMEPAGE=		https://github.com/saitoha/libsixel
COMMENT=		DEC SIXEL graphics codec encoder/decoder and converter
LICENSE=		mit AND public-domain

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_TOOLS+=		pkg-config

PKGCONFIG_OVERRIDE+=	libsixel.pc.in

.include "options.mk"

.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/graphics/libsixel/PLIST
@comment $NetBSD: PLIST,v 1.1 2014/07/13 10:10:56 obache Exp $
bin/img2sixel
bin/sixel2png
include/sixel.h
lib/libsixel.la
lib/pkgconfig/libsixel.pc
man/man1/img2sixel.1
man/man1/sixel2png.1
man/man5/sixel.5
share/bash-completion/completions/img2sixel
share/zsh/site-functions/_img2sixel

File Added: pkgsrc/graphics/libsixel/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2014/07/13 10:10:56 obache Exp $
#

BUILDLINK_TREE+=	libsixel

.if !defined(LIBSIXEL_BUILDLINK3_MK)
LIBSIXEL_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libsixel+=	libsixel>=0.11.0
BUILDLINK_PKGSRCDIR.libsixel?=	../../graphics/libsixel
.endif	# LIBSIXEL_BUILDLINK3_MK

BUILDLINK_TREE+=	-libsixel

File Added: pkgsrc/graphics/libsixel/distinfo
$NetBSD: distinfo,v 1.1 2014/07/13 10:10:56 obache Exp $

SHA1 (libsixel-0.23.2.tar.gz) = 281c7b7ab534e4c4bc112bab08427f5cfe0db336
RMD160 (libsixel-0.23.2.tar.gz) = 40e8a5896b579e48f8e60d14266d6dca42853796
Size (libsixel-0.23.2.tar.gz) = 2193597 bytes

File Added: pkgsrc/graphics/libsixel/options.mk
# $NetBSD: options.mk,v 1.1 2014/07/13 10:10:56 obache Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.libsixel
PKG_SUPPORTED_OPTIONS=	curl gd gdk-pixbuf2

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mcurl)
CONFIGURE_ARGS+=	--with-libcurl
.include "../../www/curl/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-libcurl
.endif

.if !empty(PKG_OPTIONS:Mgd)
CONFIGURE_ARGS+=	--with-gd
.include "../../graphics/gd/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-gd
.endif

.if !empty(PKG_OPTIONS:Mgdk-pixbuf2)
CONFIGURE_ARGS+=	--with-gdk-pixbuf2
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-gdk-pixbuf2
.endif