Christophe Marin 2025-01-10 22:15:21 +00:00 committed by Git OBS Bridge
parent 390726d1ec
commit ac01d1b17f
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 10 21:43:55 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Use GCC 13 on Leap 15
-------------------------------------------------------------------
Wed Jan 8 13:06:49 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -63,10 +63,15 @@ BuildRequires: krita
#
# /SECTION
#
BuildRequires: cmake >= 3.14.0
BuildRequires: cmake >= 3.16.0
BuildRequires: dos2unix
BuildRequires: extra-cmake-modules
BuildRequires: fftw3-threads-devel
%if 0%{?suse_version} == 1500
# Qt 6 requires c++-17, we'll use the latest version available on Leap 15
BuildRequires: gcc13-c++
BuildRequires: gcc13-PIE
%endif
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
@ -171,6 +176,10 @@ This package contains shared data files for the various gmic frontends.
dos2unix src/gmic_libc.*
%build
%if 0%{?suse_version} == 1500
export CC=gcc-13 CXX=g++-13
%endif
# Build gmic
# Starting with gmic 3.1.0, the gmic dev replaced their CMake build system with a non-configurable Makefile...
sed -i 's#LIB ?= lib#LIB ?= %{_lib}#' src/Makefile