diff options
author | adam <adam@pkgsrc.org> | 2017-03-22 02:13:05 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-03-22 02:13:05 +0000 |
commit | 17004bef2411d96d39631b1730480ff0dde66ddf (patch) | |
tree | 49a348a92d64600f4dd3f6e5e401a06eaf11bf84 /graphics | |
parent | 0ccd42fd29bbe9e44209b0a31f76f29615c13d9b (diff) | |
download | pkgsrc-17004bef2411d96d39631b1730480ff0dde66ddf.tar.gz |
version 2.9:
- new liq_histogram_add_colors()
pkgsrc:
- use correct PREFIX
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libimagequant/Makefile | 8 | ||||
-rw-r--r-- | graphics/libimagequant/distinfo | 12 | ||||
-rw-r--r-- | graphics/libimagequant/patches/patch-configure | 25 |
3 files changed, 16 insertions, 29 deletions
diff --git a/graphics/libimagequant/Makefile b/graphics/libimagequant/Makefile index b54bc2e5aba..b70ad863fef 100644 --- a/graphics/libimagequant/Makefile +++ b/graphics/libimagequant/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.1 2017/01/29 11:57:03 adam Exp $ +# $NetBSD: Makefile,v 1.2 2017/03/22 02:13:05 adam Exp $ -DISTNAME= libimagequant-2.8.2 +DISTNAME= libimagequant-2.9.0 CATEGORIES= graphics MASTER_SITES+= ${MASTER_SITE_GITHUB:=ImageOptim/} MAINTAINER= adam@NetBSD.org -HOMEPAGE= http://www.libpng.org/pub/png/libpng.html +HOMEPAGE= https://pngquant.org/lib/ COMMENT= High-quality conversion of RGBA images to 8-bit indexed-color LICENSE= gnu-gpl-v3 @@ -14,6 +14,8 @@ GITHUB_TAG= ${PKGVERSION_NOREV} USE_LIBTOOL= yes USE_TOOLS+= gmake HAS_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-sse +CONFIGURE_ARGS+= --prefix="${PREFIX}" CONFIGURE_ARGS+= --without-openmp BUILD_TARGET= shared diff --git a/graphics/libimagequant/distinfo b/graphics/libimagequant/distinfo index 292f3331629..4dcbf8da3e3 100644 --- a/graphics/libimagequant/distinfo +++ b/graphics/libimagequant/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.1 2017/01/29 11:57:03 adam Exp $ +$NetBSD: distinfo,v 1.2 2017/03/22 02:13:05 adam Exp $ -SHA1 (libimagequant-2.8.2.tar.gz) = 0058b265a8b594db40609969b01a38927c909d13 -RMD160 (libimagequant-2.8.2.tar.gz) = e0e11024c9a8db8e11bf7b4fef6614b437761b8a -SHA512 (libimagequant-2.8.2.tar.gz) = 91bd5b821c823fd6508643d412253a6d1b8173d76548d96a0c41e2a7cfd7f21c082d901d0412fa10906b9da0cd2430b48fcb8cb60ec88fac60e7f4565a00bb07 -Size (libimagequant-2.8.2.tar.gz) = 63386 bytes +SHA1 (libimagequant-2.9.0.tar.gz) = 3ee01906a5d1660364c23cc2d3d2eb2458f5da8b +RMD160 (libimagequant-2.9.0.tar.gz) = 7c2f5ea0d5faae2d5737bc58873be88706e3f536 +SHA512 (libimagequant-2.9.0.tar.gz) = dcd6009acfbf8af56121d636dc6bf65f34024452425323dc7e03454a2e39fa66448b864693bbaf2e2513bdf200ae51877e68ba12017bfd413e8ff18f21ecf2ac +Size (libimagequant-2.9.0.tar.gz) = 63765 bytes SHA1 (patch-Makefile) = e1bd81385c268e104c9bf8c119c28831ba023d08 -SHA1 (patch-configure) = 1c8d3cde6cac8b3ace2335d93d5f2464e6852e2e +SHA1 (patch-configure) = 94366657d4b524849b9098ecc1490309407716cc diff --git a/graphics/libimagequant/patches/patch-configure b/graphics/libimagequant/patches/patch-configure index d4e9f1190ae..5f5c452e6a7 100644 --- a/graphics/libimagequant/patches/patch-configure +++ b/graphics/libimagequant/patches/patch-configure @@ -1,11 +1,10 @@ -$NetBSD: patch-configure,v 1.1 2017/01/29 11:57:03 adam Exp $ +$NetBSD: patch-configure,v 1.2 2017/03/22 02:13:05 adam Exp $ -Remove SSE auto-detection, it is not portable. Remove unwanted compiler flags. ---- configure.orig 2016-12-23 23:22:46.000000000 +0000 +--- configure.orig 2017-03-02 01:07:29.000000000 +0000 +++ configure -@@ -125,7 +124,7 @@ cflags "-std=c99 -I." +@@ -128,7 +128,7 @@ cflags "-std=c99 -I." # DEBUG if [ -z "$DEBUG" ]; then @@ -14,21 +13,7 @@ Remove unwanted compiler flags. status "Debug" "no" else cflags "-O1 -g" -@@ -133,13 +132,6 @@ else - fi - - # SSE --if [ "$SSE" = 'auto' ]; then -- if [[ "$(uname -m)" =~ (amd|x86_)64 || -- "$(grep -E -m1 "^flags" /proc/cpuinfo)" =~ "sse" ]]; then -- SSE=1 -- fi --fi -- - if [ "$SSE" -eq 1 ]; then - status "SSE" "yes" - cflags "-DUSE_SSE=1" -@@ -160,15 +152,9 @@ if [ -n "$OPENMP" ]; then +@@ -166,15 +166,9 @@ if [ -n "$OPENMP" ]; then else OPENMPFLAGS="-fopenmp" fi @@ -44,7 +29,7 @@ Remove unwanted compiler flags. else # silence warnings about omp pragmas cflags "-Wno-unknown-pragmas" -@@ -177,19 +163,9 @@ else +@@ -183,19 +177,9 @@ else fi # Cocoa |