From c92b8a1487ebcf177ab36b315a76797c8a0e6cdb Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Aug 15 2019 03:10:47 +0000 Subject: Set embree dependency to x86_64 architecture --- diff --git a/blender.spec b/blender.spec index a9e5da4..b849be7 100644 --- a/blender.spec +++ b/blender.spec @@ -17,12 +17,12 @@ # Enable this or rebuild the package with "--with=openvdb" to enable OpenVDB # support. -%global _with_openvdb 1 +#%%global _with_openvdb 1 Name: blender Epoch: 1 Version: %{blender_api} -Release: 2%{?dist} +Release: 3%{?dist} Summary: 3D modeling, animation, rendering and post-production License: GPLv2 @@ -87,7 +87,9 @@ BuildRequires: xz-devel #BuildRequires: minizip-compat-devel # 3D modeling stuff +%ifarch x86_64 BuildRequires: embree-devel +%endif BuildRequires: fftw-devel BuildRequires: ftgl-devel BuildRequires: glew-devel @@ -211,7 +213,9 @@ export CXXFLAGS="$CXXFLAGS -mno-altivec" -DWITH_CXX_GUARDEDALLOC=OFF \ -DWITH_CYCLES=%{cyclesflag} \ -DWITH_DOC_MANPAGE=ON \ +%ifarch x86_64 -DWITH_EMBREE=ON \ +%endif -DWITH_FFTW3=ON \ -DWITH_IMAGE_OPENJPEG=ON \ -DWITH_INPUT_NDOF=ON \ @@ -318,6 +322,9 @@ fi %{_fontbasedir}/%{name}/ %changelog +* Wed Aug 14 2019 Luya Tshimbalanga - 1:2.80-3 +- Set embree dependency to x86_64 architecture + * Tue Jul 30 2019 Luya Tshimbalanga - 1:2.80-2 - Enable embree, webp and bzip support - Remove game engine support dropped from upstream