summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libsixel/Makefile4
-rw-r--r--graphics/libsixel/distinfo10
-rw-r--r--graphics/libsixel/options.mk19
3 files changed, 25 insertions, 8 deletions
diff --git a/graphics/libsixel/Makefile b/graphics/libsixel/Makefile
index 362ac922949..787c66a992c 100644
--- a/graphics/libsixel/Makefile
+++ b/graphics/libsixel/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2014/09/27 12:27:39 obache Exp $
+# $NetBSD: Makefile,v 1.10 2014/11/09 07:19:54 obache Exp $
-DISTNAME= libsixel-1.0.3
+DISTNAME= libsixel-1.3.3
CATEGORIES= graphics
MASTER_SITES= -https://github.com/saitoha/libsixel/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}
diff --git a/graphics/libsixel/distinfo b/graphics/libsixel/distinfo
index bd8fbc0088b..7fac63b2f63 100644
--- a/graphics/libsixel/distinfo
+++ b/graphics/libsixel/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.6 2014/09/05 11:47:51 obache Exp $
+$NetBSD: distinfo,v 1.7 2014/11/09 07:19:54 obache Exp $
-SHA1 (libsixel-1.0.3.tar.gz) = d95ccfc3f9137a87519643ff86be112b2c752bc0
-RMD160 (libsixel-1.0.3.tar.gz) = 32739e628b0d22017f28e4e27381e3ee7ed275e3
-Size (libsixel-1.0.3.tar.gz) = 12315375 bytes
+SHA1 (libsixel-1.3.3.tar.gz) = 9e7f9ee04bb7e869e0f344bed2458b028b86b610
+RMD160 (libsixel-1.3.3.tar.gz) = 5693f0bf903f9e1f125fe9473077ceb3a5d59938
+Size (libsixel-1.3.3.tar.gz) = 2523758 bytes
+SHA1 (patch-configure) = 5fcdd7263ede997f8f95ed9796ea6486c36b1c3e
+SHA1 (patch-configure.ac) = cdd6ba1cfbf2d86e66fd5de179616830c4d7c049
diff --git a/graphics/libsixel/options.mk b/graphics/libsixel/options.mk
index 57099b50909..b4a5a5a2319 100644
--- a/graphics/libsixel/options.mk
+++ b/graphics/libsixel/options.mk
@@ -1,7 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2014/07/13 10:10:56 obache Exp $
+# $NetBSD: options.mk,v 1.2 2014/11/09 07:19:54 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libsixel
-PKG_SUPPORTED_OPTIONS= curl gd gdk-pixbuf2
+PKG_SUPPORTED_OPTIONS= curl gd gdk-pixbuf2 jpeg png
+PKG_SUGGESTED_OPTIONS= curl jpeg png
.include "../../mk/bsd.options.mk"
@@ -12,6 +13,20 @@ CONFIGURE_ARGS+= --with-libcurl
CONFIGURE_ARGS+= --without-libcurl
.endif
+.if !empty(PKG_OPTIONS:Mjpeg)
+CONFIGURE_ARGS+= --with-jpeg
+.include "../../graphics/jpeg/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-jpeg
+.endif
+
+.if !empty(PKG_OPTIONS:Mpng)
+CONFIGURE_ARGS+= --with-png
+.include "../../graphics/png/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-png
+.endif
+
.if !empty(PKG_OPTIONS:Mgd)
CONFIGURE_ARGS+= --with-gd
.include "../../graphics/gd/buildlink3.mk"