summaryrefslogtreecommitdiff
path: root/libre/blender/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-06 18:03:08 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-06 18:03:08 -0200
commit9e0993e99624a30989474c7fe6b0025c1c9aa588 (patch)
treee2e5f1e40a6ac66efa7d253863c626acd2eb1a85 /libre/blender/PKGBUILD
parentc42234472fe887e997f5e02afcf75c731d45b8a2 (diff)
blender: fixing PKGBUILD
Diffstat (limited to 'libre/blender/PKGBUILD')
-rw-r--r--libre/blender/PKGBUILD34
1 files changed, 15 insertions, 19 deletions
diff --git a/libre/blender/PKGBUILD b/libre/blender/PKGBUILD
index a857ad65b..4b0ca4104 100644
--- a/libre/blender/PKGBUILD
+++ b/libre/blender/PKGBUILD
@@ -36,9 +36,9 @@ pkgdesc='Fully integrated 3D graphics creation suite, without nonfree cuda suppo
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.$pkgbase.org"
-depends=('boost-libs' 'desktop-file-utils' 'ffmpeg' 'fftw' 'freetype2' 'glew'
- 'hicolor-icon-theme' 'jack' 'libpng' 'libsndfile' 'libspnav' 'libtiff'
- 'openal' 'opencolorio' 'opencollada' 'openexr' 'openimageio'
+depends=('boost-libs' 'desktop-file-utils' 'ffmpeg' 'fftw' 'freeglut' 'freetype2'
+ 'glew' 'hicolor-icon-theme' 'jack' 'libpng' 'libsndfile' 'libspnav'
+ 'libtiff' 'openal' 'opencolorio' 'opencollada' 'openexr' 'openimageio'
'openshadinglanguage' 'python' 'shared-mime-info' 'xdg-utils')
makedepends=('boost' 'cmake' 'git' 'llvm') # 'bullet' (boost: for cycles, booleans, audaspace and/or i18n)
optdepends=('bullet: for Rigid Bodies and Physics Simulation'
@@ -121,8 +121,8 @@ build() {
-DPYTHON_LIBPATH=/usr/lib \
-DPYTHON_LIBRARY=python${_pyver}m \
-DPYTHON_VERSION=$_pyver \
- -DSUPPORT_SSE_BUILD=ON \
- -DSUPPORT_SSE2_BUILD=ON \
+ -DSUPPORT_SSE_BUILD=$_SSE \
+ -DSUPPORT_SSE2_BUILD=$_SSE2 \
-DWITH_AUDASPACE=ON \
-DWITH_ASSERT_ABORT=OFF \
-DWITH_BLENDER=ON \
@@ -137,15 +137,13 @@ build() {
-DWITH_CXX_GUARDEDALLOC=OFF \
-DWITH_CYCLES=ON \
-DWITH_CYCLES_CUDA_BINARIES=OFF \
- -DWITH_CYCLES_DEBUG=OFF \
- -DWITH_CYCLES_LOGGING=OFF \
-DWITH_CYCLES_OSL=ON \
-DWITH_CYCLES_STANDALONE=ON \
-DWITH_CYCLES_STANDALONE_GUI=ON \
-DWITH_FFTW3=ON \
-DWITH_FREESTYLE=ON \
-DWITH_GAMEENGINE=ON \
- -DWITH_GCC_MUDFLAP=ON \
+ -DWITH_GCC_MUDFLAP=OFF \
-DWITH_GHOST_DEBUG=OFF \
-DWITH_GHOST_SDL=OFF \
-DWITH_GHOST_XDND=ON \
@@ -167,7 +165,6 @@ build() {
-DWITH_JACK=ON \
-DWITH_JACK_DYNLOAD=ON \
-DWITH_LIBMV=OFF \
- -DWITH_LIBMV_SCHUR_SPECIALIZATIONS=OFF \
-DWITH_LLVM=ON \
-DWITH_LZMA=ON \
-DWITH_LZO=ON \
@@ -188,7 +185,7 @@ build() {
-DWITH_PYTHON=ON \
-DWITH_PYTHON_INSTALL=OFF \
-DWITH_PYTHON_INSTALL_NUMPY=OFF \
- -DWITH_PYTHON_INSTALL_REQUESTS=ON \
+ -DWITH_PYTHON_INSTALL_REQUESTS=OFF \
-DWITH_PYTHON_MODULE=OFF \
-DWITH_PYTHON_SAFETY=OFF \
-DWITH_PYTHON_SECURITY=ON \
@@ -204,9 +201,6 @@ build() {
# for future blender
#-DWITH_MOD_CLOTH_ELTOPO=ON\
- #-DSUPPORT_SSE_BUILD=$_SSE \
- #-DSUPPORT_SSE2_BUILD=$_SSE2 \
-
# Note: Fix for gcc 4.9 :/
# -DCMAKE_C_FLAGS_RELEASE="-fno-delete-null-pointer-checks -DNDEBUG"
# -DCMAKE_CXX_FLAGS_RELEASE="-fno-delete-null-pointer-checks -DNDEBUG"
@@ -222,11 +216,13 @@ package_blender() {
python -O -m compileall $pkgdir/usr/share/$pkgbase
msg 'move io_import_gimp_image_to_scene.py and render_povray to blender-addon-gimp and blender-addon-povray'
+ [[ -d $srcdir/$pkgbase-addon-gimp ]] && rm -vr $srcdir/$pkgbase-addon-gimp
+ [[ -d $srcdir/$pkgbase-addon-povray ]] && rm -vr $srcdir/$pkgbase-addon-povray
install -vm755 -d $srcdir/$pkgbase-addon-{gimp,povray}/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons
- install -vm644 $pkgdir/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons/io_import_gimp_image_to_scene.py \
- $srcdir/$pkgbase-addon-gimp/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons
- install -vm644 $pkgdir/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons/render_povray \
- $srcdir/$pkgbase-addon-povray/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons
+ mv -v $pkgdir/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons/io_import_gimp_image_to_scene.py \
+ $srcdir/$pkgbase-addon-gimp/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons
+ mv -v $pkgdir/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons/render_povray \
+ $srcdir/$pkgbase-addon-povray/usr/share/$pkgbase/${_pkgver%[a-z]}/scripts/addons
}
package_blender-addon-gimp() {
@@ -241,7 +237,7 @@ package_blender-addon-gimp() {
options=()
install=
- install -vm644 $srcdir/$pkgbase-addon-gimp/usr $pkgdir
+ mv -v $srcdir/$pkgbase-addon-gimp/usr $pkgdir
}
package_blender-addon-povray() {
@@ -256,5 +252,5 @@ package_blender-addon-povray() {
options=()
install=
- install -vm644 $srcdir/$pkgbase-addon-povray/usr $pkgdir
+ mv -v $srcdir/$pkgbase-addon-povray/usr $pkgdir
}