Accepting request 955586 from X11:Wayland

OBS-URL: https://build.opensuse.org/request/show/955586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/waybar?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2022-02-17 22:40:16 +00:00 committed by Git OBS Bridge
commit a1fa3cb60a
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 16 16:21:53 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>
- 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 <mvetter@suse.com> Mon Jan 10 16:16:47 UTC 2022 - Michael Vetter <mvetter@suse.com>

View File

@ -28,7 +28,11 @@ URL: https://github.com/Alexays/Waybar
#Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz #Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
Source: %{version}.tar.xz Source: %{version}.tar.xz
BuildRequires: cmake BuildRequires: cmake
%if 0%{?sle_version} >= 150400
BuildRequires: gcc11-c++
%else
BuildRequires: gcc-c++ >= 8 BuildRequires: gcc-c++ >= 8
%endif
BuildRequires: gtk-layer-shell-devel BuildRequires: gtk-layer-shell-devel
BuildRequires: meson BuildRequires: meson
BuildRequires: ninja BuildRequires: ninja
@ -86,6 +90,9 @@ This package provides the upstream look and feel for sway.
%autosetup -p1 -n Waybar-%{version} %autosetup -p1 -n Waybar-%{version}
%build %build
%if 0%{?sle_version} >= 150400
export CXX=g++-11
%endif
%meson -Dsndio=disabled %meson -Dsndio=disabled
%meson_build %meson_build