summaryrefslogtreecommitdiff
path: root/libre/blender-libre
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-18 18:34:45 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-18 18:34:45 -0200
commit206fe44d98c5e965c07646e096e1cccd4b947aab (patch)
tree6f9f3e369921193b971000c8b059741250b2aa1c /libre/blender-libre
parent8948d4e3d53f900898e55ebade36f8b0bb4fb6a8 (diff)
downloadabslibre-206fe44d98c5e965c07646e096e1cccd4b947aab.tar.gz
abslibre-206fe44d98c5e965c07646e096e1cccd4b947aab.tar.bz2
abslibre-206fe44d98c5e965c07646e096e1cccd4b947aab.zip
blender-libre: updating package
Diffstat (limited to 'libre/blender-libre')
-rwxr-xr-xlibre/blender-libre/PKGBUILD95
-rwxr-xr-xlibre/blender-libre/blender-libre.install13
2 files changed, 90 insertions, 18 deletions
diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD
index fcaa11298..1fc1a7f91 100755
--- a/libre/blender-libre/PKGBUILD
+++ b/libre/blender-libre/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=blender-libre
pkgver=2.64a
-pkgrel=1
+pkgrel=2
pkgaev=5
-pkgdesc='A fully integrated 3D graphics creation suite, without nonfree cuda-toolkit support'
+pkgdesc='A fully integrated 3D graphics creation suite, without nonfree cuda-toolkit and redcode image format support'
arch=(
i686
x86_64
@@ -16,29 +16,88 @@ license=(
)
url=http://www.${pkgname%-libre}.org
depends=(
- boost-libs
- desktop-file-utils
+ # rbd tree #
ffmpeg
fftw
freetype2
- glew
- glu
- hicolor-icon-theme
jack
- libgl
libpng
- libsndfile
libtiff
openal
- opencollada
- opencolorio
- openexr
openimageio
- python
+ opencolorio
+ # bed #
+ opencollada
+ # ded #
+ desktop-file-utils
+ hicolor-icon-theme
shared-mime-info
xdg-utils
+ # cbd tree #
+ #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
+)
+optdepends=(
+ 'bullet: for Physics Simulation in BGE'
)
makedepends=(
+ # rmd tree #
mesa
boost
cmake
@@ -53,7 +112,7 @@ conflicts=(
provides=(
${pkgname%-libre}=$pkgaev:$pkgver
)
-install=${pkgname%-libre}.install
+install=$pkgname.install
source=(
http://download.${pkgname%-libre}.org/source/${pkgname%-libre}-$pkgver.tar.gz
)
@@ -62,7 +121,7 @@ sha512sums=(
)
build() {
- cd $srcdir/${pkgname%-libre}-$pkgver
+ cd "$srcdir/${pkgname%-libre}-$pkgver"
mkdir build
cd build
@@ -72,10 +131,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 \
diff --git a/libre/blender-libre/blender-libre.install b/libre/blender-libre/blender-libre.install
new file mode 100755
index 000000000..724bfce00
--- /dev/null
+++ b/libre/blender-libre/blender-libre.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}