void-packages/srcpkgs/blender/template
2015-10-12 09:44:09 +02:00

43 lines
1.4 KiB
Bash

# Template file for 'blender'
pkgname=blender
version=2.76
revision=1
hostmakedepends="cmake"
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 pcre-devel llvm
libopenexr-devel libopenjpeg-devel libXi-devel openimageio-devel
opencolorio-devel jemalloc-devel"
depends="desktop-file-utils hicolor-icon-theme"
build_style="cmake"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://blender.org"
distfiles="http://download.blender.org/source/${pkgname}-${version}.tar.gz"
checksum=5b99649a89bdcd53bef8e668fbf2be5b3e9611f52f9e9c5f7e7c814c778e5835
short_desc="3D graphics creation suite"
only_for_archs="x86_64 x86_64-musl i686 i686-musl"
configure_args="
-DWITH_INSTALL_PORTABLE=OFF
-DWITH_PYTHON_INSTALL=OFF
-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=ON
-DWITH_OPENCOLORIO=ON
-DWITH_IMAGE_OPENEXR=ON
-DWITH_IMAGE_OPENJPEG=ON
-DPYTHON_VERSION=3.4
-DPYTHON_LIBPATH=/usr/lib
-DPYTHON_LIBRARY=python3.4m
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.4m"
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="http://build.voidlinux.eu/builders/x86_64-musl_builder/builds/3998/steps/shell_3/logs/stdio";;
esac