From 784aa8f1fcae5115e0483a7be2ea2670a4e28ac851118e17fe0d0877d3b62147 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 29 Sep 2022 10:02:26 +0000 Subject: [PATCH] - re-disable video codecs due to possible patent issues https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15258 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1143 --- Mesa.changes | 6 ++++++ Mesa.spec | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/Mesa.changes b/Mesa.changes index 4993bba..1ff3b6c 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 29 10:00:03 UTC 2022 - Stefan Dirsch + +- re-disable video codecs due to possible patent issues + https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15258 + ------------------------------------------------------------------- Tue Sep 27 11:08:54 UTC 2022 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 0f1418e..5ff0228 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -29,6 +29,11 @@ %define _lto_cflags %{nil} %endif +# Possible patent issues, see +# https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15258 +# for more details +%define video_codecs 0 + %define drivers 0 %define glamor 1 @@ -817,7 +822,9 @@ egl_platforms=x11,wayland -Dshared-llvm=true \ %endif %if "%{flavor}" == "drivers" +%if %{video_codecs} -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec \ +%endif %if %{gallium_loader} -Dgallium-vdpau=true \ -Dgallium-xvmc=true \