Accepting request 1060610 from home:manfred-h

- Add BuildRequires for x264 and x265 in case video_codecs should
  be built.

OBS-URL: https://build.opensuse.org/request/show/1060610
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1182
This commit is contained in:
Stefan Dirsch 2023-01-24 14:18:51 +00:00 committed by Git OBS Bridge
parent 98e38d64e2
commit aadbf26bd7
2 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,12 @@ 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>

View File

@ -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}