Dominique Leuenberger 2023-01-25 16:42:40 +00:00 committed by Git OBS Bridge
commit f0168f93b8
2 changed files with 26 additions and 2 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Jan 24 11:06:48 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- force usage of gcc 12 only on Leap 15.5; there is no gcc12 on
Leap 15.4
-------------------------------------------------------------------
Tue Jan 24 09:32:12 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>
- Add BuildRequires for x264 and x265 in case video_codecs should
be built.
-------------------------------------------------------------------
Mon Jan 23 18:43:50 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- re-enable build on Leap, but only for 15.5; there is no gcc12
on Leap 15.4, which is now officially required by Mesa 22.3
-------------------------------------------------------------------
Mon Jan 16 22:44:11 UTC 2023 - Martin Hauke <mardnh@gmx.de>

View File

@ -154,7 +154,7 @@ BuildRequires: bison
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: flex
%if 0%{?sle_version} >= 150400
%if 0%{?sle_version} >= 150500
BuildRequires: gcc12-c++
%else
BuildRequires: gcc-c++
@ -286,6 +286,12 @@ BuildRequires: pkgconfig(LLVMSPIRVLib)
BuildRequires: pkgconfig(SPIRV-Tools)
%endif
%endif
%if "%{flavor}" == "drivers"
%if %{video_codecs}
BuildRequires: pkgconfig(x264)
BuildRequires: pkgconfig(x265)
%endif
%endif
Requires: Mesa-libEGL1 = %{version}
Requires: Mesa-libGL1 = %{version}
@ -805,7 +811,7 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
%ifarch ppc64 ppc64le
%limit_build -m 1024
%endif
%if 0%{?sle_version} >= 150400
%if 0%{?sle_version} >= 150500
export CC=gcc-12
export CXX=g++-12
%endif