talimat 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Description: Tamamen entegre bir 3B grafik oluşturma paketi
  2. # URL: http://www.blender.org
  3. # Packager: yasarciv67@gmail.com
  4. # Depends on: desktop-file-utils cmake python xorg-libx11 openjpeg libpng freetype boost glew llvm opensubdiv opencolorio openimageio hicolor-icon-theme jack libsndfile openal openexr fftw ffmpeg
  5. name=blender
  6. version=2.78a
  7. release=1
  8. source=(http://download.blender.org/source/blender-$version.tar.gz)
  9. build() {
  10. cd $name-$version
  11. mkdir build
  12. cd build
  13. cmake -C../build_files/cmake/config/blender_full.cmake .. \
  14. -DCMAKE_INSTALL_PREFIX=/usr \
  15. -DCMAKE_BUILD_TYPE=Release \
  16. -DWITH_INSTALL_PORTABLE=OFF \
  17. -DWITH_PYTHON_INSTALL=OFF \
  18. -DWITH_SYSTEM_OPENJPEG=ON \
  19. -DWITH_OPENSUBDIV=ON \
  20. -DWITH_LLVM=ON \
  21. -DWITH_SYSTEM_OPENJPEG=ON \
  22. -DWITH_GL_PROFILE_CORE=OFF \
  23. -DWITH_GL_PROFILE_ES20=OFF \
  24. -DPYTHON_VERSION=3.5 \
  25. -DPYTHON_LIBPATH=/usr/lib \
  26. -DPYTHON_LIBRARY=python3.5m \
  27. -DPYTHON_INCLUDE_DIRS=/usr/include/python3.5m
  28. make
  29. make DESTDIR=$PKG install
  30. python3 -m compileall $PKG/usr/share/blender
  31. python3 -O -m compileall $PKG/usr/share/blender
  32. }