]> git.pld-linux.org Git - packages/libwebp.git/commitdiff
- updated to 1.1.0 auto/th/libwebp-1.1.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 15 Jan 2020 18:47:40 +0000 (19:47 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 15 Jan 2020 18:47:40 +0000 (19:47 +0100)
- added link patch (put local libs first to fix build with older libwebp installed)

libwebp-link.patch [new file with mode: 0644]
libwebp.spec

diff --git a/libwebp-link.patch b/libwebp-link.patch
new file mode 100644 (file)
index 0000000..abe4c6f
--- /dev/null
@@ -0,0 +1,52 @@
+--- libwebp-1.1.0/examples/Makefile.am.orig    2019-12-21 14:37:43.000000000 +0100
++++ libwebp-1.1.0/examples/Makefile.am 2020-01-15 05:32:27.958820989 +0100
+@@ -34,6 +34,11 @@
+ anim_diff_LDADD += ../src/demux/libwebpdemux.la
+ anim_diff_LDADD += libexample_util.la
+ anim_diff_LDADD += ../imageio/libimageio_util.la
++if BUILD_LIBWEBPDECODER
++  anim_diff_LDADD += ../src/libwebpdecoder.la
++else
++  anim_diff_LDADD += ../src/libwebp.la
++endif
+ anim_diff_LDADD += $(GIF_LIBS) -lm
+ anim_dump_SOURCES = anim_dump.c anim_util.c anim_util.h gifdec.c gifdec.h
+@@ -44,6 +49,11 @@
+ anim_dump_LDADD += libexample_util.la
+ anim_dump_LDADD += ../imageio/libimageio_util.la
+ anim_dump_LDADD += ../imageio/libimageenc.la
++if BUILD_LIBWEBPDECODER
++  anim_dump_LDADD += ../src/libwebpdecoder.la
++else
++  anim_dump_LDADD += ../src/libwebp.la
++endif
+ anim_dump_LDADD += $(PNG_LIBS) $(GIF_LIBS) $(TIFF_LIBS) -lm
+ cwebp_SOURCES  = cwebp.c stopwatch.h
+@@ -81,6 +91,11 @@
+ vwebp_LDADD += libexample_util.la
+ vwebp_LDADD += ../imageio/libimageio_util.la
+ vwebp_LDADD += ../src/demux/libwebpdemux.la
++if BUILD_LIBWEBPDECODER
++  vwebp_LDADD += ../src/libwebpdecoder.la
++else
++  vwebp_LDADD += ../src/libwebp.la
++endif
+ vwebp_LDADD += $(GL_LIBS)
+ webpmux_SOURCES = webpmux.c
+@@ -107,13 +122,3 @@
+ webpinfo_LDADD += libexample_util.la
+ webpinfo_LDADD += ../imageio/libimageio_util.la
+ webpinfo_LDADD += ../src/libwebp.la
+-
+-if BUILD_LIBWEBPDECODER
+-  anim_diff_LDADD += ../src/libwebpdecoder.la
+-  anim_dump_LDADD += ../src/libwebpdecoder.la
+-  vwebp_LDADD += ../src/libwebpdecoder.la
+-else
+-  anim_diff_LDADD += ../src/libwebp.la
+-  anim_dump_LDADD += ../src/libwebp.la
+-  vwebp_LDADD += ../src/libwebp.la
+-endif
index 79e1b532714e921f1ef3372178083b719811f2e5..c6fc626514e9bfd2e068b7a80f6f358b2ec25171 100644 (file)
@@ -5,13 +5,14 @@
 Summary:       WebP image codec libraries
 Summary(pl.UTF-8):     Biblioteki do kodeka obrazów WebP
 Name:          libwebp
-Version:       1.0.3
+Version:       1.1.0
 Release:       1
 License:       BSD
 Group:         Libraries
 #Source0Download: http://downloads.webmproject.org/releases/webp/index.html
 Source0:       http://downloads.webmproject.org/releases/webp/%{name}-%{version}.tar.gz
-# Source0-md5: 906ad85daaaa2eac97c8aa2dec9e8b77
+# Source0-md5: 7e047f2cbaf584dff7a8a7e0f8572f18
+Patch0:                %{name}-link.patch
 URL:           https://developers.google.com/speed/webp/
 %{?with_opengl:BuildRequires:  OpenGL-devel}
 %{?with_opengl:BuildRequires:  OpenGL-glut-devel}
@@ -68,6 +69,7 @@ Narzędzia do kodeka obrazów WebP.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.157686 seconds and 4 git commands to generate.