summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/mitsuba/PKGBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index 600ddd7f1..3b3496ab6 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -1,19 +1,19 @@
# Maintainer: Márcio Silva <coadde@parabola.nu>
_pkgname=mitsuba
-_pkgver=0.4.4
-_pkgrel=5.1
+_pkgver=0.5.0
+_pkgrel=1
_bldname=blender
-_bldver=2.69
-_bldep=10
+_bldver=2.70
+_bldep=11
_addname=$_pkgname-$_bldname
-_adddat=20130320
-_addrev=47
+_adddat=20140325
+_addrev=55
_addrel=1
_pyver=3.3
-# Thu May 09 22:07:37 2013 +0200 - rev:47:8689e0896cf6 ($srcdir/$_addname/$_pkgname/__init__.py:bl_info>version)
-_addver=0.2.1
+# Tue Mar 25 02:35:10 2014 +0100 - rev:55:2e925643723b ($srcdir/$_addname/mtsblend/__init__.py:bl_info>version)
+_addver=0.3.0
pkgname=(
$_pkgname
@@ -54,8 +54,8 @@ source=(
$_addname-$_addver-$_addrev.tar.bz2::${url}repos/exporters/$_addname/archive/$_addrev.tar.bz2
)
sha512sums=(
- 01967fb84884fbab0ada3775c8f8c54b5523a97ebc9dedd559da3cb54543ecc919d3251c09718358405c19133218048fdb1c64f83d0637cf7b98acccb7564a1c
- 514cbb1300229599c536183ec300c3074aca349e0ddaa36ae7ae868a2c6b466116d9373a8d9ea89dcd1d09685e9a97bbd5c11121860da1a1bf45b921bcd21ca7
+ cb30ca95ada36bec56aca3af55af19511ae64f05631d3e221308dee6fe04a1de08daab6e89c9025c8f6492731ed586d40d92f2168c5d49a060f31cd0afc7d0a7
+ d8b1b1fb33e94f6acc843fabec7479b0f1cb186b37e20e0bf176c0b7e9562b0f7fda5b14f870160dd370ccfdce37c1912817825ec1b3783624c05f23acdcf7ed
)
prepare() {
@@ -108,6 +108,7 @@ package_mitsuba() {
install -vm644 $b/src/mtsgui/resources/${_pkgname}48.png $a/share/pixmaps
install -vm644 $b/doc/license.txt $a/share/licenses/$_pkgname/LICENSE
mv -v $a/{m{itsuba,ts{gui,import,srv,util}},bin}
+ #mv -v $a/{m{itsuba,ts{gui,srv,util}},bin}
mv -v $a/lib{$pkgname-{bidir,core,hw,render}.so,}
mv -v $a/{{data,plugins},share/$_pkgname}
mv -v $a/{python/mitsuba.so,lib/python$_pyver/lib-dynload}
@@ -132,13 +133,13 @@ package_blender-addon-mitsuba() {
msg 'fixing binary path'
sed -i 's|'"'default'"': efutil.find_config_value('"'mitsuba', 'defaults', 'binary_path', ''"')|'"'default'"': '"'/usr/bin'"'|
- ' $_pkgname/properties/engine.py
+ ' mtsblend/properties/engine.py
a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
b=$pkgdir/usr/share/licenses/$pkgname
c=$srcdir/$_pkgname-v$_pkgver/doc/license.txt
- install -vd $a && cp -a $_pkgname $a
+ install -vd $a && cp -a mtsblend $a/$_pkgname
install -vd $b && install -m644 $c $b/LICENSE
}