Summary(pl.UTF-8): Pakiet do tworzenia animacji 3D oraz gier
Name: blender
Version: 2.82a
-Release: 1
+Release: 2
License: GPL
Group: X11/Applications/Graphics
Source0: http://download.blender.org/source/%{name}-%{version}.tar.xz
# Source0-md5: 3e9d669185b83d5d2cb1b38dcf64d5ec
Patch0: %{name}-2.76-droid.patch
Patch1: format-security.patch
-Patch3: struct-alignment.patch
URL: http://www.blender.org/
BuildRequires: OpenAL-devel
BuildRequires: OpenColorIO-devel
%setup -q
%patch0 -p1
%patch1 -p1
-%ifarch x32
-%patch3 -p1
-%endif
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python3}\1,' -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
release/bin/blender-thumbnailer.py \
+++ /dev/null
---- blender-2.81a/source/blender/makesdna/DNA_gpencil_types.h~ 2019-12-14 15:25:53.000000000 +0100
-+++ blender-2.81a/source/blender/makesdna/DNA_gpencil_types.h 2019-12-14 15:25:55.905953908 +0100
-@@ -223,7 +223,6 @@
-
- /** Vertex weight data. */
- struct MDeformVert *dvert;
-- void *_pad3;
-
- bGPDstroke_Runtime runtime;
- } bGPDstroke;
---- blender-2.81a/source/blender/makesdna/DNA_view3d_types.h~ 2019-12-14 15:41:30.000000000 +0100
-+++ blender-2.81a/source/blender/makesdna/DNA_view3d_types.h 2019-12-14 15:42:53.605920053 +0100
-@@ -180,6 +180,7 @@
- float curvature_valley_factor;
-
- struct IDProperty *prop;
-+ void *_pad99;
- } View3DShading;
-
- /** 3D Viewport Overlay settings. */