20 |
%if !%simple |
%if !%simple |
21 |
# When updating, please add new ids to ldetect-lst (merge2pcitable.pl) |
# When updating, please add new ids to ldetect-lst (merge2pcitable.pl) |
22 |
%define version 367.27 |
%define version 367.27 |
23 |
%define rel 2 |
%define rel 3 |
24 |
# the highest supported videodrv abi |
# the highest supported videodrv abi |
25 |
%define videodrv_abi 20 |
%define videodrv_abi 20 |
26 |
%endif |
%endif |
127 |
Source10: nvidia-mgabuild-skel |
Source10: nvidia-mgabuild-skel |
128 |
# include xf86vmproto for X_XF86VidModeGetGammaRampSize, fixes build on cooker |
# include xf86vmproto for X_XF86VidModeGetGammaRampSize, fixes build on cooker |
129 |
Patch3: nvidia-settings-include-xf86vmproto.patch |
Patch3: nvidia-settings-include-xf86vmproto.patch |
130 |
|
# (tmb) fix build with kernel 4.7 series |
131 |
|
Patch4: NVIDIA-Linux-x86_64-367.27-uvm-radix_tree_empty-redefine.patch |
132 |
|
Patch5: NVIDIA-Linux-x86_64-367.27-drm_gem_object_lookup-fix.patch |
133 |
%endif |
%endif |
134 |
|
|
135 |
License: Freeware |
License: Freeware |
258 |
%endif |
%endif |
259 |
sh %{nsource} --extract-only |
sh %{nsource} --extract-only |
260 |
|
|
261 |
#if !%simple |
%if !%simple |
262 |
#cd %{pkgname} |
cd %{pkgname} |
263 |
#cd .. |
%ifarch x86_64 |
264 |
#endif |
%patch4 -p1 |
265 |
|
%endif |
266 |
|
%patch5 -p1 |
267 |
|
cd .. |
268 |
|
%endif |
269 |
|
|
270 |
rm -rf %{pkgname}/usr/src/nv/precompiled |
rm -rf %{pkgname}/usr/src/nv/precompiled |
271 |
|
|