- Build marble with GCC 13 on Leap 15
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/marble?expand=0&rev=286
This commit is contained in:
parent
81d391890f
commit
71d57d44cc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 20:23:17 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Build marble with GCC 13 on Leap 15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 23 14:00:47 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
|
@ -33,6 +33,10 @@ Source2: applications.keyring
|
||||
%endif
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: fdupes
|
||||
%if 0%{?suse_version} == 1500
|
||||
BuildRequires: gcc13-c++
|
||||
BuildRequires: gcc13-PIE
|
||||
%endif
|
||||
BuildRequires: libqt5-qtlocation-devel
|
||||
BuildRequires: libshp-devel
|
||||
BuildRequires: perl
|
||||
@ -160,9 +164,14 @@ The astronomy library for the satellites plugin.
|
||||
|
||||
%build
|
||||
export SUSE_ASNEEDED=0
|
||||
%if 0%{?suse_version} == 1500
|
||||
export CXX=g++-13
|
||||
%endif
|
||||
|
||||
%ifarch ppc ppc64
|
||||
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%endif
|
||||
|
||||
%cmake_kf5 -d build -- -DBUILD_MARBLE_TESTS=NO -DMOBILE=OFF -DQT_PLUGINS_DIR=%{_kf5_plugindir}
|
||||
%cmake_build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user