Accepting request 1006005 from graphics
- Use opencv 4 for building gmic on 15.4 and PowerPC OBS-URL: https://build.opensuse.org/request/show/1006005 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gmic?expand=0&rev=26
This commit is contained in:
commit
44f9c3192b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 07:35:42 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Use opencv 4 for building gmic on 15.4 and PowerPC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 07:08:01 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
@ -93,17 +93,12 @@ BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
# gmic first looks for opencv 4 and falls back to opencv 3 if not found.
|
||||
# opencv 4 in not available in leap <= 15.3
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: pkgconfig(opencv)
|
||||
%else
|
||||
# ppc64 doesn't have opencv4
|
||||
%ifarch ppc64
|
||||
%if 0%{suse_version} == 1500 && 0%{?sle_version} < 150400
|
||||
BuildRequires: pkgconfig(opencv)
|
||||
%else
|
||||
BuildRequires: pkgconfig(opencv4)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%endif
|
||||
%endif
|
||||
Requires: gmic-data = %{version}
|
||||
|
||||
%description
|
||||
|
Loading…
x
Reference in New Issue
Block a user