summaryrefslogtreecommitdiff
path: root/libre/blender-addon-luxrender/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/blender-addon-luxrender/PKGBUILD')
-rw-r--r--libre/blender-addon-luxrender/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD
index 3d36463fb..f7179bc27 100644
--- a/libre/blender-addon-luxrender/PKGBUILD
+++ b/libre/blender-addon-luxrender/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Márcio Silva <coadde@parabola.nu>
_pkgname=luxrender
-_pkgver=1.5.1
+_pkgver=1.6.0
_pkgverM=${_pkgver%.*}
_bldname=blender
_bldver=2.77
_bldep=17
_srcname=${_pkgname::3}${_bldname::5}25
-_srcver=63e44ef60fb4
+_srcver=885740dce55a
pkgname=$_bldname-addon-$_pkgname
if [[ ${_pkgver/*./} == 0 ]]; then
@@ -19,7 +19,7 @@ else
fi
pkgrel=1
pkgdesc="$_srcname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname package)"
-arch=('any')
+arch=('x86_64')
url="http://www.$_pkgname.net/"
license=('GPL2')
conflicts=("$_srcname")
@@ -29,10 +29,11 @@ if [[ ${_pkgver/*./} == 0 ]]; then
else
source=("$pkgname-$pkgver.tar.bz2::https://bitbucket.org/$_pkgname/$_srcname/get/v${_pkgver/.*/}${_pkgverM#*.}${_pkgver/*./}.tar.bz2")
fi
-source+=('system_config.diff' "$_pkgname.cfg"
+source+=('system_config.diff' 'pyluxcore_path.diff' "$_pkgname.cfg"
'http://www.gnu.org/licenses/gpl-2.0.txt')
-sha512sums=('5d78c880a37418fada0b45c875e14aaf0114f5e9e41ae7900a4acb527d7c12e67a5afbc55d825c8b8244e5de6beb5d15ddb9bb5717a235c824d1f0f5b5c65f0c'
+sha512sums=('b56bb8c14bb7cf03f7c0d2d13002acb42635cbe39acba192379cf1d1a9be650d505fb11417f205e149114e94e52eca05efe3d4ebc37cfbec32b113880f38309b'
'd34aeff49c1ca5406b5a3176efc2b31a319109dcb193248aec792f8b12755b6e76fb864394d0d459408135c67033e06d365a516171f56b4f874a7ee0c576fbc3'
+ '56a10bc8ea27db1acaf866f8f79b969aeaa014e91511751b6cd3897cf52f275d0f9e2605be4dc3fa7b74c5f1d02aa2a8a85cbcc15d728ef335116435ba43eeef'
'9d27216c8fe2457a36e6d23537cb46a6d1eb2981c2413980aa0a06c4017fc6eee9fa008266457f13d4119d77607b5d07c238c2e794e24b1c00f9da4577dcc4c5'
'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957')
@@ -40,7 +41,11 @@ prepare() {
cd "$srcdir"/$_pkgname-$_srcname-$_srcver
# enables loading of the configuration from a system-wide config file
- patch -Np1 < "$srcdir/system_config.diff" || true
+ patch -Np1 < "$srcdir/system_config.diff"
+ # change the search path for pylux* so the pylux* can be found in its new location
+ #find "$pkgdir/usr/share/blender/$_blender/scripts/addons/luxrender" -name "*.py" \
+ # -exec sed -i 's|from.*import pylux|import pylux|' '{}' ';'
+ patch -Np1 < "$srcdir/pyluxcore_path.diff"
}
package() {