2.9.1
OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=45
This commit is contained in:
parent
d201b20796
commit
c50e0c0d07
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 14 09:25:43 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Update to 2.9.1. No changelog.
|
||||
- Add patch to allow building gmic with older CMake versions:
|
||||
* 0001-Don-t-use-CMake-commands-not-available-in-CMake-3.9.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 28 19:04:56 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
37
gmic.spec
37
gmic.spec
@ -38,7 +38,7 @@
|
||||
%bcond_with opencv
|
||||
%endif
|
||||
Name: gmic
|
||||
Version: 2.9.0
|
||||
Version: 2.9.1
|
||||
Release: 0
|
||||
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
|
||||
@ -49,7 +49,9 @@ URL: https://gmic.eu
|
||||
# Git URL: https://framagit.org/dtschump/gmic
|
||||
Source0: https://gmic.eu/files/source/gmic_%{version}.tar.gz
|
||||
Source1: gmic_qt.png
|
||||
BuildRequires: cmake > 3.8
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch: 0001-Don-t-use-CMake-commands-not-available-in-CMake-3.9.patch
|
||||
BuildRequires: cmake >= 3.9.4
|
||||
BuildRequires: fftw3-threads-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
@ -72,12 +74,12 @@ BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%if %{with opencv}
|
||||
# in openSUSE >= 15.2, opencv-devel is opencv4 and pkgconfig(opencv) is opencv3
|
||||
# ...and opencv3-devel doesn't exist in leap 15.0 and 15.1
|
||||
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} < 150200
|
||||
BuildRequires: opencv-devel
|
||||
%else
|
||||
# gmic first looks for opencv 4 first and falls back to opencv 3 if not found.
|
||||
# opencv in not available in leap <= 15.2
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: pkgconfig(opencv)
|
||||
%else
|
||||
BuildRequires: pkgconfig(opencv4)
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -150,16 +152,23 @@ the G'MIC image processing language by offering the choice of several
|
||||
manipulations on a video stream acquired from a webcam. In other words, ZArt is
|
||||
a GUI for G'MIC real-time manipulations on the output of a webcam.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash completion for gmic
|
||||
License: CECILL-2.1
|
||||
Group: Productivity/Graphics/Bitmap Editors
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
|
||||
%description bash-completion
|
||||
This package contain de bash completion command for gmic.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
# Generated file that should not be there
|
||||
rm -f zart/.qmake.stash
|
||||
|
||||
%build
|
||||
|
||||
# Leap 15.0 doesn't know %%cmake_build
|
||||
%{?!cmake_build:%define cmake_build() make %{?_smp_mflags} VERBOSE=1}
|
||||
|
||||
# Build gmic
|
||||
%cmake \
|
||||
-DENABLE_DYNAMIC_LINKING=ON \
|
||||
@ -308,4 +317,8 @@ popd
|
||||
%{_libdir}/libgmic.so
|
||||
%{_libdir}/cmake/gmic/
|
||||
|
||||
%files bash-completion
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/gmic
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6233695f9b27999dcc7cc3aa7480b0f192bd44de85209091a3b4b8a65ae8c4b5
|
||||
size 6195597
|
3
gmic_2.9.1.tar.gz
Normal file
3
gmic_2.9.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50c9dd418b8d0e80c703c2e2b179b6049343567483d37d9ff6c642c6ede95d8d
|
||||
size 6212626
|
Loading…
Reference in New Issue
Block a user