blender update

This commit is contained in:
abveritas 2011-10-25 15:46:36 +00:00
parent 19981502b9
commit 8d2b43dbbc
2 changed files with 18 additions and 17 deletions

View File

@ -9,7 +9,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=blender
pkgver=2.60
pkgver=2.60.1
_pkgver=2.60a
pkgrel=1
pkgdesc="A fully integrated 3D graphics creation suite"
arch=('i686' 'x86_64')
@ -19,11 +20,11 @@ depends=('libpng' 'libtiff' 'openexr' 'sdl' 'python3' 'desktop-file-utils' 'shar
'mesa' 'freetype2' 'openal' 'libsndfile' 'libsamplerate' 'ffmpeg' 'fftw')
makedepends=('cmake')
install=blender.install
source=(http://download.blender.org/source/$pkgname-$pkgver.tar.gz)
md5sums=('2951df9d5f004c5e0375b53969205a38')
source=(http://download.blender.org/source/$pkgname-$_pkgver.tar.gz)
md5sums=('cc7e4a56c9f7941c33c958ff0338f9a6')
build() {
cd "$srcdir/$pkgname-$pkgver"
cd "$srcdir/$pkgname-$_pkgver"
mkdir -p build
cd build
@ -48,22 +49,22 @@ build() {
make $MAKEFLAGS
cp -rf "$srcdir"/${pkgname}-$pkgver/release/plugins/* \
"$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi/
cd "$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi
cp -rf "$srcdir"/${pkgname}-$_pkgver/release/plugins/* \
"$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi/
cd "$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi
chmod 755 bmake
make
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
cd "$srcdir/$pkgname-$_pkgver/build"
make DESTDIR="${pkgdir}" install
python3 -m compileall "${pkgdir}/usr/share/blender"
# install plugins
install -d -m755 "$pkgdir"/usr/share/blender/${pkgver%[a-z]}/plugins/{sequence,texture}
cp "$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi/sequence/*.so \
"$pkgdir"/usr/share/blender/${pkgver%[a-z]}/plugins/sequence/
cp "$srcdir"/${pkgname}-$pkgver/source/blender/blenpluginapi/texture/*.so \
"$pkgdir"/usr/share/blender/${pkgver%[a-z]}/plugins/texture/
install -d -m755 "$pkgdir"/usr/share/blender/${_pkgver%[a-z]}/plugins/{sequence,texture}
cp "$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi/sequence/*.so \
"$pkgdir"/usr/share/blender/${_pkgver%[a-z]}/plugins/sequence/
cp "$srcdir"/${pkgname}-$_pkgver/source/blender/blenpluginapi/texture/*.so \
"$pkgdir"/usr/share/blender/${_pkgver%[a-z]}/plugins/texture/
}

View File

@ -8,7 +8,7 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=rekonq
pkgver=0.7.92
pkgver=0.8.0
pkgrel=1
pkgdesc='A WebKit based web browser for KDE'
arch=('i686' 'x86_64')
@ -17,14 +17,14 @@ license=('GPL')
depends=('kdelibs>=4.7.0' 'kde-baseapps>=4.7.0' 'qt>=4.7.2')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
install=${pkgname}.install
source=(${pkgname}.tar.gz)
md5sums=('a83ce9910de9bb120f2fd1777ef15297')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('b11003fa833317e5948aa1491e230806')
build(){
cd ${srcdir}
mkdir -p build
cd build
cmake ../${pkgname} \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr
make