forked from pool/libimagequant
Accepting request 686988 from graphics
OBS-URL: https://build.opensuse.org/request/show/686988 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libimagequant?expand=0&rev=3
This commit is contained in:
commit
01f4cb6eeb
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ec2cbfcf910a64479a03846798615914e8aa430075c9d84a6e3a714d04217e6
|
||||
size 74079
|
3
libimagequant-2.12.2.tar.gz
Normal file
3
libimagequant-2.12.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23ccecb4898ec17474914cfd2fbc4684425f7fd249117f2f1e3f3ba0bf8159e6
|
||||
size 75611
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 15 07:37:14 UTC 2019 - munix9@googlemail.com
|
||||
|
||||
- update to version 2.12.2
|
||||
* new liq_histogram_add_fixed_color()
|
||||
* faster for large/complex images
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 18:01:31 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -12,20 +12,22 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define sover 0
|
||||
%define libname %{name}%{sover}
|
||||
Name: libimagequant
|
||||
Version: 2.11.3
|
||||
Version: 2.12.2
|
||||
Release: 0
|
||||
Summary: Palette quantization library
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/C and C++
|
||||
URL: https://github.com/ImageOptim/libimagequant
|
||||
Url: https://pngquant.org/lib/
|
||||
Source: https://github.com/ImageOptim/libimagequant/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(lcms2)
|
||||
|
||||
%description
|
||||
C library for conversion of RGBA images to 8-bit indexed-color
|
||||
@ -53,14 +55,14 @@ C library for conversion of RGBA images to 8-bit indexed-color
|
||||
|
||||
%build
|
||||
# This is not an autoconf configure, but the script simply ignores parameters it does not know
|
||||
%configure
|
||||
make %{?_smp_mflags} shared
|
||||
%configure --with-openmp
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
# Manual installation, the Makefile has no install target
|
||||
install -Dpm 0755 %{name}.so.0 %{buildroot}%{_libdir}/%{name}.so.0
|
||||
ln -s %{name}.so.0 %{buildroot}%{_libdir}/%{name}.so
|
||||
install -Dpm 0644 %{name}.h %{buildroot}%{_includedir}/%{name}.h
|
||||
%make_install
|
||||
|
||||
# work around --disable-static not working
|
||||
find %{buildroot} \( -name '*.a' -o -name '*.la' \) -print -delete
|
||||
|
||||
%post -n libimagequant0 -p /sbin/ldconfig
|
||||
%postun -n libimagequant0 -p /sbin/ldconfig
|
||||
@ -73,5 +75,6 @@ install -Dpm 0644 %{name}.h %{buildroot}%{_includedir}/%{name}.h
|
||||
%files devel
|
||||
%{_libdir}/%{name}.so
|
||||
%{_includedir}/%{name}.h
|
||||
%{_libdir}/pkgconfig/imagequant.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user