diff --git a/common/shlibs b/common/shlibs index 23d0a6a3c8ecb3..dc25201b0ea7d4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3745,3 +3745,4 @@ libigdgmm.so.11 intel-gmmlib-19.4.1_1 libgtk-layer-shell.so.0 wf-shell-0.3_1 librdkafka.so.1 librdkafka-1.3.0_1 librdkafka++.so.1 librdkafka-1.3.0_1 +libPtex.so ptex-2.3.2_1 diff --git a/srcpkgs/blender/patches/blender-2.78a-musl.patch b/srcpkgs/blender/patches/blender-2.78a-musl.patch index bddae1f8d3c39f..ebf55e5f316817 100644 --- a/srcpkgs/blender/patches/blender-2.78a-musl.patch +++ b/srcpkgs/blender/patches/blender-2.78a-musl.patch @@ -1,24 +1,23 @@ -diff -ru blender-2.78.orig/CMakeLists.txt blender-2.78a/CMakeLists.txt ---- blender-2.78.orig/CMakeLists.txt 2016-10-25 12:09:56.000000000 +0000 -+++ blender-2.78a/CMakeLists.txt 2017-02-07 14:50:03.967828817 +0000 -@@ -181,6 +181,18 @@ - set(_init_SDL OFF) - set(_init_FFTW3 OFF) - set(_init_OPENSUBDIV OFF) -+ # musl-libc related checks (missing execinfo.h, and feenableexcept()) -+ include(CheckIncludeFiles) -+ check_include_files(execinfo.h HAVE_EXECINFO_H) -+ if (HAVE_EXECINFO_H) -+ add_definitions(-DHAVE_EXECINFO_H) -+ endif() +--- a/CMakeLists.txt 2019-12-04 12:00:31.000000000 +0100 ++++ - 2020-01-26 14:37:19.575701782 +0100 +@@ -185,6 +185,18 @@ + set(_init_OPENSUBDIV OFF) + set(_init_OPENVDB OFF) + set(_init_OPENIMAGEDENOISE OFF) ++ # musl-libc related checks (missing execinfo.h, and feenableexcept()) ++ include(CheckIncludeFiles) ++ check_include_files(execinfo.h HAVE_EXECINFO_H) ++ if (HAVE_EXECINFO_H) ++ add_definitions(-DHAVE_EXECINFO_H) ++ endif() + -+ include(CheckLibraryExists) -+ check_library_exists(m feenableexcept "fenv.h" HAVE_FEENABLEEXCEPT) -+ if (HAVE_FEENABLEEXCEPT) -+ add_definitions(-DHAVE_FEENABLEEXCEPT) -+ endif() ++ include(CheckLibraryExists) ++ check_library_exists(m feenableexcept "fenv.h" HAVE_FEENABLEEXCEPT) ++ if (HAVE_FEENABLEEXCEPT) ++ add_definitions(-DHAVE_FEENABLEEXCEPT) ++ endif() elseif(WIN32) - set(_init_JACK OFF) + set(_init_JACK OFF) elseif(APPLE) diff -ru blender-2.78.orig/source/blender/blenlib/intern/system.c blender-2.78a/source/blender/blenlib/intern/system.c --- blender-2.78.orig/source/blender/blenlib/intern/system.c 2016-10-25 09:59:23.000000000 +0000 diff --git a/srcpkgs/blender/patches/ppc.patch b/srcpkgs/blender/patches/ppc.patch deleted file mode 100644 index 7bd73bc01cb5cb..00000000000000 --- a/srcpkgs/blender/patches/ppc.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 90ac05e3d81c604df532122b7da53a4a15c79a37 Mon Sep 17 00:00:00 2001 -From: q66 -Date: Mon, 23 Dec 2019 22:48:50 +0100 -Subject: [PATCH] add ppc support in build_config.h - ---- - intern/numaapi/source/build_config.h | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) - -diff --git a/intern/numaapi/source/build_config.h b/intern/numaapi/source/build_config.h -index 444adcc..f7c072a 100644 ---- a/intern/numaapi/source/build_config.h -+++ b/intern/numaapi/source/build_config.h -@@ -307,6 +307,20 @@ - # define ARCH_CPU_32_BITS 1 - # define ARCH_CPU_BIG_ENDIAN 1 - # endif -+#elif defined(__powerpc64__) -+# define ARCH_CPU_PPC64_FAMILY 1 -+# define ARCH_CPU_PPC64 1 -+# define ARCH_CPU_64_BITS 1 -+# if defined(__LITTLE_ENDIAN__) -+# define ARCH_CPU_LITTLE_ENDIAN 1 -+# else -+# define ARCH_CPU_BIG_ENDIAN 1 -+# endif -+#elif defined(__powerpc__) -+# define ARCH_CPU_PPC_FAMILY 1 -+# define ARCH_CPU_PPC 1 -+# define ARCH_CPU_32_BITS 1 -+# define ARCH_CPU_BIG_ENDIAN 1 - #else - # error Please add support for your architecture in build_config.h - #endif -@@ -337,6 +351,12 @@ - #if !defined(ARCH_CPU_MIPS64_FAMILY) - # define ARCH_CPU_MIPS64_FAMILY 0 - #endif -+#if !defined(ARCH_CPU_PPC64_FAMILY) -+# define ARCH_CPU_PPC64_FAMILY 0 -+#endif -+#if !defined(ARCH_CPU_PPC_FAMILY) -+# define ARCH_CPU_PPC_FAMILY 0 -+#endif - - //////////////////////////////////////////////////////////////////////////////// - // Sizes of platform-dependent types. --- -2.24.0 - diff --git a/srcpkgs/blender/template b/srcpkgs/blender/template index 2beb7f96dd82b5..248ae685d08761 100644 --- a/srcpkgs/blender/template +++ b/srcpkgs/blender/template @@ -1,22 +1,22 @@ # Template file for 'blender' pkgname=blender -version=2.80 +version=2.81a revision=1 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 python3-numpy" + libopenexr-devel libopenjpeg2-devel libXi-devel openimageio-devel + opencolorio-devel opencollada-devel python3-numpy libXrender-devel + OpenSubdiv-devel tbb-devel libxml2-devel" depends="desktop-file-utils hicolor-icon-theme" short_desc="3D graphics creation suite" maintainer="Enno Boland " license="GPL-2.0-or-later" homepage="http://www.blender.org" -#distfiles="http://download.blender.org/source/${pkgname}-${version}.tar.gz" -distfiles="https://ftp.halifax.rwth-aachen.de/blender/source/blender-${version}.tar.gz" -checksum=cd9d7e505c1f6e63a4f72366ed04d446859977eeb34cde21283aaea6a304a5c0 +distfiles="http://download.blender.org/source/${pkgname}-${version}.tar.xz" +checksum=52ac4145cef3d49ca6a36cbc6d009598ca2833143fd6c4f1caba4f5c525680fe patch_args="-Np1" pycompile_version="$py3_ver" @@ -36,7 +36,10 @@ configure_args=" -DWITH_OPENCOLORIO=ON -DWITH_IMAGE_OPENEXR=ON -DWITH_IMAGE_OPENJPEG=ON +-DWITH_OPENSUBDIV=ON -DWITH_OPENCOLLADA=ON +-DWITH_SYSTEM_GLEW=ON +-DWITH_BUILDINFO=OFF -DPYTHON_VERSION=$py3_ver -DPYTHON_LIBPATH=/usr/lib -DPYTHON_LIBRARY='python${py3_ver}${py3_abiver}'