forked from pool/gwenview5
This commit is contained in:
parent
0e6a239481
commit
d9016055cd
@ -67,15 +67,6 @@ Obsoletes: gwenview < %{version}
|
|||||||
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
||||||
Source2: applications.keyring
|
Source2: applications.keyring
|
||||||
%endif
|
%endif
|
||||||
# Needed for 42.3
|
|
||||||
%if 0%{?suse_version} < 1330
|
|
||||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
|
||||||
%if 0%{?sle_version} < 120300
|
|
||||||
BuildRequires: gcc6-c++
|
|
||||||
%else
|
|
||||||
BuildRequires: gcc7-c++
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Gwenview is an image viewer for KDE. It features a folder tree
|
Gwenview is an image viewer for KDE. It features a folder tree
|
||||||
@ -88,16 +79,6 @@ hierarchies.
|
|||||||
%setup -q -n %{rname}-%{version}
|
%setup -q -n %{rname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} < 1330
|
|
||||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
|
||||||
%if 0%{?sle_version} < 120300
|
|
||||||
export CC=gcc-6
|
|
||||||
export CXX=g++-6
|
|
||||||
%else
|
|
||||||
export CC=gcc-7
|
|
||||||
export CXX=g++-7
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%cmake_kf5 -d build -- -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo"
|
%cmake_kf5 -d build -- -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo"
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user