summaryrefslogtreecommitdiff
path: root/pcr/yafaray-git
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-21 03:58:49 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-21 03:58:49 -0300
commit5bb09e8eb70b20a612c3f2cb795a8a61980ae4e3 (patch)
treee84e6f41c6cf5840a9be16b619e9c0d050f9bb7e /pcr/yafaray-git
parent843405af1ec6661daf8eb6084e4e804d4daad98d (diff)
downloadabslibre-5bb09e8eb70b20a612c3f2cb795a8a61980ae4e3.tar.gz
abslibre-5bb09e8eb70b20a612c3f2cb795a8a61980ae4e3.tar.bz2
abslibre-5bb09e8eb70b20a612c3f2cb795a8a61980ae4e3.zip
drop yafaray git
Diffstat (limited to 'pcr/yafaray-git')
-rw-r--r--pcr/yafaray-git/PKGBUILD109
1 files changed, 0 insertions, 109 deletions
diff --git a/pcr/yafaray-git/PKGBUILD b/pcr/yafaray-git/PKGBUILD
deleted file mode 100644
index 1d4b3436c..000000000
--- a/pcr/yafaray-git/PKGBUILD
+++ /dev/null
@@ -1,109 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=(
- yafaray-git
- blender-addon-yafaray-git
-)
-_pkgflag=git
-_pkgname=${pkgname[0]%-$_pkgflag}
-_bldname=${pkgname[1]::7}
-_gitname=Core
-_addname=${_bldname^}-Exporter
-pkgver=$(LC_ALL=C date -u +%Y%m%d)
-_pkgver=1.2
-_bldver=2.66
-_bldep=7
-_pyver=3.3
-pkgrel=1
-pkgdesc='A libre software raytracing engine'
-arch=(
- i686
- x86_64
- mips64el
-)
-url="http://www.$_pkgname.org"
-license=LGPL2.1
-depends=(
- freetype2
- libjpeg
- libxml2
- 'openexr=2.0.0'
-)
-optdepends=(
- 'python: Python bindings'
- 'qt4: QT GUI'
- "${pkgname[1]}: ${_bldname^} addon renderer"
-)
-makedepends=(
- cmake
- git
- python
- qt4
- swig
-)
-provides=($_pkgname=$_pkgver)
-conflicts=$_pkgname
-source=(
- git://github.com/YafaRay/$_gitname.$_pkgflag
- git://github.com/YafaRay/$_addname.$_pkgflag
-)
-sha512sums=(SKIP SKIP)
-
-prepare() {
- cd $srcdir/$_gitname
-
- [[ -d build ]] && rm -r build
- mkdir build
-}
-
-build() {
- cd $srcdir/$_gitname/build
-
- setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
- -DYAF_PY_VERSION=$_pyver\
- -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver
-
- setarch $CARCH make
-}
-
-package_yafaray-git() {
- cd $srcdir/$_gitname/build
- setarch $CARCH make DESTDIR=$pkgdir install
-}
-
-package_blender-addon-yafaray-git() {
- pkgver=$pkgver.v$_bldver
- pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (built for the $_bldname-libre package)"
- arch=any
- depends=(
- ${pkgname:14}=${pkgver%.v$_bldver}
- "$_bldname>=$(($_bldep-1)):$_bldver"
- "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))"
- )
- optdepends=''
- provides=(
- ${pkgname%-$_pkgflag}=$_pkgver.v$_bldver
- $_pkgname-$_bldname-exporter=$_pkgver.v$_bldver
- $_pkgname-$_bldname-exporter-$_pkgflag=$pkgver
- )
- conflicts=(
- ${pkgname%-$_pkgflag}
- $_pkgname-$_bldname-exporter
- $_pkgname-$_bldname-exporter-$_pkgflag
- )
- replaces=$_pkgname-$_bldname-exporter-$_pkgflag
-
- cd $srcdir/$_addname
-
- a=/usr/lib
- b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin
-
- git checkout-index -a -f --prefix=${b%bin}
-
- install -d $b
- ln -sf $a/lib${_pkgname}core.so $b/lib${_pkgname}core.so
- ln -sf $a/lib${_pkgname}plugin.so $b/lib${_pkgname}plugin.so
- ln -sf $a/$_pkgname $b/plugins
-}
-
-# vim:set ts=2 sw=2 et: