summaryrefslogtreecommitdiff
path: root/graphics/jbig2dec
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-10-12 10:25:51 +0000
committerleot <leot@pkgsrc.org>2018-10-12 10:25:51 +0000
commit967d0f17e2d39b55c4fb79fb52257b72609f616e (patch)
tree4efaae41178d7f00a8cb85518bde8cd4ed8a2311 /graphics/jbig2dec
parent74b116856e018a8713d82df14176ad8cf761ad2b (diff)
downloadpkgsrc-967d0f17e2d39b55c4fb79fb52257b72609f616e.tar.gz
jbig2dec: Update graphics/jbig2dec to 0.15
pkgsrc changes: - Update MASTER_SITES according HOMEPAGE links - Add auto* tools to USE_TOOLS and add a pre-configure target in order to generate the configure script - Add support for the tests Changes: Version 0.15 (2018 September 04) * Bug fix release, with many security related and stability fixes as well as better tolerance/behaviour with out of spec files
Diffstat (limited to 'graphics/jbig2dec')
-rw-r--r--graphics/jbig2dec/Makefile22
-rw-r--r--graphics/jbig2dec/distinfo10
2 files changed, 22 insertions, 10 deletions
diff --git a/graphics/jbig2dec/Makefile b/graphics/jbig2dec/Makefile
index 061d1e2c420..6af8a3bcb19 100644
--- a/graphics/jbig2dec/Makefile
+++ b/graphics/jbig2dec/Makefile
@@ -1,15 +1,27 @@
-# $NetBSD: Makefile,v 1.9 2017/11/23 15:24:55 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2018/10/12 10:25:51 leot Exp $
-DISTNAME= jbig2dec-0.14
+DISTNAME= jbig2dec-0.15
CATEGORIES= graphics
-MASTER_SITES= http://downloads.ghostscript.com/public/jbig2dec/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.ghostscript.com/jbig2dec.html
COMMENT= JBIG2 decoder library
LICENSE= gnu-gpl-v3
-USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= autoreconf autoconf automake
+GNU_CONFIGURE= yes
+PYTHON_FOR_BUILD_ONLY= test
+
+TEST_TARGET= check
+
+REPLACE_PYTHON+= test_jbig2dec.py
+
+pre-configure:
+ ${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh
+
+.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jbig2dec/distinfo b/graphics/jbig2dec/distinfo
index cf41718ce01..dd81de0ba0f 100644
--- a/graphics/jbig2dec/distinfo
+++ b/graphics/jbig2dec/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2017/11/23 15:24:55 wiz Exp $
+$NetBSD: distinfo,v 1.8 2018/10/12 10:25:51 leot Exp $
-SHA1 (jbig2dec-0.14.tar.gz) = c4c834962d1357f9aaacecd7fca8236326e45975
-RMD160 (jbig2dec-0.14.tar.gz) = c7421f9ff09bc125f3245ba7540fd969932ba8ab
-SHA512 (jbig2dec-0.14.tar.gz) = 066bd880ac0665fc1e42b0ae0e481008b125aab6e173b7f82d61a2a30e72c90085cbded9b2a68c6836f92dea3d8d8d5c2228dba76e0d99c79c922197d215705b
-Size (jbig2dec-0.14.tar.gz) = 463572 bytes
+SHA1 (jbig2dec-0.15.tar.gz) = 3a95afc13bca05bb3a40c146f15881b9ab208981
+RMD160 (jbig2dec-0.15.tar.gz) = b2902358ab2b836354590d66e85727f94277b9b7
+SHA512 (jbig2dec-0.15.tar.gz) = 62b9c24aec664148bc7c33ba988e71aa169a962cc0970dd9db63d1ce94d62e939ce8642698537ed18994504c22f7701995e86bf6be552f385b7d87e2d0c2941a
+Size (jbig2dec-0.15.tar.gz) = 130944 bytes