SHA256
1
0
forked from pool/waycheck

- Use GCC 11 for SLE/Leap

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waycheck?expand=0&rev=8
This commit is contained in:
Neal Gompa 2024-01-23 10:51:01 +00:00 committed by Git OBS Bridge
parent f0c4eb469d
commit 0b298f5912
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 23 10:42:01 UTC 2024 - Neal Gompa <ngompa@opensuse.org>
- Use GCC 11 for SLE/Leap
-------------------------------------------------------------------
Sun Oct 15 20:37:38 UTC 2023 - Neal Gompa <ngompa@opensuse.org>

View File

@ -28,7 +28,11 @@ URL: https://gitlab.freedesktop.org/serebit/waycheck
Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
BuildRequires: meson
%if 0%{?suse_version} && 0%{?suse_version} < 1600
BuildRequires: gcc11-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: pkgconfig(Qt6Core) >= %{qt6_minver}
BuildRequires: pkgconfig(Qt6Gui) >= %{qt6_minver}
BuildRequires: pkgconfig(Qt6WaylandClient) >= %{qt6_minver}
@ -45,6 +49,10 @@ Requires: hicolor-icon-theme
%build
%if 0%{?suse_version} && 0%{?suse_version} < 1600
export CC=gcc-11
export CXX=g++-11
%endif
%meson
%meson_build