summaryrefslogtreecommitdiff
path: root/graphics/libsixel/options.mk
diff options
context:
space:
mode:
authorobache <obache>2014-11-09 07:19:54 +0000
committerobache <obache>2014-11-09 07:19:54 +0000
commitc9c70c8ad634d3f59570b9816314f35fecfbfd5e (patch)
treeaf24b2f070e6a5bdb0b1707de8cb8d352a1739e5 /graphics/libsixel/options.mk
parentc8129b6d31c242a8a2f6d0342ebb06da889b4a2e (diff)
downloadpkgsrc-c9c70c8ad634d3f59570b9816314f35fecfbfd5e.tar.gz
Update libsixsel to 1.3.3.
------------------------------ What's new in libsixel-1.3 ? ------------------------------ * Now libcurl is automatically linked to img2sixel. If you don't want to build with libcurl, you should configure with --without-libcurl option. * Add libjpeg integration(linked automatically to img2sixel). * Add libpng integration(linked automatically to img2sixel/sixel2png). * Introduce -t(--palette-type) option. img2sixel can output HLS paletted sixel with "-t hls". Add new API sixel_output_set_palette_type. * Introduce -v(--verbose) option. * Add new API sixel_dither_set_body_only. * Now img2sixel can load SIXEL as input data. * Some bug fixes and minor improvements. ------------------------------ What's new in libsixel-1.2 ? ------------------------------ * Introduce GNU Screen penetration (-P) feature written by @arakiken. This works with arakiken's GNU screen sixel branch (screen-sixel, https://bitbucket.org/arakiken/screen/branch/screen). * Introduce crop operation (-c) feature written by @arakiken. This works with arakiken's w3m remoteimg branch https://bitbucket.org/arakiken/w3m/branch/remoteimg (w3m with "-sixel" option) * Introduce -C (complexion score) option and implement complexion correction feature. (discussion with @tsutsui) * Introduce static image extraction from Gif animation (-S). (discussion with @isaki68k) * Introduce --enable-debug configure option. * Add APIs for skipping DCS envelope sixel_output_{get,set}_skip_dcs_envelope. (disscussion with @uobikiemukot) * Some bug fixes and minor improvements. Thanks to @elfring, @isaki68k, @knok, @mattn, @tsutsui, @waywardmonkeys and @ttdoda.
Diffstat (limited to 'graphics/libsixel/options.mk')
-rw-r--r--graphics/libsixel/options.mk19
1 files changed, 17 insertions, 2 deletions
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"