Accepting request 1068503 from home:mgorse:branches:multimedia:libs

- Require gcc9 on SLE. Otherwise defaults to gcc7 and fails to
  build on ppc64le (boo#1208794).

OBS-URL: https://build.opensuse.org/request/show/1068503
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=58
This commit is contained in:
Jan Engelhardt 2023-03-01 16:48:17 +00:00 committed by Git OBS Bridge
parent ce7fad3fb1
commit 87ff52dc80
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 1 16:22:14 UTC 2023 - Michael Gorse <mgorse@suse.com>
- Require gcc9 on SLE. Otherwise defaults to gcc7 and fails to
build on ppc64le (boo#1208794).
-------------------------------------------------------------------
Tue Feb 14 21:26:23 UTC 2023 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -31,6 +31,9 @@ BuildRequires: meson >= 0.49.0
BuildRequires: nasm >= 2.14
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libxxhash)
%if 0%{?suse_version} == 1500
BuildRequires: gcc9
%endif
%description
dav1d is a SIMD-enhanced decoder for AV1 video. It features
@ -63,6 +66,9 @@ Group: System/Libraries
%autosetup -p1
%build
%if 0%{?suse_version} == 1500
export CC=gcc-9
%endif
%meson
%meson_build