Accepting request 258812 from graphics
1 OBS-URL: https://build.opensuse.org/request/show/258812 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwebp?expand=0&rev=18
This commit is contained in:
commit
a637d263b8
11
aarch64-disable-neon.diff
Normal file
11
aarch64-disable-neon.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/dsp/dsp.h
|
||||||
|
+++ src/dsp/dsp.h
|
||||||
|
@@ -66,7 +66,7 @@
|
||||||
|
#define WEBP_ANDROID_NEON // Android targets that might support NEON
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON) || defined(__aarch64__)
|
||||||
|
+#if defined(__ARM_NEON__) || defined(WEBP_ANDROID_NEON)
|
||||||
|
#define WEBP_USE_NEON
|
||||||
|
#endif
|
||||||
|
|
@ -1 +1,4 @@
|
|||||||
libwebp5
|
libwebp5
|
||||||
|
libwebpdecoder1
|
||||||
|
libwebpdemux1
|
||||||
|
libwebpmux1
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:00b646e6f66550a8faa998711fe70aabee9ed3bc562a8437c89042901674d027
|
|
||||||
size 966358
|
|
3
libwebp-0.4.2.tar.gz
Normal file
3
libwebp-0.4.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:14d825d7c2ef7d49621bcb6b83466be455585e671ae0a2ebc1f2e07775a1722d
|
||||||
|
size 977801
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 29 08:21:16 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update baselibs.conf: make it match the currently build library
|
||||||
|
packages.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 28 06:45:02 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
- update to 0.4.2:
|
||||||
|
This is a binary compatible release.
|
||||||
|
* Android / gcc build fixes
|
||||||
|
* (Windows) fix reading from stdin and writing to stdout
|
||||||
|
* gif2webp: miscellaneous fixes
|
||||||
|
* fix 'alpha-leak' with lossy compression (issue #220)
|
||||||
|
* the lossless bitstream spec has been amended to reflect the current code
|
||||||
|
- add aarch64-disable-neon.diff: work around compile failure with
|
||||||
|
neon on aarch64.
|
||||||
|
- add libwebpdecoder1 subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 11 01:50:52 UTC 2014 - jengelh@inai.de
|
Mon Aug 11 01:50:52 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
27
libwebp.spec
27
libwebp.spec
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libwebp
|
Name: libwebp
|
||||||
Version: 0.4.1
|
Version: 0.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library and tools for the WebP graphics format
|
Summary: Library and tools for the WebP graphics format
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -27,6 +27,8 @@ Url: https://developers.google.com/speed/webp/
|
|||||||
#Git-Clone: http://git.chromium.org/webm/libwebp.git
|
#Git-Clone: http://git.chromium.org/webm/libwebp.git
|
||||||
Source: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz
|
Source: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
# PATCH-UPSTREAM-NEVER: incompatible types when initializing type 'int32x4_t' using type 'int32x2_t'
|
||||||
|
Patch0: aarch64-disable-neon.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: giflib-devel
|
BuildRequires: giflib-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
@ -84,12 +86,24 @@ The WebP Mux API contains methods for adding data to and reading data
|
|||||||
from WebP files. This API currently supports XMP/EXIF metadata, ICC
|
from WebP files. This API currently supports XMP/EXIF metadata, ICC
|
||||||
profile and animation.
|
profile and animation.
|
||||||
|
|
||||||
|
%package -n libwebpdecoder1
|
||||||
|
Summary: Library for decoding WebP graphics format
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwebpdecoder1
|
||||||
|
WebP is an image format that does lossy compression of digital
|
||||||
|
photographic images. WebP consists of a codec based on VP8, and a
|
||||||
|
container based on RIFF. Webmasters, web developers and browser
|
||||||
|
developers can use WebP to compress, archive and distribute digital
|
||||||
|
images more efficiently.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libwebp, a library for the WebP format
|
Summary: Development files for libwebp, a library for the WebP format
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libwebp5 = %version
|
Requires: libwebp5 = %version
|
||||||
Requires: libwebpdemux1 = %version
|
Requires: libwebpdemux1 = %version
|
||||||
Requires: libwebpmux1 = %version
|
Requires: libwebpmux1 = %version
|
||||||
|
Requires: libwebpdecoder1 = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
WebP is an image format that does lossy compression of digital
|
WebP is an image format that does lossy compression of digital
|
||||||
@ -100,9 +114,12 @@ images more efficiently.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-libwebpmux --enable-libwebpdemux
|
%configure --disable-static \
|
||||||
|
--enable-libwebpmux --enable-libwebpdemux \
|
||||||
|
--enable-libwebpdecoder
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -116,6 +133,8 @@ rm -f "$b/%_libdir"/*.la;
|
|||||||
%postun -n libwebpdemux1 -p /sbin/ldconfig
|
%postun -n libwebpdemux1 -p /sbin/ldconfig
|
||||||
%post -n libwebpmux1 -p /sbin/ldconfig
|
%post -n libwebpmux1 -p /sbin/ldconfig
|
||||||
%postun -n libwebpmux1 -p /sbin/ldconfig
|
%postun -n libwebpmux1 -p /sbin/ldconfig
|
||||||
|
%post -n libwebpdecoder1 -p /sbin/ldconfig
|
||||||
|
%postun -n libwebpdecoder1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libwebp-tools
|
%files -n libwebp-tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -134,6 +153,10 @@ rm -f "$b/%_libdir"/*.la;
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libwebpmux.so.1*
|
%_libdir/libwebpmux.so.1*
|
||||||
|
|
||||||
|
%files -n libwebpdecoder1
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libwebpdecoder.so.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libwebp*.so
|
%_libdir/libwebp*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user