void-packages/srcpkgs/blender/template
Alessio Sergi 60896a8d86 blender: remove build option
Just do not use jemalloc with musl.
2017-03-14 14:34:35 +01:00

51 lines
1.5 KiB
Bash

# Template file for 'blender'
pkgname=blender
version=2.78c
revision=2
build_style="cmake"
makedepends="
libgomp-devel libpng-devel tiff-devel python3-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 opencollada-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="3D graphics creation suite"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://blender.org"
distfiles="http://download.blender.org/source/${pkgname}-${version}.tar.gz"
checksum=64a98ff30300f79385ddb9ad016aa790a92720ff2feb84ddb1d097e6531dd338
patch_args="-Np1"
pycompile_version="$py3_ver"
pycompile_dirs="/usr/share/blender/$version/scripts"
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
-DWITH_OPENCOLLADA=ON
-DPYTHON_VERSION=$py3_ver
-DPYTHON_LIBPATH=/usr/lib
-DPYTHON_LIBRARY='python${py3_ver}m'
-DPYTHON_INCLUDE_DIRS=$py3_inc"
case "$XBPS_TARGET_MACHINE" in
*-musl) # crashes at startup in jemallocs free()
;;
*) makedepends+=" jemalloc-devel"
;;
esac