diff --git a/Mesa.changes b/Mesa.changes index 1ff3b6c..448a5fe 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 3 10:29:51 UTC 2022 - Bjørn Lie + +- Add build_orig conditional switch for video codecs define. + ------------------------------------------------------------------- Thu Sep 29 10:00:03 UTC 2022 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index 5ff0228..f4bbf41 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -32,7 +32,11 @@ # Possible patent issues, see # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15258 # for more details +%if 0%{?BUILD_ORIG} +%define video_codecs 1 +%else %define video_codecs 0 +%endif %define drivers 0