Commit 2ce9651b authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[graphics/blender] Delete package and convert to a sysdep only

The packaged version was outdated, and all supported distributions provide a
newer alternative. No need to package it here, a sysdep is enough.
parent 7ce4ea05
......@@ -4,7 +4,6 @@
COMMENT= Computer graphics tools
SUBDIR+= assimp
SUBDIR+= blender
SUBDIR+= coldman-genom
SUBDIR+= coldman-libs
SUBDIR+= collada-dom
......
Blender is a suite of tools enabling the creation of and replay of linear and
real-time, interactive 3D content. It offers full functionality for modeling,
rendering, animation, postproduction and game creation and playback with the
singular benefits of cross-platform operability and a download file size of
less than 2.5MB.
Aimed at media professionals and individual creative users, Blender can be
used to create commercials and other broadcast quality linear content, while
the incorporation of a real-time 3D engine allows for the creation of 3D
interactive content for stand-alone playback or integration in a web browser.
Originally developed by the company 'Not a Number' (NaN), Blender now is
continued as 'Free Software', with the sources available under GNU GPL.
# robotpkg Makefile for: graphics/blender
# Created: Séverin Lemaignan on Mon, 7 Dec 2009
#
PKGNAME= blender-${PKGVERSION}
DISTNAME= blender-${PKGVERSION_NOREV}
PKGVERSION= 2.69
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://download.blender.org/source/
MAINTAINER= openrobots@laas.fr
HOMEPAGE= http://www.blender.org/
COMMENT= Fully integrated 3D graphics creation suite
LICENSE= gnu-gpl-v2
CMAKE_ARG_PATH= ..
CONFIGURE_DIRS= _build
# General configuration
CMAKE_ARGS+= -DWITH_GAMEENGINE=ON # GameEngine
CMAKE_ARGS+= -DWITH_IK_ITASC=ON # Inverse Kinematics
CMAKE_ARGS+= -DWITH_OPENCOLLADA=OFF # Collada (wait stabilization)
CMAKE_ARGS+= -DWITH_PLAYER=ON # Stand-alone Blender player
CMAKE_ARGS+= -DWITH_SAMPLERATE=OFF # Fix bug with audaspace
CMAKE_ARGS+= -DWITH_JACK=OFF # Fix bug with audaspace
CMAKE_ARGS+= -DWITH_OPENAL=OFF # Fix bug with audaspace
CMAKE_ARGS+= -DWITH_SDL=OFF # Fix bug with audaspace
CMAKE_ARGS+= -DWITH_INSTALL_PORTABLE=OFF # Install in hier(8)
CMAKE_ARGS+= -DWITH_CYCLES=OFF
CMAKE_ARGS+= -DWITH_OPENCOLORIO=OFF # Not available on various platform
# Enable embedded Python API, but don't copy system python into blender
CMAKE_ARGS+= -DWITH_PYTHON=ON
CMAKE_ARGS+= -DWITH_PYTHON_INSTALL=OFF
CMAKE_ARGS+= -DWITH_PYTHON_INSTALL_NUMPY=OFF
CMAKE_ARGS+= -DPYTHON_INC=${PYTHON_INCLUDE}
CMAKE_ARGS+= -DPYTHON_LIB=${PYTHON_LIB}
CMAKE_ARGS+= -DPYTHON_LIBPATH=$(dir ${PYTHON_LIB})
# Options
PKG_SUPPORTED_OPTIONS+= ffmpeg
PKG_OPTION_DESCR.ffmpeg:= Enable ffmpeg support
define PKG_OPTION_SET.ffmpeg
CMAKE_ARGS+= -DWITH_CODEC_FFMPEG=ON
CMAKE_ARGS+= -DFFMPEG=${PREFIX.libavcodec}
include ../../mk/sysdep/libavformat.mk
include ../../mk/sysdep/libavcodec.mk
include ../../mk/sysdep/libavutil.mk
include ../../mk/sysdep/libavdevice.mk
include ../../mk/sysdep/libswscale.mk
endef
define PKG_OPTION_UNSET.ffmpeg
CMAKE_ARGS+= -DWITH_CODEC_FFMPEG=OFF
endef
USE_BOOST_LIBS=filesystem regex system thread date_time locale
DEPEND_ABI.boost-libs= boost-libs>=1.48
DEPEND_ABI.boost-headers= boost-headers>=1.48
include ../../devel/boost-headers/depend.mk
include ../../devel/boost-libs/depend.mk
DEPEND_ABI.python+= python>=3.3<3.4
include ../../mk/sysdep/python.mk
include ../../mk/sysdep/cmake.mk
include ../../mk/sysdep/freetype2.mk
include ../../mk/sysdep/libjpeg.mk
include ../../mk/sysdep/libpng.mk
include ../../mk/sysdep/libtiff.mk
include ../../mk/sysdep/glew.mk
include ../../mk/sysdep/glu.mk
include ../../mk/sysdep/mesa.mk
include ../../mk/sysdep/libXi.mk
include ../../mk/language/c.mk
include ../../mk/language/c++.mk
include ../../mk/robotpkg.mk
pre-configure:
${RUN}${MKDIR} ${WRKSRC}/_build
This diff is collapsed.
SHA1 (blender-2.69.tar.gz) = 9500410d2457d99e685ca506bec12851454dc5d4
RMD160 (blender-2.69.tar.gz) = 27997d071a767630baeaddc0017e19dccb99b1a9
Size (blender-2.69.tar.gz) = 41274518 bytes
SHA1 (patch-aa) = 165416416c9ffcfcef151acd783b3a5cbd2cfc87
SHA1 (patch-ab) = 9295f6b3fd8c50052072ef3e7b029a4e09ab207e
SHA1 (patch-ac) = b3b5baa07795afd150ba434146c14261799fe27a
SHA1 (patch-ad) = 1df469351d4412e02d336cb4299bfe3d24f689b3
SHA1 (patch-ae) = 9695e494b213dae0555ccadb2ac43c235e6717f1
--- ./extern/libmv/libmv/numeric/numeric.h.orig 2014-03-11 09:08:06.203673501 +0100
+++ ./extern/libmv/libmv/numeric/numeric.h 2014-03-11 09:16:09.635677474 +0100
@@ -33,7 +33,7 @@
#include <Eigen/QR>
#include <Eigen/SVD>
-#if (defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__)) && !defined(__MINGW64__)
+#if (defined(_WIN32) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)) && !defined(__MINGW64__)
static void sincos(double x, double *sinx, double *cosx) {
*sinx = sin(x);
*cosx = cos(x);
--- ./extern/libmv/libmv/tracking/brute_region_tracker.cc.orig 2014-03-11 09:08:06.203673501 +0100
+++ ./extern/libmv/libmv/tracking/brute_region_tracker.cc 2014-03-11 09:17:22.051678069 +0100
@@ -60,7 +60,7 @@
// they work natively with SSE types with no further work.
CHECK_EQ(alignment, 16);
return malloc(size);
-#elif __FreeBSD__
+#elif defined(__FreeBSD__) || defined(__NetBSD__)
void *result;
if (posix_memalign(&result, alignment, size)) {
--- ./extern/libmv/third_party/glog/src/utilities.h.orig 2012-11-23 09:07:03.000000000 +0000
+++ ./extern/libmv/third_party/glog/src/utilities.h 2012-11-23 09:07:39.000000000 +0000
@@ -101,7 +101,7 @@
// correctly when GetStackTrace() is called with max_depth == 0.
// Some code may do that.
-#if defined(__MINGW32__) || defined(__FreeBSD__)
+#if defined(__MINGW32__) || defined(__FreeBSD__) || defined(__NetBSD__)
# undef STACKTRACE_H
#elif defined(HAVE_LIB_UNWIND)
# define STACKTRACE_H "stacktrace_libunwind-inl.h"
--- ./extern/libmv/third_party/glog/src/config.h.orig 2012-10-09 18:43:15.000000000 +0000
+++ ./extern/libmv/third_party/glog/src/config.h 2012-11-23 14:23:56.000000000 +0000
@@ -4,7 +4,7 @@
/* Namespace for Google classes */
#if defined(__APPLE__)
#include "config_mac.h"
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
#include "config_freebsd.h"
#elif defined(__MINGW32__)
#include "windows/config.h"
--- intern/ffmpeg/ffmpeg_compat.h.orig 2014-03-11 09:40:34.271689510 +0100
+++ intern/ffmpeg/ffmpeg_compat.h 2014-03-11 09:40:54.291689675 +0100
@@ -90,7 +90,7 @@
#define FFMPEG_HAVE_DECODE_AUDIO4
#endif
-#if ((LIBAVUTIL_VERSION_MAJOR > 51) || (LIBAVUTIL_VERSION_MAJOR == 51) && (LIBAVUTIL_VERSION_MINOR >= 32))
+#if ((LIBAVUTIL_VERSION_MAJOR > 51) || (LIBAVUTIL_VERSION_MAJOR == 51) && (LIBAVUTIL_VERSION_MINOR >= 22))
#define FFMPEG_FFV1_ALPHA_SUPPORTED
#define FFMPEG_SAMPLE_FMT_S16P_SUPPORTED
#else
......@@ -15,10 +15,9 @@ PREFER.blender?= system
DEPEND_USE+= blender
DEPEND_ABI.blender?= blender>=2.62
DEPEND_DIR.blender?= ../../graphics/blender
SYSTEM_SEARCH.blender=\
'bin/blender{,-[0-9]*}:1{s/sub.*)//;s/[^0-9.]//gp;}:% -v'
'bin/blender{,-[0-9]*}:1{s/sub.*)//;s/[^0-9.]//gp;}:% -v'
endif # BLENDER_DEPEND_MK -----------------------------------------------------
......
......@@ -25,7 +25,7 @@ CMAKE_ARGS+= -DPYTHON_LIBRARY=${PYTHON_LIB}
CMAKE_ARGS+= -DPKG_CONFIG_EXECUTABLE=${PKG_CONFIG}
DEPEND_ABI.blender+= blender>=2.65
include ../../graphics/blender/depend.mk
include ../../mk/sysdep/blender.mk
DEPEND_ABI.python+= python>=3.3
include ../../mk/sysdep/python.mk
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment