diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
commit | d0f33415f254cb2fee06fd89f9cfed4535322f37 (patch) | |
tree | 66c13d72eac4f0110772b4675231c891334137bc /pcr/yafaray/PKGBUILD | |
parent | 7e108c74958ec076a3734822f61f145d0d69547f (diff) |
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'pcr/yafaray/PKGBUILD')
-rw-r--r-- | pcr/yafaray/PKGBUILD | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD deleted file mode 100644 index c27f6c587..000000000 --- a/pcr/yafaray/PKGBUILD +++ /dev/null @@ -1,112 +0,0 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> - -_pkgname=yafaray -_pkgver=1.5 -_pkgrel=1.1 -_pkgdate=20130921 -_bldname=blender -_bldver=2.69 -_bldep=10 -_gitname=Core -_addname=${_bldname^}-Exporter -_addrel=1 -_adddate=20130918 -_pyver=3.3 - -# Sat Sep 21 00:41:17 2013 -0700 - Merge pull request #70 from YafaRay/bidirectional_cleanup -_srcver=caef0fc92078871a5dcd2b9f547d954eca2941f1 -# Fri Oct 18 19:07:53 2013 +0200 - Fix AO issue (wizofboz): -Fixed error of indentation in 'yaf_integrator.py' causer of the error in the use of Ambient Occlusion. -_addver=1874704e44c57bcea478d652563639e79b00a766 - -pkgname=( - $_pkgname - $_bldname-addon-$_pkgname -) -pkgver=$_pkgver.$_pkgdate -pkgrel=$_pkgrel -pkgdesc='A free software raytracing engine' -arch=( - mips64el - x86_64 - i686 -) -url=http://www.$_pkgname.org -license=LGPL2.1 -depends=( - freetype2 - libjpeg - libxml2 - openexr -) -optdepends=( - 'python: Python bindings' - 'qt4: QT GUI' - "${pkgname[1]}: ${_bldname^} addon renderer" -) -makedepends=( - cmake - git - python - qt4 - swig -) -source=( - $_gitname-$_srcver.tar.gz::https://github.com/YafaRay/$_gitname/archive/$_srcver.tar.gz - $_addname-$_addver.tar.gz::https://github.com/YafaRay/$_addname/archive/$_addver.tar.gz -) -sha512sums=( - 0470e26e2c7956f2d2dc18888cffaf7c2916df42c8208d6e0f4e1d5c438660dd6ae99a1e5f06a118175a8b2a97c89e482b1b069ced2abf3916bbfc60fac54e75 - 3c2207dbca7a70ba82ea6d835785401a24c7813d65380bf8c46a527fff6e65a0a7c101b60b5e8b88163ab07d3d42ec9f9aacbcf090f73062d3643c1c314c97d8 -) - -prepare() { - cd $srcdir/$_gitname-$_srcver - - msg 'Renaming addon dir' - mv -v $srcdir/$_addname-$_addver $srcdir/$_pkgname - - msg 'renaming wrong OS name' - sed -i 's|Linux|GNU/Linux| - ' $srcdir/$_pkgname/prop/yaf_scene.py - - [[ -d build ]] && rm -vr build - mkdir -v build -} - -build() { - cd $srcdir/$_gitname-$_srcver/build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr\ - -DYAF_PY_VERSION=$_pyver\ - -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver - make -} - -package_yafaray() { - cd $srcdir/$_gitname-$_srcver/build - make DESTDIR=$pkgdir install -} - -package_blender-addon-yafaray() { - pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (built for the $_bldname-libre package)" - arch=any - depends=( - $_pkgname=$pkgver - "$_bldname-libre>=$_bldep:$_bldver" - "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))" - ) - pkgver=$_pkgver.$_adddate.v$_bldver - pkgrel=$_addrel - optdepends= - - cd $srcdir - - a=/usr/lib - b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin - - install -vd $b && cp -a $_pkgname ${b%$_pkgname/bin} - ln -vsf $a/lib${_pkgname}core.so $b/lib${_pkgname}core.so - ln -vsf $a/lib${_pkgname}plugin.so $b/lib${_pkgname}plugin.so - ln -vsf $a/$_pkgname $b/plugins -} - -# vim:set ts=2 sw=2 et: |