2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Tamamen entegre bir 3B grafik oluşturma paketi
|
2017-05-02 23:36:06 +02:00
|
|
|
|
# URL: http://www.blender.org
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: yasarciv67@gmail.com
|
|
|
|
|
# Gerekler: 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
|
2017-05-02 23:36:06 +02:00
|
|
|
|
|
|
|
|
|
name=blender
|
|
|
|
|
version=2.78a
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://download.blender.org/source/blender-$version.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-05-07 21:31:50 +02:00
|
|
|
|
cd $name-$version
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake -C../build_files/cmake/config/blender_full.cmake .. \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
|
-DWITH_INSTALL_PORTABLE=OFF \
|
|
|
|
|
-DWITH_PYTHON_INSTALL=OFF \
|
|
|
|
|
-DWITH_SYSTEM_OPENJPEG=ON \
|
|
|
|
|
-DWITH_OPENSUBDIV=ON \
|
|
|
|
|
-DWITH_LLVM=ON \
|
|
|
|
|
-DWITH_SYSTEM_OPENJPEG=ON \
|
|
|
|
|
-DWITH_GL_PROFILE_CORE=OFF \
|
|
|
|
|
-DWITH_GL_PROFILE_ES20=OFF \
|
|
|
|
|
-DPYTHON_VERSION=3.5 \
|
|
|
|
|
-DPYTHON_LIBPATH=/usr/lib \
|
|
|
|
|
-DPYTHON_LIBRARY=python3.5m \
|
|
|
|
|
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.5m
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
python3 -m compileall $PKG/usr/share/blender
|
|
|
|
|
python3 -O -m compileall $PKG/usr/share/blender
|
2017-05-02 23:36:06 +02:00
|
|
|
|
}
|