talimat 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Tanım: NVIDIA VirtualGL destek uygulaması
  2. # URL: http://www.bumblebee-project.org
  3. # Paketçi: milisarge
  4. # Gerekler: virtualgl glib
  5. # Grup: sistem sürücü
  6. isim=bumblebee
  7. surum=3.2.1
  8. devir=1
  9. kaynak=(
  10. http://www.bumblebee-project.org/bumblebee-$surum.tar.gz
  11. 0001-bb_nvidia_modeset-detection_bug699_01.patch
  12. 0002-bb_nvidia_modeset-detection_bug699_02.patch
  13. 0003-bb_nvidia_umv_detection_bug699.patch
  14. 0004-bb_nvidia_drm_detection_bug699_01.patch
  15. 0005-bb_nvidia_drm_detection_bug699_02.patch
  16. 0006-bb_hexadicimal_bug573.patch
  17. 0007-bb_mutebblogger.patch
  18. bumblebee.conf
  19. bumblebeed
  20. )
  21. derle() {
  22. cd $isim-$surum
  23. for p in $SRC/*.patch; do
  24. patch -p1 < $p
  25. done
  26. ./configure \
  27. CONF_DRIVER_MODULE_NVIDIA=nvidia \
  28. CONF_LDPATH_NVIDIA=/usr/lib/nvidia:/usr/lib32/nvidia \
  29. CONF_MODPATH_NVIDIA=/usr/lib/xorg/nvidia/modules/drivers/,/usr/lib/xorg/nvidia/modules,/usr/lib/xorg/modules,/usr/lib/xorg/modules/drivers \
  30. --prefix=/usr \
  31. --without-pidfile
  32. make
  33. make DESTDIR=$PKG install
  34. install -Dm755 $SRC/bumblebeed $PKG/etc/rc.d/init.d/bumblebeed
  35. # Blacklist nvidia and nouveau modules
  36. # Reference: https://github.com/Bumblebee-Project/Bumblebee/issues/719
  37. install -Dm644 $SRC/bumblebee.conf $PKG/usr/lib/modprobe.d/bumblebee.conf
  38. rm -r $PKG/usr/share/doc
  39. }