From 206fe44d98c5e965c07646e096e1cccd4b947aab Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Thu, 18 Oct 2012 18:34:45 -0200 Subject: blender-libre: updating package --- libre/blender-libre/PKGBUILD | 95 +++++++++++++++++++++++++------ libre/blender-libre/blender-libre.install | 13 +++++ 2 files changed, 90 insertions(+), 18 deletions(-) create mode 100755 libre/blender-libre/blender-libre.install (limited to 'libre/blender-libre') 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 +} -- cgit v1.2.3