blob: 9ef4b7b073a2f37211f44fa42482b41c02a27d67 (
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
|
# $Id$
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=blender-spacenav-libre
pkgver=2.64a
pkgrel=1
pkgaev=5
pkgdesc='A fully integrated 3D graphics creation suite, compiled with spacenav (without nonfree cuda-toolkit support)'
arch=(
i686
x86_64
mips64el
)
license=(
GPL
)
url=http://www.${pkgname%-spacenav-libre}.org
depends=(
boost-libs
desktop-file-utils
ffmpeg
fftw
freetype2
glew
glu
hicolor-icon-theme
jack
libgl
libpng
libsndfile
libspnav
libtiff
openal
opencollada
opencolorio
openexr
openimageio
python
shared-mime-info
xdg-utils
)
makedepends=(
mesa
boost
cmake
subversion
)
replaces=(
${pkgname%-spacenav-libre}
)
conflicts=(
${pkgname%-spacenav-libre}
)
provides=(
${pkgname%-spacenav-libre}=$pkgaev:$pkgver
)
install=${pkgname%-spacenav-libre}.install
source=(
http://download.${pkgname%-spacenav-libre}.org/source/${pkgname%-spacenav-libre}-$pkgver.tar.gz
)
sha512sums=(
77d171a36f1c87a82613ed7601df9cef444069a2a6600e05260607e9a2009c292068a2b4753f3cbd53d820cdc8d9ed88ddd1685f20647b943f75bfbeb905b9b5
)
build() {
cd $srcdir/${pkgname%-spacenav-libre}-$pkgver
mkdir build
cd build
[[ $CARCH == i686 ]] && DSUPPORT_SSE2_BUILD='-DSUPPORT_SSE2_BUILD=OFF'
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.2mu \
-DPYTHON_LIBPATH=/usr/lib \
-DPYTHON_LIBRARY=python3.2mu \
-DPYTHON_VERSION=3.2 \
$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
make $MAKEFLAGS
make
}
package() {
cd $srcdir/${pkgname%-spacenav-libre}-$pkgver/build
make DESTDIR=$pkgdir install
python -m compileall $pkgdir/usr/share/blender
}
|