summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-01-22 10:32:50 +0000
committerwiz <wiz@pkgsrc.org>2017-01-22 10:32:50 +0000
commitdadaf659f4c9f4263b025ca21834cf6aba2d644f (patch)
treed7cf583d6e602f5bcef55eab87344090f85f2fa4 /graphics
parent907a6e457e959d87744dfa809e66c22dd1028685 (diff)
downloadpkgsrc-dadaf659f4c9f4263b025ca21834cf6aba2d644f.tar.gz
Import guetzli-0.2 as graphics/guetzli.
Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality. Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated by libjpeg. Guetzli generates only sequential (nonprogressive) JPEGs due to faster decompression speeds they offer.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/guetzli/DESCR5
-rw-r--r--graphics/guetzli/Makefile24
-rw-r--r--graphics/guetzli/PLIST3
-rw-r--r--graphics/guetzli/distinfo6
4 files changed, 38 insertions, 0 deletions
diff --git a/graphics/guetzli/DESCR b/graphics/guetzli/DESCR
new file mode 100644
index 00000000000..ef399d7fdde
--- /dev/null
+++ b/graphics/guetzli/DESCR
@@ -0,0 +1,5 @@
+Guetzli is a JPEG encoder that aims for excellent compression
+density at high visual quality. Guetzli-generated images are
+typically 20-30% smaller than images of equivalent quality generated
+by libjpeg. Guetzli generates only sequential (nonprogressive)
+JPEGs due to faster decompression speeds they offer.
diff --git a/graphics/guetzli/Makefile b/graphics/guetzli/Makefile
new file mode 100644
index 00000000000..06fd84e0ccf
--- /dev/null
+++ b/graphics/guetzli/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/01/22 10:32:50 wiz Exp $
+
+DISTNAME= guetzli-0.2
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/google/guetzli
+COMMENT= JPEG encoder with great compression at high quality
+LICENSE= apache-2.0
+
+USE_LANGUAGES= c++
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS= bin share/doc/guetzli
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/Release/guetzli ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/guetzli
+
+.include "../../devel/gflags/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/guetzli/PLIST b/graphics/guetzli/PLIST
new file mode 100644
index 00000000000..e45ade796c8
--- /dev/null
+++ b/graphics/guetzli/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/22 10:32:50 wiz Exp $
+bin/guetzli
+share/doc/guetzli/README.md
diff --git a/graphics/guetzli/distinfo b/graphics/guetzli/distinfo
new file mode 100644
index 00000000000..ac9aa7e1079
--- /dev/null
+++ b/graphics/guetzli/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/01/22 10:32:50 wiz Exp $
+
+SHA1 (guetzli-0.2.tar.gz) = e95837d5b91ac949b64da20cdddccf6292e27468
+RMD160 (guetzli-0.2.tar.gz) = f46d1f88dd9da1a7c8192662ba3fb1306dc57823
+SHA512 (guetzli-0.2.tar.gz) = 479e2e99647250c6c1ece4d29c6a6f9fc0b134e1707d89cf931e8db5b9ba3e79d1c63912388cc789b0eedbb9c387848182ad44bd8ebe195958e64acfa9de473e
+Size (guetzli-0.2.tar.gz) = 95570 bytes