2014-03-23 08:29:27 +00:00
|
|
|
# Template file for 'blender'
|
|
|
|
pkgname=blender
|
2014-06-29 09:11:38 +00:00
|
|
|
version=2.71
|
|
|
|
revision=1
|
2014-03-23 08:29:27 +00:00
|
|
|
hostmakedepends="cmake"
|
2014-03-23 09:19:18 +00:00
|
|
|
# XXX missing deps: openexr, openimageio, opencolorio
|
2014-06-18 08:48:06 +00:00
|
|
|
makedepends="libgomp-devel libpng-devel tiff-devel python3.4-devel glu-devel
|
2014-03-23 08:29:27 +00:00
|
|
|
glew-devel freetype-devel jack-devel libopenal-devel libsndfile-devel
|
2014-03-23 09:19:18 +00:00
|
|
|
libsamplerate-devel ffmpeg-devel fftw-devel boost-devel llvm pcre-devel
|
|
|
|
desktop-file-utils hicolor-icon-theme"
|
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
2014-03-23 08:29:27 +00:00
|
|
|
build_style="cmake"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="GPL"
|
|
|
|
homepage="http://blender.org"
|
2014-06-29 09:15:52 +00:00
|
|
|
distfiles="http://download.blender.org/source/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=7daa7f8ce1df495ad20843aa86bc5268179085ec2963655c358b65a2b365ffa2
|
2014-03-23 08:29:27 +00:00
|
|
|
short_desc="3D graphics creation suite"
|
2014-03-23 09:19:18 +00:00
|
|
|
configure_args="
|
|
|
|
-DWITH_INSTALL_PORTABLE=OFF
|
|
|
|
-DWITH_PYTHON_INSTALL=OFF
|
|
|
|
-DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2
|
|
|
|
-DWITH_GAMEENGINE=ON
|
|
|
|
-DWITH_JACK=ON
|
|
|
|
-DWITH_PLAYER=ON
|
|
|
|
-DWITH_CODEC_FFMPEG=ON
|
|
|
|
-DWITH_CODEC_SNDFILE=ON
|
|
|
|
-DWITH_OPENMP=ON
|
|
|
|
-DWITH_FFTW3=ON
|
|
|
|
-DWITH_MOD_OCEANSIM=ON
|
|
|
|
-DWITH_CYCLES=OFF
|
|
|
|
-DWITH_IMAGE_OPENEXR=OFF
|
2014-06-18 08:48:06 +00:00
|
|
|
-DPYTHON_VERSION=3.4
|
2014-03-23 09:19:18 +00:00
|
|
|
-DPYTHON_LIBPATH=/usr/lib
|
2014-06-18 08:48:06 +00:00
|
|
|
-DPYTHON_LIBRARY=python3.4m
|
|
|
|
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.4m"
|
2014-06-29 09:11:38 +00:00
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
# XXX fails to generate blender.1 properly
|
|
|
|
python3 ${wrksrc}/doc/manpage/blender.1.py ${wrksrc}/build/bin/blender ${wrksrc}/build/bin/blender.1
|
|
|
|
}
|