From 70a8f8fabea9d0ad56eabcc639c55b8b44d949775ac8e4671761aee708e04f1f Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 31 Dec 2022 10:34:46 +0000 Subject: [PATCH] - don't try to generate libvdpau_virtio_gpu package on ppc64le; for some reason this driver doesn't get built on this platform OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1171 --- Mesa.changes | 6 ++++++ Mesa.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/Mesa.changes b/Mesa.changes index 9f9c64d..00c45f7 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 31 10:31:10 UTC 2022 - Stefan Dirsch + +- don't try to generate libvdpau_virtio_gpu package on ppc64le; for + some reason this driver doesn't get built on this platform + ------------------------------------------------------------------- Thu Dec 29 22:21:35 UTC 2022 - Alexei Sorokin diff --git a/Mesa.spec b/Mesa.spec index 2c080c6..d4c7333 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -1077,12 +1077,15 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %endif %if %{vdpau_virtio_gpu} +# for some reason driver doesn't get built on ppc64le +%ifnarch ppc64le %files -n libvdpau_virtio_gpu %{_libdir}/vdpau/libvdpau_virtio_gpu.so %{_libdir}/vdpau/libvdpau_virtio_gpu.so.1 %{_libdir}/vdpau/libvdpau_virtio_gpu.so.1.0 %{_libdir}/vdpau/libvdpau_virtio_gpu.so.1.0.0 %endif +%endif %if "%{flavor}" != "drivers" %files libglapi0