2014-04-14 09:27:14 +08:00
|
|
|
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
2014-04-01 07:04:54 +08:00
|
|
|
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com
|
2010-07-05 08:03:22 +08:00
|
|
|
|
|
|
|
pkgname=blender
|
2014-04-14 09:27:14 +08:00
|
|
|
pkgver=2.70a
|
2014-03-31 05:06:25 +08:00
|
|
|
pkgrel=1
|
2014-04-14 09:27:14 +08:00
|
|
|
epoch=1
|
2011-04-29 09:20:25 +08:00
|
|
|
pkgdesc="A fully integrated 3D graphics creation suite"
|
2012-12-22 01:58:19 +08:00
|
|
|
arch=('x86_64')
|
2010-07-05 08:03:22 +08:00
|
|
|
license=('GPL')
|
2011-04-29 09:20:25 +08:00
|
|
|
url="http://www.blender.org"
|
2014-04-01 07:04:54 +08:00
|
|
|
depends=('libpng' 'libtiff' 'openexr' 'sdl' 'python3' 'desktop-file-utils' 'shared-mime-info'
|
|
|
|
'hicolor-icon-theme' 'xdg-utils' 'glew' 'freetype2' 'jack' 'openal' 'libsndfile'
|
|
|
|
'libsamplerate' 'ffmpeg' 'fftw' 'openimageio' 'boost-libs' 'opencollada' 'opencolorio' 'llvm' 'pcre' 'libbluray')
|
2013-03-06 02:58:56 +08:00
|
|
|
makedepends=('cmake' 'boost' 'mesa' 'subversion')
|
2014-04-01 07:04:54 +08:00
|
|
|
screenshot=('http://www.blender.org/index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2Fblender_screenshot3_03.png&width=800m&height=600m&bodyTag=%3Cbody%20style%3D%22margin%3A0%3B%20background%3A%23fff%3B%22%3E&wrap=%3Ca%20href%3D%22javascript%3Aclose%28%29%3B%22%3E%20%7C%20%3C%2Fa%3E&md5=cddc8ef0fbe1e90d0d22e78b4911860b')
|
2010-07-05 08:03:22 +08:00
|
|
|
install=blender.install
|
2013-07-27 18:39:30 +08:00
|
|
|
source=("http://download.blender.org/source/$pkgname-$pkgver.tar.gz")
|
2014-04-14 09:27:14 +08:00
|
|
|
sha1sums=('44c597285972a6042f50b6709b6640d688a878d2')
|
2010-07-05 08:03:22 +08:00
|
|
|
|
|
|
|
build() {
|
2014-04-14 09:27:14 +08:00
|
|
|
cd "$srcdir/$pkgname-v$pkgver"
|
2011-07-09 12:40:32 +08:00
|
|
|
|
2013-03-05 11:35:48 +08:00
|
|
|
mkdir -p build
|
2011-04-29 09:20:25 +08:00
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake .. \
|
2013-07-27 18:39:30 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DWITH_INSTALL_PORTABLE=OFF \
|
|
|
|
-DWITH_PYTHON_INSTALL=OFF \
|
|
|
|
-DWITH_OPENCOLLADA=ON \
|
|
|
|
-DOPENIMAGEIO_ROOT_DIR=/usr \
|
|
|
|
-DWITH_GAMEENGINE=ON \
|
|
|
|
-DWITH_JACK=ON \
|
|
|
|
-DWITH_PLAYER=ON \
|
|
|
|
-DWITH_CODEC_FFMPEG=ON \
|
|
|
|
-DWITH_CODEC_SNDFILE=ON \
|
|
|
|
-DWITH_CYCLES=ON \
|
|
|
|
-DWITH_FFTW3=ON \
|
|
|
|
-DWITH_MOD_OCEANSIM=ON \
|
|
|
|
-DPYTHON_VERSION=3.3 \
|
|
|
|
-DPYTHON_LIBPATH=/usr/lib \
|
|
|
|
-DPYTHON_LIBRARY=python3.3m \
|
2014-03-31 05:06:25 +08:00
|
|
|
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.3m
|
2011-04-29 09:20:25 +08:00
|
|
|
|
|
|
|
make
|
2010-07-05 08:03:22 +08:00
|
|
|
}
|
|
|
|
|
2011-04-29 09:20:25 +08:00
|
|
|
package() {
|
2014-04-14 09:27:14 +08:00
|
|
|
cd "$srcdir/$pkgname-v$pkgver/build"
|
2013-07-27 18:39:30 +08:00
|
|
|
|
2011-04-29 09:20:25 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2011-04-30 06:26:06 +08:00
|
|
|
python3 -m compileall "${pkgdir}/usr/share/blender"
|
2011-12-14 13:27:15 +08:00
|
|
|
}
|
2014-04-14 09:27:14 +08:00
|
|
|
|