summaryrefslogtreecommitdiff
path: root/libre/blender-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender-libre/PKGBUILD')
-rw-r--r--libre/blender-libre/PKGBUILD155
1 files changed, 40 insertions, 115 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index 95a121a57..441e658a9 100644
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -1,147 +1,68 @@
# $Id$
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
-spacenav=true
-pkgbase=blender-libre
-pkgflag=-libre
-if [ $spacenav == true ]; then
- pkgname=(
- blender-spacenav-libre
- )
- spndesc=' (with spacenav support)'
+_spacenav=false
+_pkgname=blender-libre
+_pkgflag=libre
+if [ $_spacenav == true ]; then
+ pkgname=blender-spacenav-libre
+ _spndesc=' (with spacenav support)'
else
- pkgname=(
- blender-libre
- )
- spndesc=''
+ pkgname=blender-libre
+ _spndesc=''
fi
-pkgdesc="Fully integrated 3D graphics creation suite, without nonfree cuda-toolkit and redcode image format support$spndesc"
-pkgver=2.65a
-pkgrel=1
-pkgaev=6
+epoch=7
+pkgver=2.66a
+_pyver=3.3
+pkgrel=3
+pkgdesc="Fully integrated 3D graphics creation suite, without nonfree povray and cuda support$_spndesc"
arch=(
i686
x86_64
mips64el
)
-license=(
- GPL
-)
-url="http://www.${pkgbase%$pkgflag}.org"
+license=GPL
+url="http://www.${_pkgname%-$_pkgflag}.org"
depends=(
- # used by ldd software "glibc package software"
- # dependencies tree of binaries software (root) #
+ desktop-file-utils
ffmpeg
fftw
freetype2
+ hicolor-icon-theme
jack
libpng
libtiff
openal
openimageio
- opencolorio
- # external softwares dependencies #
opencollada
- # softwares dependencies for desktop files and mime types #
- desktop-file-utils
- hicolor-icon-theme
+ opencolorio
+ openshadinglanguage
shared-mime-info
xdg-utils
- # dependencies tree of binaries software (child) #
- #alsa-lib
- #boost-libs
- #bzip2
- #celt
- #dbus-core
- #flac
- #gcc-libs
- #glew
- #glibc
- #glu
- #gsm
- #icu
- #ilmbase
- #json-c
- #lame
- #libasyncns
- #libdrm
- #libgl
- #libglapi
- #libice
- #libjpeg-turbo
- #libogg
- #libpulse
- #libsndfile
- #libsm
- #libtheora
- #libva
- #libvorbis
- #libvpx
- #libx11
- #libxau
- #libxcb
- #libxdamage
- #libxdmcp
- #libxext
- #libxfixes
- #libxi
- #libxml2
- #libxmu
- #libxt
- #libxxf86vm
- #ocr
- #openexr
- #opencore-amr
- #openjpeg
- #openssl
- #pcre
- #python
- #rtmpdump
- #sdl-libre
- #schroedinger
- #speex
- #util-linux
- #x264
- #xvidcore
- #xz
- #v4l-utils
- #zlib
)
-if [ $spacenav == true ]; then
+if [ $_spacenav == true ]; then
depends+=(
- # dependencies tree of binaries software (root) #
libspnav
)
fi
-optdepends=(
- 'bullet: for Physics Simulation in BGE'
-)
+optdepends='bullet: for Rigid Bodies and Physics Simulation'
makedepends=(
- # make dependencies tree (root) #
boost
cmake
mesa
subversion
)
provides=(
- ${pkgbase%$pkgflag}=$pkgaev:$pkgver
-)
-conflicts=(
- ${pkgbase%$pkgflag}
-)
-replaces=(
- ${pkgbase%$pkgflag}
-)
-install=$pkgbase.install
-source=(
- "http://download.${pkgbase%$pkgflag}.org/source/${pkgbase%$pkgflag}-$pkgver.tar.gz"
-)
-sha512sums=(
- 02d493a7395160047b39dcfb48dbd45c285fbeaec741d4248bef62a8da8743e6bf59bba4ecc401e35c0f21a8db4e883c9b29d620be6c4dd6d4852ae53e7c978f
+ ${_pkgname%-$_pkgflag}=$epoch:$pkgver
)
+conflicts=${_pkgname%-$_pkgflag}
+replaces=${_pkgname%-$_pkgflag}
+install=$_pkgname.install
+source="http://download.${_pkgname%-$_pkgflag}.org/source/${_pkgname%-$_pkgflag}-$pkgver.tar.gz"
+sha512sums=ea5def031daa220991f6165950234b311e8ae3baa6785d6226efefa90b64e1b83e8635f71f9a7fc7ae23923ce313d5ae48ffa0c54cf7ff794a4fb2dacbe8714f
build() {
- cd $srcdir/${pkgbase%$pkgflag}-$pkgver
+ cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver
mkdir build
cd build
@@ -152,18 +73,19 @@ build() {
-DCMAKE_BUILD_TYPE=Release\
-DCMAKE_INSTALL_PREFIX=/usr\
-DOPENIMAGEIO_ROOT_DIR=/usr\
- -DPYTHON_INCLUDE_DIRS=/usr/include/python3.3m\
+ -DPYTHON_INCLUDE_DIRS=/usr/include/python${_pyver}m\
-DPYTHON_LIBPATH=/usr/lib\
- -DPYTHON_LIBRARY=python3.3m\
- -DPYTHON_VERSION=3.3\
+ -DPYTHON_LIBRARY=python${_pyver}m\
+ -DPYTHON_VERSION=${_pyver}\
$DSUPPORT_SSE2_BUILD\
-DWITH_CODEC_FFMPEG=ON\
-DWITH_CODEC_SNDFILE=ON\
-DWITH_CYCLES=ON\
-DWITH_CYCLES_CUDA_BINARIES=OFF\
+ -DWITH_CYCLES_OSL=ON\
-DWITH_FFTW3=ON\
-DWITH_GAMEENGINE=ON\
- -DWITH_IMAGE_REDCODE=OFF\
+ -DWITH_IMAGE_REDCODE=ON\
-DWITH_INSTALL_PORTABLE=OFF\
-DWITH_JACK=ON\
-DWITH_MOD_OCEANSIM=ON\
@@ -173,12 +95,15 @@ build() {
-DWITH_SYSTEM_GLEW=ON
setarch $CARCH make $MAKEFLAGS
-
setarch $CARCH make
}
package() {
- cd $srcdir/${pkgbase%$pkgflag}-$pkgver/build
+ cd $srcdir/${_pkgname%-$_pkgflag}-$pkgver/build
setarch $CARCH make DESTDIR=$pkgdir install
- setarch $CARCH python -m compileall $pkgdir/usr/share/${pkgbase%$pkgflag}
+ setarch $CARCH python -m compileall $pkgdir/usr/share/${_pkgname%-$_pkgflag}
+ # drop nonfree povray render support
+ rm -vrf $pkgdir/usr/share/${_pkgname%-$_pkgflag}/${pkgver::4}/scripts/addons/render_povray
}
+
+# vim:set ts=2 sw=2 et: