diff --git a/waybar.changes b/waybar.changes index c4fe88d..1b02921 100644 --- a/waybar.changes +++ b/waybar.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 16 16:21:53 UTC 2022 - Antonio Larrosa + +- Use g++-11 when building in Backports/Leap 15.4 since otherwise + the compiler is too old. + ------------------------------------------------------------------- Mon Jan 10 16:16:47 UTC 2022 - Michael Vetter diff --git a/waybar.spec b/waybar.spec index b544946..e513d58 100644 --- a/waybar.spec +++ b/waybar.spec @@ -28,7 +28,11 @@ URL: https://github.com/Alexays/Waybar #Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz Source: %{version}.tar.xz BuildRequires: cmake +%if 0%{?sle_version} >= 150400 +BuildRequires: gcc11-c++ +%else BuildRequires: gcc-c++ >= 8 +%endif BuildRequires: gtk-layer-shell-devel BuildRequires: meson BuildRequires: ninja @@ -86,6 +90,9 @@ This package provides the upstream look and feel for sway. %autosetup -p1 -n Waybar-%{version} %build +%if 0%{?sle_version} >= 150400 +export CXX=g++-11 +%endif %meson -Dsndio=disabled %meson_build