25 |
Requires(post): systemd-units |
Requires(post): systemd-units |
26 |
Requires(preun):systemd-units |
Requires(preun):systemd-units |
27 |
Requires: %{name}-bin |
Requires: %{name}-bin |
28 |
# Default bumblebee bridge for general use (primus is an alternative bridge, designed for gaming performance) |
# VirtualGl is the default bridge for upstream, the alternative being primus |
29 |
Requires: virtualgl |
# As of now (3.2.1-5) primus shows better performances and compability, so we use it as default |
30 |
Requires: %mklibname virtualgl |
Suggests: virtualgl |
31 |
|
Suggests: %mklibname virtualgl |
32 |
Requires: kmod(bbswitch) |
Requires: kmod(bbswitch) |
33 |
|
|
34 |
%description |
%description |
95 |
Requires: %{name} = %{version} |
Requires: %{name} = %{version} |
96 |
%if "%{?distro_section}" == "nonfree" |
%if "%{?distro_section}" == "nonfree" |
97 |
Requires: nvidia |
Requires: nvidia |
98 |
Suggests: primus-nvidia |
Requires: primus-nvidia |
99 |
Conflicts: %{name}-nouveau |
Conflicts: %{name}-nouveau |
100 |
%else |
%else |
101 |
Requires: x11-driver-video-nouveau |
Requires: x11-driver-video-nouveau |
102 |
Suggests: primus-nouveau |
Requires: primus-nouveau |
103 |
Conflicts: %{name}-nvidia |
Conflicts: %{name}-nvidia |
104 |
%endif |
%endif |
105 |
Provides: %{name}-bin = %{version} |
Provides: %{name}-bin = %{version} |
119 |
|
|
120 |
%build |
%build |
121 |
%configure2_5x --with-udev-rules=%{_udevrulesdir} \ |
%configure2_5x --with-udev-rules=%{_udevrulesdir} \ |
122 |
|
CONF_BRIDGE=primus \ |
123 |
%if "%{?distro_section}" == "nonfree" |
%if "%{?distro_section}" == "nonfree" |
124 |
CONF_DRIVER=nvidia \ |
CONF_DRIVER=nvidia \ |
125 |
CONF_DRIVER_MODULE_NVIDIA=nvidia-current \ |
CONF_DRIVER_MODULE_NVIDIA=nvidia-current \ |