From 112aa686c7a9d978392cf524d2e18141cd3b7c89f1e07b7116d4aeaa57998140 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 3 Oct 2022 17:14:02 +0000 Subject: [PATCH] Accepting request 1007660 from home:iznogood:branches:X11:XOrg - Add build_orig conditional switch for video codecs define. OBS-URL: https://build.opensuse.org/request/show/1007660 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1145 --- Mesa.changes | 5 +++++ Mesa.spec | 4 ++++ 2 files changed, 9 insertions(+) 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