[arch-commits] Commit in luxblend25/repos (4 files)
Lukas Jirkovsky
stativ at archlinux.org
Mon Sep 28 16:28:21 UTC 2015
Date: Monday, September 28, 2015 @ 18:28:21
Author: stativ
Revision: 142102
archrelease: copy trunk to community-testing-any
Added:
luxblend25/repos/community-testing-any/
luxblend25/repos/community-testing-any/PKGBUILD
(from rev 142101, luxblend25/trunk/PKGBUILD)
luxblend25/repos/community-testing-any/luxrender.cfg
(from rev 142101, luxblend25/trunk/luxrender.cfg)
luxblend25/repos/community-testing-any/system_config.diff
(from rev 142101, luxblend25/trunk/system_config.diff)
--------------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
luxrender.cfg | 3 +++
system_config.diff | 12 ++++++++++++
3 files changed, 55 insertions(+)
Copied: luxblend25/repos/community-testing-any/PKGBUILD (from rev 142101, luxblend25/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2015-09-28 16:28:21 UTC (rev 142102)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=luxblend25
+pkgver=1.5
+_pkgver=63e44ef60fb4
+_blender=2.76
+pkgrel=2
+pkgdesc="A LuxRender exporter for Blender."
+arch=('any')
+url="http://www.luxrender.net/"
+license=('GPL')
+depends=('blender' 'luxrender')
+source=($pkgname-${pkgver}.tar.bz2::https://bitbucket.org/luxrender/luxblend25/get/${_pkgver}.tar.bz2 \
+ system_config.diff luxrender.cfg)
+md5sums=('301270177f038e08bc99acf25db2b245'
+ 'f42e7bc5476b144cca60bf3e6363158a'
+ 'ec6b7028e48f73650d9315d47cd14f1d')
+
+prepare() {
+ cd "$srcdir"/luxrender-luxblend25-$_pkgver
+
+ # enables loading of the configuration from a system-wide config file
+ patch -Np1 < "$srcdir/system_config.diff" || true
+}
+
+package() {
+ install -d -m755 "$pkgdir"/usr/share/blender/$_blender/scripts/addons
+ cp -a "$srcdir"/luxrender-luxblend25-$_pkgver/src/luxrender \
+ "$pkgdir"/usr/share/blender/$_blender/scripts/addons
+
+ # install luxrender config file so the luxblend find luxrender automatically
+ install -D -m644 luxrender.cfg \
+ "$pkgdir"/usr/share/blender/$_blender/scripts/luxrender.cfg
+
+ # 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|' '{}' ';'
+}
+
+# vim:set ts=2 sw=2 et:
Copied: luxblend25/repos/community-testing-any/luxrender.cfg (from rev 142101, luxblend25/trunk/luxrender.cfg)
===================================================================
--- community-testing-any/luxrender.cfg (rev 0)
+++ community-testing-any/luxrender.cfg 2015-09-28 16:28:21 UTC (rev 142102)
@@ -0,0 +1,3 @@
+[defaults]
+install_path = /usr/bin
+
Copied: luxblend25/repos/community-testing-any/system_config.diff (from rev 142101, luxblend25/trunk/system_config.diff)
===================================================================
--- community-testing-any/system_config.diff (rev 0)
+++ community-testing-any/system_config.diff 2015-09-28 16:28:21 UTC (rev 142102)
@@ -0,0 +1,12 @@
+diff -rup luxrender-luxblend25-a249c861c2f3/src/luxrender/extensions_framework/util.py luxrender-luxblend25-a249c861c2f3.new/src/luxrender/extensions_framework/util.py
+--- luxrender-luxblend25-a249c861c2f3/src/luxrender/extensions_framework/util.py 2015-01-27 20:48:23.000000000 +0100
++++ luxrender-luxblend25-a249c861c2f3.new/src/luxrender/extensions_framework/util.py 2015-02-16 10:35:51.456810705 +0100
+@@ -99,7 +99,7 @@ def find_config_value(module, section, k
+ fc = []
+
+ for p in config_paths:
+- if os.path.exists(p) and os.path.isdir(p) and os.access(p, os.W_OK):
++ if os.path.exists(p) and os.path.isdir(p):
+ fc.append('/'.join([p, '%s.cfg' % module]))
+
+ if len(fc) < 1:
More information about the arch-commits
mailing list