forked from pool/marble
- 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>
|
Fri Feb 23 14:00:47 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
13
marble.spec
13
marble.spec
@ -33,6 +33,10 @@ Source2: applications.keyring
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
%if 0%{?suse_version} == 1500
|
||||||
|
BuildRequires: gcc13-c++
|
||||||
|
BuildRequires: gcc13-PIE
|
||||||
|
%endif
|
||||||
BuildRequires: libqt5-qtlocation-devel
|
BuildRequires: libqt5-qtlocation-devel
|
||||||
BuildRequires: libshp-devel
|
BuildRequires: libshp-devel
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -160,9 +164,14 @@ The astronomy library for the satellites plugin.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export SUSE_ASNEEDED=0
|
export SUSE_ASNEEDED=0
|
||||||
%ifarch ppc ppc64
|
%if 0%{?suse_version} == 1500
|
||||||
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
export CXX=g++-13
|
||||||
%endif
|
%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_kf5 -d build -- -DBUILD_MARBLE_TESTS=NO -DMOBILE=OFF -DQT_PLUGINS_DIR=%{_kf5_plugindir}
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user