[packages/libimagequant] - updated to 2.17.0 - updated shared patch
qboosh
qboosh at pld-linux.org
Wed Mar 16 21:11:56 CET 2022
commit 40af3e6808a5f6bb40cdd9984e176b097ff95783
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Mar 16 21:13:56 2022 +0100
- updated to 2.17.0
- updated shared patch
libimagequant-shared.patch | 20 ++++++++++----------
libimagequant.spec | 6 +++---
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/libimagequant.spec b/libimagequant.spec
index a40d62b..ffbdda1 100644
--- a/libimagequant.spec
+++ b/libimagequant.spec
@@ -14,14 +14,14 @@
Summary: Image Quantization library
Summary(pl.UTF-8): Biblioteka do kwantyzacji obrazów
Name: libimagequant
-Version: 2.13.1
+Version: 2.17.0
Release: 1
# some original code was on MIT-like license
License: GPL v3+ with MIT parts or commercial
Group: Libraries
-#Source0Download: https://github.com/ImageOptim/libimagequant/releases
+#Source0Download: https://github.com/ImageOptim/libimagequant/tags
Source0: https://github.com/ImageOptim/libimagequant/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e808e68f0195b64f4b4de646f619fa52
+# Source0-md5: 0447f0de4c68aef5f342ddec58a46e7c
Patch0: %{name}-shared.patch
URL: https://pngquant.org/lib/
%{?with_openmp:BuildRequires: gcc >= 6:4.2}
diff --git a/libimagequant-shared.patch b/libimagequant-shared.patch
index ff7f089..97afee3 100644
--- a/libimagequant-shared.patch
+++ b/libimagequant-shared.patch
@@ -1,6 +1,6 @@
---- libimagequant-2.12.5/Makefile.orig 2019-07-27 14:50:23.000000000 +0200
-+++ libimagequant-2.12.5/Makefile 2019-09-17 17:00:18.143888507 +0200
-@@ -64,8 +64,8 @@
+--- libimagequant-2.17.0/Makefile.orig 2021-11-15 00:57:01.000000000 +0100
++++ libimagequant-2.17.0/Makefile 2022-03-16 21:05:11.342090757 +0100
+@@ -64,8 +64,8 @@ libimagequant.dylib: $(SHAREDOBJS)
$(OBJS): $(wildcard *.h) config.mk
@@ -11,22 +11,22 @@
$(JNIDLL) $(JNIDLLIMP): $(JAVAHEADERS) $(OBJS) org/pngquant/PngQuant.c
$(CC) -fPIC -shared -I. $(JAVAINCLUDE) -o $(JNIDLL) $^ $(LDFLAGS) -Wl,--out-implib,$(JNIDLLIMP),--output-def,$(JNIDLLDEF)
-@@ -133,7 +133,7 @@
+@@ -134,7 +134,7 @@ ifeq ($(filter %clean %distclean, $(MAKE
endif
$(PKGCONFIG): config.mk
-- sed 's|PREFIX|$(PREFIX)|;s|VERSION|$(VERSION)|' < imagequant.pc.in > $(PKGCONFIG)
-+ sed 's|PREFIX|$(PREFIX)|;s|LIBDIR|$(LIBDIR)|;s|VERSION|$(VERSION)|' < imagequant.pc.in > $(PKGCONFIG)
+- sed 's|@PREFIX@|$(PREFIX)|;s|@VERSION@|$(VERSION)|' < imagequant.pc.in > $(PKGCONFIG)
++ sed 's|@PREFIX@|$(PREFIX)|;s|@LIBDIR@|$(LIBDIR)|;s|@VERSION@|$(VERSION)|' < imagequant.pc.in > $(PKGCONFIG)
.PHONY: all static shared clean dist distclean dll java cargo
.DELETE_ON_ERROR:
---- libimagequant-2.12.1/imagequant.pc.in.orig 2018-06-03 21:46:28.000000000 +0200
-+++ libimagequant-2.12.1/imagequant.pc.in 2018-07-21 18:57:30.940475377 +0200
+--- libimagequant-2.17.0/imagequant.pc.in.orig 2022-03-16 21:03:51.702522202 +0100
++++ libimagequant-2.17.0/imagequant.pc.in 2022-03-16 21:05:58.435168965 +0100
@@ -1,6 +1,6 @@
- prefix=PREFIX
+ prefix=@PREFIX@
includedir=${prefix}/include
-libdir=${prefix}/lib
-+libdir=LIBDIR
++libdir=@LIBDIR@
Name: imagequant
Description: Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libimagequant.git/commitdiff/40af3e6808a5f6bb40cdd9984e176b097ff95783
More information about the pld-cvs-commit
mailing list