wok-current rev 22382

blender: try again with updated openexr
author Hans-G?nter Theisgen
date Thu Nov 28 09:14:24 2019 +0100 (2019-11-28)
parents a34e89287584
children f6b6541be859
files blender/receipt
line diff
     1.1 --- a/blender/receipt	Thu Nov 28 09:06:31 2019 +0100
     1.2 +++ b/blender/receipt	Thu Nov 28 09:14:24 2019 +0100
     1.3 @@ -3,25 +3,26 @@
     1.4  PACKAGE="blender"
     1.5  VERSION="2.75a"
     1.6  CATEGORY="graphics"
     1.7 +TAGS="3D creator editor"
     1.8  SHORT_DESC="3D content creation suite."
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="GPL"
    1.11 +WEB_SITE="https://www.blender.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="http://download.blender.org/source/$TARBALL"
    1.15 +
    1.16  SUGGESTED="nvidia"
    1.17 -WEB_SITE="https://www.blender.org/"
    1.18 -WGET_URL="http://download.blender.org/source/$TARBALL"
    1.19 -TAGS="3D creator editor"
    1.20 -
    1.21  DEPENDS="py3k mesa libsdl libsamplerate libdrm jpeg libglu-mesa openjpeg \
    1.22 -ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng freeglut \
    1.23 -freetype openal zlib librsvg glew libboost-filesystem libboost-regex \
    1.24 -libboost-thread libboost-date-time libboost-dev"
    1.25 +	ffmpeg lcms openexr desktop-file-utils libgomp tiff libpng freeglut \
    1.26 +	freetype openal zlib librsvg glew libboost-filesystem libboost-regex \
    1.27 +	libboost-thread libboost-date-time libboost-dev"
    1.28  BUILD_DEPENDS="cmake xorg-libXmu ilmbase-dev yasm pkg-config coreutils-file-format \
    1.29 -gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
    1.30 -libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
    1.31 -libboost-dev libboost-math-dev libboost-tr1-dev libboost-filesystem-dev \
    1.32 -libboost-regex-dev libboost-thread-dev \
    1.33 -libglu-mesa-dev glew-dev"
    1.34 +	gettext mesa-dev freeglut-dev librsvg-dev openexr-dev tiff-dev openal-dev \
    1.35 +	libglu-mesa libsdl-dev py3k-dev libsamplerate-dev ffmpeg-dev lcms-dev openjpeg-dev \
    1.36 +	libboost-dev libboost-math-dev libboost-tr1-dev libboost-filesystem-dev \
    1.37 +	libboost-regex-dev libboost-thread-dev \
    1.38 +	libglu-mesa-dev glew-dev"
    1.39  
    1.40  # Rules to configure and make the package.
    1.41  compile_rules()
    1.42 @@ -35,18 +36,18 @@
    1.43  	mkdir -p $WOK/$PACKAGE/source/build
    1.44  	cd $WOK/$PACKAGE/source/build
    1.45  	PY3K_VER=$(ls -d /usr/include/python3.?m | sed 's|.*python\(.*\)m|\1|')
    1.46 -	cmake $src \
    1.47 -		-DCMAKE_INSTALL_PREFIX:PATH=/usr \
    1.48 -		-DCMAKE_BUILD_TYPE:STRING=Release \
    1.49 -		-DWITH_INSTALL_PORTABLE:BOOL=OFF \
    1.50 -		-DWITH_PYTHON_INSTALL:BOOL=OFF \
    1.51 -		-DWITH_OPENCOLLADA:BOOL=OFF \
    1.52 -		-DWITH_GAMEENGINE:BOOL=ON \
    1.53 -		-DWITH_CYCLES:BOOL=OFF \
    1.54 -		-DWITH_PLAYER:BOOL=ON \
    1.55 -		-DPYTHON_VERSION:STRING=$PY3K_VER \
    1.56 -		-DPYTHON_LIBPATH:STRING=/usr/lib \
    1.57 -		-DPYTHON_LIBRARY:STRING=python${PY3K_VER}m \
    1.58 +	cmake $src						\
    1.59 +		-DCMAKE_INSTALL_PREFIX:PATH=/usr		\
    1.60 +		-DCMAKE_BUILD_TYPE:STRING=Release		\
    1.61 +		-DWITH_INSTALL_PORTABLE:BOOL=OFF		\
    1.62 +		-DWITH_PYTHON_INSTALL:BOOL=OFF			\
    1.63 +		-DWITH_OPENCOLLADA:BOOL=OFF			\
    1.64 +		-DWITH_GAMEENGINE:BOOL=ON			\
    1.65 +		-DWITH_CYCLES:BOOL=OFF				\
    1.66 +		-DWITH_PLAYER:BOOL=ON				\
    1.67 +		-DPYTHON_VERSION:STRING=$PY3K_VER		\
    1.68 +		-DPYTHON_LIBPATH:STRING=/usr/lib		\
    1.69 +		-DPYTHON_LIBRARY:STRING=python${PY3K_VER}m	\
    1.70  		-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python${PY3K_VER}m
    1.71  	# build
    1.72  	make $MAKEFLAGS &&
    1.73 @@ -58,11 +59,14 @@
    1.74  genpkg_rules()
    1.75  {
    1.76  	LOCALE="fr de pt_BR es zh_CN"
    1.77 -	mkdir -p $fs/usr/bin $fs/usr/share/pixmaps
    1.78 -	cp -a $install/usr/share/blender $fs/usr/share
    1.79 -	cp -a $install/usr/bin $fs/usr
    1.80 -	cp -a $install/usr/share/applications $fs/usr/share
    1.81 -	cp -a $install/usr/share/icons $fs/usr/share
    1.82 -	mv -f $fs/usr/bin/blender $fs/usr/bin/blender-bin
    1.83 -	cp -a $stuff/blender $fs/usr/bin
    1.84 +
    1.85 +	mkdir -p $fs/usr/bin
    1.86 +	mkdir -p $fs/usr/share/pixmaps
    1.87 +
    1.88 +	cp -a $install/usr/share/blender	$fs/usr/share
    1.89 +	cp -a $install/usr/bin			$fs/usr
    1.90 +	cp -a $install/usr/share/applications	$fs/usr/share
    1.91 +	cp -a $install/usr/share/icons		$fs/usr/share
    1.92 +	mv -f $fs/usr/bin/blender		$fs/usr/bin/blender-bin
    1.93 +	cp -a $stuff/blender			$fs/usr/bin
    1.94  }