47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
|
# Description: NVIDIA VirtualGL destek uygulaması
|
|||
|
# URL: http://www.bumblebee-project.org
|
|||
|
# Packager: milisarge
|
|||
|
# Depends on: virtualgl glib
|
|||
|
|
|||
|
name=bumblebee
|
|||
|
version=3.2.1
|
|||
|
release=1
|
|||
|
source=(
|
|||
|
http://www.bumblebee-project.org/bumblebee-$version.tar.gz
|
|||
|
0001-bb_nvidia_modeset-detection_bug699_01.patch
|
|||
|
0002-bb_nvidia_modeset-detection_bug699_02.patch
|
|||
|
0003-bb_nvidia_umv_detection_bug699.patch
|
|||
|
0004-bb_nvidia_drm_detection_bug699_01.patch
|
|||
|
0005-bb_nvidia_drm_detection_bug699_02.patch
|
|||
|
0006-bb_hexadicimal_bug573.patch
|
|||
|
0007-bb_mutebblogger.patch
|
|||
|
bumblebee.conf
|
|||
|
bumblebeed
|
|||
|
)
|
|||
|
|
|||
|
build() {
|
|||
|
cd $name-$version
|
|||
|
|
|||
|
for p in $SRC/*.patch; do
|
|||
|
patch -p1 < $p
|
|||
|
done
|
|||
|
|
|||
|
./configure \
|
|||
|
CONF_DRIVER_MODULE_NVIDIA=nvidia \
|
|||
|
CONF_LDPATH_NVIDIA=/usr/lib/nvidia:/usr/lib32/nvidia \
|
|||
|
CONF_MODPATH_NVIDIA=/usr/lib/xorg/nvidia/modules/drivers/,/usr/lib/xorg/nvidia/modules,/usr/lib/xorg/modules,/usr/lib/xorg/modules/drivers \
|
|||
|
--prefix=/usr \
|
|||
|
--without-pidfile
|
|||
|
|
|||
|
make
|
|||
|
make DESTDIR=$PKG install
|
|||
|
|
|||
|
install -Dm755 $SRC/bumblebeed $PKG/etc/rc.d/init.d/bumblebeed
|
|||
|
|
|||
|
# Blacklist nvidia and nouveau modules
|
|||
|
# Reference: https://github.com/Bumblebee-Project/Bumblebee/issues/719
|
|||
|
install -Dm644 $SRC/bumblebee.conf $PKG/usr/lib/modprobe.d/bumblebee.conf
|
|||
|
|
|||
|
rm -r $PKG/usr/share/doc
|
|||
|
}
|