summaryrefslogtreecommitdiff
path: root/libre/blender-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-20 19:18:39 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-20 19:18:39 -0200
commitcd308f9d2c6a48520b4903d3394eb88c6fd9c8d5 (patch)
tree366b73bb65dd0705ed5f0bee7157ea6a267e9a8a /libre/blender-libre/PKGBUILD
parentabdaf4e8e1fa45d4617a581c1e831e8d0bf01bcd (diff)
parentc375e36ec4c4e0b3c276e2b71bdd0651fa1a6a1d (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/blender-libre/PKGBUILD')
-rwxr-xr-xlibre/blender-libre/PKGBUILD135
1 files changed, 107 insertions, 28 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index fcaa11298..2800d9147 100755
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -1,11 +1,24 @@
# $Id$
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-pkgname=blender-libre
+spacenav=true
+pkgbase=blender-libre
+pkgflag=-libre
+if [ $spacenav == true ]; then
+ pkgname=(
+ blender-spacenav-libre
+ )
+ spndesc=' (with spacenav support)'
+else
+ pkgname=(
+ blender-libre
+ )
+ spndesc=''
+fi
+pkgdesc="A fully integrated 3D graphics creation suite, without nonfree cuda-toolkit and redcode image format support$spndesc"
pkgver=2.64a
-pkgrel=1
+pkgrel=2
pkgaev=5
-pkgdesc='A fully integrated 3D graphics creation suite, without nonfree cuda-toolkit support'
arch=(
i686
x86_64
@@ -14,55 +27,121 @@ arch=(
license=(
GPL
)
-url=http://www.${pkgname%-libre}.org
+url="http://www.${pkgbase%$pkgflag}.org"
depends=(
- boost-libs
- desktop-file-utils
+ # used by ldd software "glibc package software"
+ # dependencies tree of binaries software (root) #
ffmpeg
fftw
freetype2
- glew
- glu
- hicolor-icon-theme
jack
- libgl
libpng
- libsndfile
libtiff
openal
- opencollada
- opencolorio
- openexr
openimageio
- python
+ 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) #
mesa
boost
cmake
subversion
)
-replaces=(
- ${pkgname%-libre}
+provides=(
+ ${pkgbase%$pkgflag}=$pkgaev:$pkgver
)
conflicts=(
- ${pkgname%-libre}
+ ${pkgbase%$pkgflag}
)
-provides=(
- ${pkgname%-libre}=$pkgaev:$pkgver
+replaces=(
+ ${pkgbase%$pkgflag}
)
-install=${pkgname%-libre}.install
+install=$pkgbase.install
source=(
- http://download.${pkgname%-libre}.org/source/${pkgname%-libre}-$pkgver.tar.gz
+ "http://download.${pkgbase%$pkgflag}.org/source/${pkgbase%$pkgflag}-$pkgver.tar.gz"
)
sha512sums=(
77d171a36f1c87a82613ed7601df9cef444069a2a6600e05260607e9a2009c292068a2b4753f3cbd53d820cdc8d9ed88ddd1685f20647b943f75bfbeb905b9b5
)
build() {
- cd $srcdir/${pkgname%-libre}-$pkgver
+ cd $srcdir/${pkgbase%$pkgflag}-$pkgver
mkdir build
cd build
@@ -72,10 +151,10 @@ build() {
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DPYTHON_INCLUDE_DIRS=/usr/include/python3.2mu \
+ -DPYTHON_INCLUDE_DIRS=/usr/include/python3.3m \
-DPYTHON_LIBPATH=/usr/lib \
- -DPYTHON_LIBRARY=python3.2mu \
- -DPYTHON_VERSION=3.2 \
+ -DPYTHON_LIBRARY=python3.3m \
+ -DPYTHON_VERSION=3.3 \
$DSUPPORT_SSE2_BUILD \
-DWITH_CODEC_FFMPEG=ON \
-DWITH_CODEC_SNDFILE=ON \
@@ -98,7 +177,7 @@ build() {
}
package() {
- cd $srcdir/${pkgname%-libre}-$pkgver/build
+ cd $srcdir/${pkgbase%$pkgflag}-$pkgver/build
make DESTDIR=$pkgdir install
- python -m compileall $pkgdir/usr/share/blender
+ python -m compileall $pkgdir/usr/share/${pkgbase%$pkgflag}
}