28 |
# Default bumblebee bridge for general use (primus is an alternative bridge, designed for gaming performance) |
# Default bumblebee bridge for general use (primus is an alternative bridge, designed for gaming performance) |
29 |
Requires: virtualgl |
Requires: virtualgl |
30 |
Requires: %mklibname virtualgl |
Requires: %mklibname virtualgl |
|
# Suggests: primus |
|
31 |
Requires: kmod(bbswitch) |
Requires: kmod(bbswitch) |
32 |
|
|
33 |
%description |
%description |
94 |
Requires: %{name} = %{version} |
Requires: %{name} = %{version} |
95 |
%if "%{?distro_section}" == "nonfree" |
%if "%{?distro_section}" == "nonfree" |
96 |
Requires: nvidia |
Requires: nvidia |
97 |
|
Suggests: primus-nvidia |
98 |
Conflicts: %{name}-nouveau |
Conflicts: %{name}-nouveau |
99 |
%else |
%else |
100 |
Requires: x11-driver-video-nouveau |
Requires: x11-driver-video-nouveau |
101 |
|
Suggests: primus-nouveau |
102 |
Conflicts: %{name}-nvidia |
Conflicts: %{name}-nvidia |
103 |
%endif |
%endif |
104 |
Provides: %{name}-bin = %{version} |
Provides: %{name}-bin = %{version} |
127 |
%ifarch x86_64 |
%ifarch x86_64 |
128 |
CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current:%{_usr}/lib/nvidia-current \ |
CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current:%{_usr}/lib/nvidia-current \ |
129 |
CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_usr}/lib/nvidia-current/xorg,%{_libdir}/xorg/modules,%{_usr}/lib/xorg/modules,%{_libdir}/xorg/extra-modules,%{_usr}/lib/xorg/extra-modules \ |
CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_usr}/lib/nvidia-current/xorg,%{_libdir}/xorg/modules,%{_usr}/lib/xorg/modules,%{_libdir}/xorg/extra-modules,%{_usr}/lib/xorg/extra-modules \ |
130 |
# CONF_PRIMUS_LD_PATH=%%{_libdir}/primus:%%{_usr}/lib/primus |
CONF_PRIMUS_LD_PATH=%{_libdir}/primus:%{_usr}/lib/primus |
131 |
%else |
%else |
132 |
CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current \ |
CONF_LDPATH_NVIDIA=%{_libdir}/nvidia-current \ |
133 |
CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_libdir}/xorg/modules,%{_libdir}/xorg/extra-modules |
CONF_MODPATH_NVIDIA=%{_libdir}/nvidia-current/xorg,%{_libdir}/xorg/modules,%{_libdir}/xorg/extra-modules |
134 |
# CONF_PRIMUS_LD_PATH=%%{_libdir}/primus |
CONF_PRIMUS_LD_PATH=%{_libdir}/primus |
135 |
%endif |
%endif |
136 |
|
|
137 |
%make CFLAGS="%{optflags}" |
%make CFLAGS="%{optflags}" |