SHA256
1
0
forked from pool/libwebp
2015-03-29 12:57:03 +00:00
committed by Git OBS Bridge
parent 9e01691843
commit 781cc06447
7 changed files with 87 additions and 19 deletions

View File

@@ -17,7 +17,7 @@
Name: libwebp
Version: 0.4.2
Version: 0.4.3
Release: 0
Summary: Library and tools for the WebP graphics format
License: BSD-3-Clause
@@ -26,9 +26,10 @@ Url: https://developers.google.com/speed/webp/
#Git-Clone: http://git.chromium.org/webm/libwebp.git
Source: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz
Source2: baselibs.conf
# PATCH-UPSTREAM-NEVER: incompatible types when initializing type 'int32x4_t' using type 'int32x2_t'
Patch0: aarch64-disable-neon.diff
Source2: http://downloads.webmproject.org/releases/webp/%name-%version.tar.gz.asc
Source3: %name.keyring
Source4: baselibs.conf
Patch1: aarch64-disable-neon.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: giflib-devel
BuildRequires: libjpeg-devel
@@ -114,7 +115,7 @@ images more efficiently.
%prep
%setup -q
%patch0
%patch -P 1 -p1
%build
%configure --disable-static \
@@ -123,9 +124,8 @@ images more efficiently.
make %{?_smp_mflags}
%install
b="%buildroot";
make install DESTDIR="$b";
rm -f "$b/%_libdir"/*.la;
%make_install
rm -f "%buildroot/%_libdir"/*.la
%post -n libwebp5 -p /sbin/ldconfig
%postun -n libwebp5 -p /sbin/ldconfig