[arch-commits] CVS update of extra/multimedia/blender (PKGBUILD)
Tobias Kieslich
tobias at archlinux.org
Wed Jun 13 20:39:36 UTC 2007
Date: Wednesday, June 13, 2007 @ 16:39:36
Author: tobias
Path: /home/cvs-extra/extra/multimedia/blender
Modified: PKGBUILD (1.29 -> 1.30)
prepare for 2.44 build
it sucks! Seems the 2.44 tarball is rotten. So we fetch the cvs with
the 2-44 tag. that seems to help.
----------+
PKGBUILD | 46 ++++++++++++++++++++++------------------------
1 file changed, 22 insertions(+), 24 deletions(-)
Index: extra/multimedia/blender/PKGBUILD
diff -u extra/multimedia/blender/PKGBUILD:1.29 extra/multimedia/blender/PKGBUILD:1.30
--- extra/multimedia/blender/PKGBUILD:1.29 Tue Mar 13 19:28:49 2007
+++ extra/multimedia/blender/PKGBUILD Wed Jun 13 16:39:36 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.29 2007/03/13 23:28:49 tobias Exp $
+# $Id: PKGBUILD,v 1.30 2007/06/13 20:39:36 tobias Exp $
# Contributor: John Sowiak <john at archlinux.org>
# Maintainer: tobias <tobias at archlinux.org>
@@ -11,16 +11,18 @@
# look for release numbers only we make a messy PKGBUILD that can checkout cvs
# tags if necessary.
#cvs=true
-cvs=false # tarball released meanwhile
+cvs=true
pkgname=blender
-pkgver=2.43
-pkgrel=3
+pkgver=2.44
+pkgrel=1
pkgdesc="A fully integrated 3D graphics creation suite"
arch=(i686 x86_64)
+license=(GPL)
url="http://blender3d.org"
-depends=('libjpeg' 'libpng' 'openexr' 'sdl' 'python>=2.5' 'desktop-file-utils')
-makedepends=('glut')
+depends=('libjpeg' 'libpng' 'openexr' 'sdl' 'python>=2.5' 'desktop-file-utils' \
+ 'gettext')
+makedepends=('glut' 'cmake')
install=blender.install
source=($pkgname.desktop $pkgname.svg)
if [ ! $cvs -o $cvs = false ]; then
@@ -28,19 +30,16 @@
makedepends=('glut')
fi
[ "$CARCH" = "x86_64" ] && source=(${source[@]} 'config.py' 'blender_x86_64.diff')
-[ "$CARCH" = "x86_64" ] && depends=(${depends[@]} 'gettext')
[ "$CARCH" = "x86_64" ] && makedepends=(${makedepends[@]} 'scons')
-md5sums=('b5b9720b9430b1f5e2aa0b2df533fed8' '0e53299444ff5570639c8f59372bc98c'\
- '7629c31bc45e286bdf3b2c555e6446a2')
build() {
if [ $cvs = true ]; then
cd $startdir/src/
#cvs -d:pserver:anonymous at cvs.blender.org:/cvsroot/bf-blender login
- cvs -z3 -d:pserver:anonymous at cvs.blender.org:/cvsroot/bf-blender checkout $pkgname
- _cvsrel=$pkgname-$(echo $pkgver | sed 's/\./-/')-release
- cvs -d:pserver:anonymous at cvs.blender.org:/cvsroot/bf-blender update -r $_cvsrel
- find $pkgname/{bin,release/scripts} -name 'CVS' -exec rm -rf {} \; 2> /dev/null
+ #cvs -z3 -d:pserver:anonymous at cvs.blender.org:/cvsroot/bf-blender checkout $pkgname || return 1
+ #_cvsrel=$pkgname-$(echo $pkgver | sed 's/\./-/')-release
+ #cvs -d:pserver:anonymous at cvs.blender.org:/cvsroot/bf-blender update -r $_cvsrel || return 1
+ #find $pkgname/{bin,release/scripts} -name 'CVS' -exec rm -rf {} \; 2> /dev/null
cd $pkgname
else
cd $startdir/src/$pkgname-$pkgver
@@ -50,9 +49,9 @@
patch -Np0 -i ../blender_x86_64.diff || return 1
cp $startdir/config.py user-config.py
scons \
- WITH_BF_PLAYER=1 \
- BF_INSTALLDIR=$startdir/src/tmp-install/usr/share/blender \
- WITH_BF_OPENAL=0 || return 1
+ WITH_BF_PLAYER=1 \
+ BF_INSTALLDIR=$startdir/src/tmp-install/usr/share/blender \
+ WITH_BF_OPENAL=0 || return 1
# mkdir -p $startdir/pkg/usr/bin
@@ -80,6 +79,7 @@
export NAN_JPEG=/usr
export NAN_PNG=/usr
export NAN_OPENEXR=/usr
+ export NAN_OPENEXR_LIBS=$(pkg-config --libs OpenEXR)
# seems this really stops plugin build, sucky documentation :(
export NAN_NO_PLUGIN=true
###########################################################################
@@ -99,19 +99,17 @@
install -Dm755 blenderplayer $startdir/pkg/usr/bin/blenderplayer
# install internationalization support
- if [ $cvs = true ]; then
- cd $startdir/src/$pkgname/bin/.blender
- else
- cd $startdir/src/$pkgname-$pkgver/bin/.blender
- fi
+ cd ../../../bin/.blender
cp -R locale $startdir/pkg/usr/share/
- install -D -m644 .bfont.ttf $startdir/pkg/usr/share/blender/.bfont.ttf
- install -D -m644 .Blanguages $startdir/pkg/usr/share/blender/.Blanguages
# install scripts
cd ../../release/
- cp -R scripts $startdir/pkg/usr/share/$pkgname
+ mkdir -p $startdir/pkg/usr/share/$pkgname
+ cp -R scripts $startdir/pkg/usr/share/$pkgname/
+ install -D -m644 datafiles/bfont.ttf \
+ $startdir/pkg/usr/share/$pkgname/.bfont.ttf
+ #install -D -m644 datafiles/.Blanguages $startdir/pkg/usr/share/$pkgname/.Blanguages
# install all additional stuff
# install a freedesktop.org compliant menu entry
More information about the arch-commits
mailing list