]> git.pld-linux.org Git - packages/Mesa.git/commitdiff
tegra requires nouveau
authorJan Palus <atler@pld-linux.org>
Wed, 29 Apr 2020 15:57:42 +0000 (15:57 +0000)
committerJan Palus <atler@pld-linux.org>
Wed, 29 Apr 2020 16:44:02 +0000 (16:44 +0000)
Mesa.spec

index bb11c9d7f5e5495cc8cea0381c8eb3d990925631..83e9af2a1bc3d7389004269192403192629e440a 100644 (file)
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -1398,7 +1398,7 @@ freedreno \
 kmsro \
 lima \
 panfrost \
-tegra \
+%{?with_gallium_nouveau:tegra} \
 v3d \
 vc4 \
 %endif
@@ -1783,9 +1783,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/panfrost_dri.so
 
+%if %{with gallium_nouveau}
 %files dri-driver-tegra
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/xorg/modules/dri/tegra_dri.so
+%endif
 
 %files dri-driver-v3d
 %defattr(644,root,root,755)
This page took 0.121477 seconds and 4 git commands to generate.