Accepting request 884699 from home:cgiboudeaux:graphics

- Update to 2.9.7. No changelog.

OBS-URL: https://build.opensuse.org/request/show/884699
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=59
This commit is contained in:
Christophe Giboudeaux 2021-04-12 14:55:46 +00:00 committed by Git OBS Bridge
parent db1a53cf14
commit 2957186ff0
4 changed files with 14 additions and 18 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 12 09:49:02 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 2.9.7. No changelog.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 10 17:06:54 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr> Wed Feb 10 17:06:54 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -26,14 +26,8 @@
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
%global _gimpplugindir %(gimptool-2.0 --gimpplugindir)/plug-ins %global _gimpplugindir %(gimptool-2.0 --gimpplugindir)/plug-ins
# opencv3 is not available for ppc64
%ifnarch ppc64
%bcond_without opencv
%else
%bcond_with opencv
%endif
Name: gmic Name: gmic
Version: 2.9.6 Version: 2.9.7
Release: 0 Release: 0
Summary: GREYC's Magick for Image Computing (denoise and others) Summary: GREYC's Magick for Image Computing (denoise and others)
# gmic-qt is GPL-3.0-or-later, zart is CECILL-2.0, libgmic and cli program are # gmic-qt is GPL-3.0-or-later, zart is CECILL-2.0, libgmic and cli program are
@ -63,12 +57,15 @@ BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%if %{with opencv}
# gmic first looks for opencv 4 and falls back to opencv 3 if not found. # gmic first looks for opencv 4 and falls back to opencv 3 if not found.
# opencv 4 in not available in leap <= 15.3 # opencv 4 in not available in leap <= 15.3
%if 0%{?suse_version} <= 1500 %if 0%{?suse_version} <= 1500
BuildRequires: pkgconfig(opencv) BuildRequires: pkgconfig(opencv)
%else %else
# ppc64 doesn't have opencv4
%ifarch ppc64
BuildRequires: pkgconfig(opencv)
%else
BuildRequires: pkgconfig(opencv4) BuildRequires: pkgconfig(opencv4)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%endif %endif
@ -190,7 +187,6 @@ cd ..
cd .. cd ..
popd popd
%if %{with opencv}
# Build zart # Build zart
pushd zart pushd zart
%qmake5 zart.pro \ %qmake5 zart.pro \
@ -199,7 +195,6 @@ pushd zart
GMIC_PATH=%{_builddir}/%{name}-%{version}/src GMIC_PATH=%{_builddir}/%{name}-%{version}/src
%make_jobs %make_jobs
popd popd
%endif
%install %install
%cmake_install %cmake_install
@ -224,12 +219,10 @@ install -d -m 0755 %{buildroot}%{_gimpplugindir}
install -m 0755 build/gmic_gimp_qt %{buildroot}%{_gimpplugindir}/gmic_gimp_qt install -m 0755 build/gmic_gimp_qt %{buildroot}%{_gimpplugindir}/gmic_gimp_qt
popd popd
%if %{with opencv}
# zart # zart
pushd zart pushd zart
install -m 0755 zart %{buildroot}%{_bindir}/zart install -m 0755 zart %{buildroot}%{_bindir}/zart
popd popd
%endif
%post -n libgmic1 -p /sbin/ldconfig %post -n libgmic1 -p /sbin/ldconfig
%postun -n libgmic1 -p /sbin/ldconfig %postun -n libgmic1 -p /sbin/ldconfig
@ -243,10 +236,8 @@ popd
%{_datadir}/applications/gmic_qt.desktop %{_datadir}/applications/gmic_qt.desktop
%{_datadir}/pixmaps/gmic_qt.png %{_datadir}/pixmaps/gmic_qt.png
%if %{with opencv}
%files zart %files zart
%{_bindir}/zart %{_bindir}/zart
%endif
%files -n gimp-plugin-gmic %files -n gimp-plugin-gmic
%license COPYING %license COPYING

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d22fe8515af16dcd050d09a0bc7127ec29f4795ce732a0c6c3eaf839356bc11a
size 7304588

3
gmic_2.9.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:942537487ea722141230579db3cd4331368429c0e33cb38fee1b17aae9557f16
size 7401418