void-packages/srcpkgs/blender/template

38 lines
1.3 KiB
Text

# Template file for 'blender'
pkgname=blender
version=2.70a
revision=2
wrksrc="${pkgname}-v${version}"
hostmakedepends="cmake"
# XXX missing deps: openexr, openimageio, opencolorio
makedepends="libgomp-devel libpng-devel tiff-devel python3.4-devel glu-devel
glew-devel freetype-devel jack-devel libopenal-devel libsndfile-devel
libsamplerate-devel ffmpeg-devel fftw-devel boost-devel llvm pcre-devel
desktop-file-utils hicolor-icon-theme"
depends="desktop-file-utils hicolor-icon-theme"
build_style="cmake"
maintainer="Enno Boland <eb@s01.de>"
license="GPL"
homepage="http://blender.org"
#distfiles="http://download.blender.org/source/$pkgname-$version.tar.gz"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/blender/blender-${version}.tar.gz/12858464ee9347d9883982973b1689d9/blender-${version}.tar.gz"
checksum=eb2d82e4bace4028e05eef2ac9799104231eafd91f1500b91c32471bac8cf3e5
short_desc="3D graphics creation suite"
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
-DPYTHON_VERSION=3.4
-DPYTHON_LIBPATH=/usr/lib
-DPYTHON_LIBRARY=python3.4m
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.4m"