milis/talimatname/genel/b/blender/talimat

36 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Tamamen entegre bir 3B grafik oluşturma paketi
# URL: http://www.blender.org
# Paketçi: milisarge
# Gerekler: desktop-file-utils cmake python3 xorg-libx11 openjpeg libpng freetype boost glew llvm opensubdiv opencolorio openimageio hicolor-icon-theme jack libsndfile openal openexr fftw ffmpeg
# Grup: tasarım
isim=blender
surum=2.79b
devir=1
kaynak=(http://download.blender.org/source/blender-$surum.tar.gz)
derle() {
cd $isim-$surum
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.7 \
-DPYTHON_LIBPATH=/usr/lib \
-DPYTHON_LIBRARY="$(basename `ls -d /usr/lib/python3* | tail -n 1`)"m \
-DPYTHON_INCLUDE_DIRS=/usr/include/"$(basename `ls -d /usr/lib/python3* | tail -n 1`)"m
make
make DESTDIR=$PKG install
python3 -m compileall $PKG/usr/share/blender
python3 -O -m compileall $PKG/usr/share/blender
}