wok rev 24380

blender: added implicite build dependency libboost-locale
author Hans-G?nter Theisgen
date Sun Feb 06 10:08:38 2022 +0100 (2022-02-06)
parents 973de86c0910
children bbb9e95382aa
files blender/receipt
line diff
     1.1 --- a/blender/receipt	Sun Feb 06 10:04:11 2022 +0100
     1.2 +++ b/blender/receipt	Sun Feb 06 10:08:38 2022 +0100
     1.3 @@ -40,37 +40,39 @@
     1.4  			$src/source/blender/python/generic/py_capi_utils.c
     1.5  #	sed -i 's|char. chars = _PyUnicode_AsString|const &|' \
     1.6  #		$src/source/gameengine/Ketsji/KX_FontObject.cpp
     1.7 -	mkdir -p $WOK/$PACKAGE/source/build
     1.8 -	cd $WOK/$PACKAGE/source/build
     1.9 +
    1.10  	PY3K_VER=$(ls -d /usr/include/python3.?m | sed 's|.*python\(.*\)m|\1|')
    1.11  
    1.12  	export	CC=gcc-83
    1.13  	export	CXX=g++-83
    1.14  
    1.15 -	cmake $src						\
    1.16 -		-DCMAKE_INSTALL_PREFIX:PATH=/usr		\
    1.17 -		-DCMAKE_BUILD_TYPE:STRING=Release		\
    1.18 -		-DWITH_INSTALL_PORTABLE:BOOL=OFF		\
    1.19 -		-DWITH_PYTHON_INSTALL:BOOL=OFF			\
    1.20 -		-DWITH_OPENCOLLADA:BOOL=OFF			\
    1.21 -		-DWITH_GAMEENGINE:BOOL=ON			\
    1.22 -		-DWITH_CYCLES:BOOL=OFF				\
    1.23 -		-DWITH_PLAYER:BOOL=ON				\
    1.24 +	mkdir	_build
    1.25 +	cd	_build
    1.26 +	cmake	$src						\
    1.27 +		-D CMAKE_INSTALL_PREFIX:PATH=/usr		\
    1.28 +		-D CMAKE_BUILD_TYPE:STRING=Release		\
    1.29 +		-D WITH_INSTALL_PORTABLE:BOOL=OFF		\
    1.30 +		-D WITH_PYTHON_INSTALL:BOOL=OFF			\
    1.31 +		-D WITH_OPENCOLLADA:BOOL=OFF			\
    1.32 +		-D WITH_GAMEENGINE:BOOL=ON			\
    1.33 +		-D WITH_CYCLES:BOOL=OFF				\
    1.34 +		-D WITH_PLAYER:BOOL=ON				\
    1.35  		-D WITH_TBB:BOOL=OFF				\
    1.36 -		-DPYTHON_VERSION:STRING=$PY3K_VER		\
    1.37 -		-DPYTHON_LIBPATH:STRING=/usr/lib		\
    1.38 -		-DPYTHON_LIBRARY:STRING=python${PY3K_VER}m	\
    1.39 -		-DPYTHON_INCLUDE_DIRS:STRING=/usr/include/python${PY3K_VER}m
    1.40 +		-D PYTHON_VERSION:STRING=$PY3K_VER		\
    1.41 +		-D PYTHON_LIBPATH:STRING=/usr/lib		\
    1.42 +		-D PYTHON_LIBRARY:STRING=python${PY3K_VER}m	\
    1.43 +		-D PYTHON_INCLUDE_DIRS:STRING=/usr/include/python${PY3K_VER}m &&
    1.44 +
    1.45  	# build
    1.46  	make $MAKEFLAGS &&
    1.47 -	make DESTDIR=$DESTDIR install &&
    1.48 +	make install DESTDIR=$DESTDIR &&
    1.49  	python3 -m compileall "$DESTDIR/usr/share/blender"
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	LOCALE="fr de pt_BR es zh_CN"
    1.56 +#	LOCALE="fr de pt_BR es zh_CN"
    1.57  
    1.58  	mkdir -p $fs/usr/bin
    1.59  	mkdir -p $fs/usr/share/pixmaps