40 |
It disables the discrete graphics card if no client is detected, and start |
It disables the discrete graphics card if no client is detected, and start |
41 |
an X server making use of NVIDIA card if requested then let software GL |
an X server making use of NVIDIA card if requested then let software GL |
42 |
implementations (such as VirtualGL or primus) copy frames to the visible |
implementations (such as VirtualGL or primus) copy frames to the visible |
43 |
display that runs on the intergrated graphics. The ability to use discrete |
display that runs on the integrated graphics. The ability to use discrete |
44 |
graphics depends on the driver: open source nouveau and proprietary nvidia. |
graphics depends on the driver: open source nouveau and proprietary nvidia. |
45 |
|
|
46 |
%if "%{?distro_section}" != "nonfree" |
%if "%{?distro_section}" != "nonfree" |
51 |
%config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nouveau |
%config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nouveau |
52 |
%config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nvidia |
%config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nvidia |
53 |
%config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.d/10-dummy.conf |
%config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.d/10-dummy.conf |
54 |
/lib/udev/rules.d/99-bumblebee-nvidia-dev.rules |
%{_usr}/lib/udev/rules.d/99-bumblebee-nvidia-dev.rules |
55 |
/lib/systemd/system/bumblebeed.service |
%{_usr}/lib/systemd/system/bumblebeed.service |
56 |
%{_bindir}/bumblebee-bugreport |
%{_bindir}/bumblebee-bugreport |
57 |
%{_mandir}/man1/bumblebeed.1.* |
%{_mandir}/man1/bumblebeed.1.* |
58 |
%{_mandir}/man1/optirun.1.* |
%{_mandir}/man1/optirun.1.* |
100 |
Requires: x11-driver-video-nouveau |
Requires: x11-driver-video-nouveau |
101 |
Conflicts: %{name}-nvidia |
Conflicts: %{name}-nvidia |
102 |
%endif |
%endif |
103 |
Provides: %{name}-bin |
Provides: %{name}-bin = %{version} |
104 |
|
|
105 |
%description %{driver} |
%description %{driver} |
106 |
Bumblebee configuration files and binaries built against |
Bumblebee configuration files and binaries built against |
142 |
install -D -m755 bin/optirun %{buildroot}%{_bindir}/optirun |
install -D -m755 bin/optirun %{buildroot}%{_bindir}/optirun |
143 |
%else |
%else |
144 |
%makeinstall_std |
%makeinstall_std |
145 |
install -D -m644 scripts/systemd/bumblebeed.service %{buildroot}/lib/systemd/system/bumblebeed.service |
mv %{buildroot}/lib %{buildroot}%{_usr}/lib |
146 |
|
install -D -m644 scripts/systemd/bumblebeed.service %{buildroot}%{_usr}/lib/systemd/system/bumblebeed.service |
147 |
%endif |
%endif |