blob: e6c684b1e57b20fe7f638a2bf20978c770a50bfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
# $Id$
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
spacenav=false
pkgbase=blender-libre
pkgflag=-libre
if [ $spacenav == true ]; then
pkgname=(
blender-spacenav-libre
)
spndesc=' (with spacenav support)'
else
pkgname=(
blender-libre
)
spndesc=''
fi
pkgdesc="Fully integrated 3D graphics creation suite, without nonfree cuda-toolkit and redcode image format support$spndesc"
pkgver=2.65
pkgrel=1
pkgaev=5
arch=(
i686
x86_64
mips64el
)
license=(
GPL
)
url="http://www.${pkgbase%$pkgflag}.org"
depends=(
# used by ldd software "glibc package software"
# dependencies tree of binaries software (root) #
ffmpeg
fftw
freetype2
jack
libpng
libtiff
openal
openimageio
opencolorio
# external softwares dependencies #
opencollada
# softwares dependencies for desktop files and mime types #
desktop-file-utils
hicolor-icon-theme
shared-mime-info
xdg-utils
# dependencies tree of binaries software (child) #
#alsa-lib
#boost-libs
#bzip2
#celt
#dbus-core
#flac
#gcc-libs
#glew
#glibc
#glu
#gsm
#icu
#ilmbase
#json-c
#lame
#libasyncns
#libdrm
#libgl
#libglapi
#libice
#libjpeg-turbo
#libogg
#libpulse
#libsndfile
#libsm
#libtheora
#libva
#libvorbis
#libvpx
#libx11
#libxau
#libxcb
#libxdamage
#libxdmcp
#libxext
#libxfixes
#libxi
#libxml2
#libxmu
#libxt
#libxxf86vm
#ocr
#openexr
#opencore-amr
#openjpeg
#openssl
#pcre
#python
#rtmpdump
#sdl-libre
#schroedinger
#speex
#util-linux
#x264
#xvidcore
#xz
#v4l-utils
#zlib
)
if [ $spacenav == true ]; then
depends+=(
# dependencies tree of binaries software (root) #
libspnav
)
fi
optdepends=(
'bullet: for Physics Simulation in BGE'
)
makedepends=(
# make dependencies tree (root) #
boost
cmake
mesa
subversion
)
provides=(
${pkgbase%$pkgflag}=$pkgaev:$pkgver
)
conflicts=(
${pkgbase%$pkgflag}
)
replaces=(
${pkgbase%$pkgflag}
)
install=$pkgbase.install
source=(
"http://download.${pkgbase%$pkgflag}.org/source/${pkgbase%$pkgflag}-$pkgver.tar.gz"
)
sha512sums=(
92488691c25d390eabf35569cb37ec62437dd42f57e096334a6ed804b3265efe6f81871eba15dad67399ff4e6bf4262d4043298a3ceb90e5dc57586eb9f2870f
)
build() {
cd $srcdir/${pkgbase%$pkgflag}-$pkgver
mkdir build
cd build
[[ $CARCH == i686 ]] && DSUPPORT_SSE2_BUILD='-DSUPPORT_SSE2_BUILD=OFF'
setarch $CARCH cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.3m \
-DPYTHON_LIBPATH=/usr/lib \
-DPYTHON_LIBRARY=python3.3m \
-DPYTHON_VERSION=3.3 \
$DSUPPORT_SSE2_BUILD \
-DWITH_CODEC_FFMPEG=ON \
-DWITH_CODEC_SNDFILE=ON \
-DWITH_CYCLES=ON \
-DWITH_CYCLES_CUDA_BINARIES=OFF \
-DWITH_FFTW3=ON \
-DWITH_GAMEENGINE=ON \
-DWITH_IMAGE_REDCODE=OFF \
-DWITH_INSTALL_PORTABLE=OFF \
-DWITH_JACK=ON \
-DWITH_MOD_OCEANSIM=ON \
-DWITH_OPENCOLLADA=ON \
-DWITH_PLAYER=ON \
-DWITH_PYTHON_INSTALL=OFF \
-DWITH_SYSTEM_GLEW=ON
setarch $CARCH make $MAKEFLAGS
setarch $CARCH make
}
package() {
cd $srcdir/${pkgbase%$pkgflag}-$pkgver/build
setarch $CARCH make DESTDIR=$pkgdir install
setarch $CARCH python -m compileall $pkgdir/usr/share/${pkgbase%$pkgflag}
}
|