jpegoptim: updated to 1.5.0 v1.5.0 Parallel processing support added. Use option -w max or --workers=max to enable. Fix --stdin option Other minor fixesdiff -r1.22 -r1.23 pkgsrc/graphics/jpegoptim/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.22 2019/08/08 21:17:48 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.23 2022/12/07 08:04:41 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= jpegoptim-1.4.6 | 3 | DISTNAME= jpegoptim-1.5.0 | |
4 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
5 | MASTER_SITES= http://www.kokkonen.net/tjko/src/ | 5 | MASTER_SITES= http://www.kokkonen.net/tjko/src/ | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= https://www.kokkonen.net/tjko/projects.html | 8 | HOMEPAGE= https://www.kokkonen.net/tjko/projects.html | |
9 | COMMENT= JPEG optimizer | 9 | COMMENT= JPEG optimizer | |
10 | LICENSE= gnu-gpl-v2 | 10 | LICENSE= gnu-gpl-v2 | |
11 | 11 | |||
12 | GNU_CONFIGURE= yes | 12 | GNU_CONFIGURE= yes | |
13 | 13 | |||
14 | INSTALL_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} | 14 | INSTALL_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} | |
15 | 15 | |||
16 | .include "../../mk/jpeg.buildlink3.mk" | 16 | .include "../../mk/jpeg.buildlink3.mk" |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.17 2021/10/26 10:46:21 nia Exp $ | 1 | $NetBSD: distinfo,v 1.18 2022/12/07 08:04:41 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (jpegoptim-1.4.6.tar.gz) = 49a1c2954442e7fb3eea605fb3150c58025e73548013b8513e1076d891510267 | 3 | BLAKE2s (jpegoptim-1.5.0.tar.gz) = 529833d8bfb51b0f481706ef719f282b8cbeecb775c861902d8dadbc241fea2e | |
4 | SHA512 (jpegoptim-1.4.6.tar.gz) = 1ebd4986cbfeae19c1e01521862c15de25e078ccb6483c29f0d89b9c8e308c93d8dca7a200a57dd5da793e481ca5dc9c4f0d84b252f5b9408b4e719c35d7e90f | 4 | SHA512 (jpegoptim-1.5.0.tar.gz) = 79f839cd1c014dc471fdf8f56d42d9c2ec9e0758007a3388f43aba278e239dcebb7c859b16fc39ef41b1ce80540e3bb2b7dcafc695534ad13553ae3785c3e5fd | |
5 | Size (jpegoptim-1.4.6.tar.gz) = 99004 bytes | 5 | Size (jpegoptim-1.5.0.tar.gz) = 110902 bytes | |
6 | SHA1 (patch-configure) = e403f3243608687a9ac98ea59a5fb4a2c4363f53 |
$NetBSD: patch-configure,v 1.1 2022/12/07 08:04:42 adam Exp $
Portablility fixes.
--- configure.orig 2022-12-07 07:55:53.000000000 +0000
+++ configure
@@ -3397,7 +3397,7 @@ arith_code=0
# Check whether --with-arith was given.
if test "${with_arith+set}" = set; then :
withval=$with_arith;
- if test $withval == yes; then
+ if test $withval = yes; then
arith_code=1
fi
@@ -4167,7 +4167,7 @@ fi
fi
-if test $arith_code == 1 -a $jpegoptim_cv_arith_code_support = yes; then
+if test $arith_code = 1 -a $jpegoptim_cv_arith_code_support = yes; then
arith_code_status="Enabled"
$as_echo "#define HAVE_ARITH_CODE 1" >>confdefs.h