From 843405af1ec6661daf8eb6084e4e804d4daad98d Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 21 Jun 2013 03:58:01 -0300 Subject: yafaray: add pkg to pcr repo --- pcr/yafaray/PKGBUILD | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 pcr/yafaray/PKGBUILD (limited to 'pcr/yafaray/PKGBUILD') diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD new file mode 100644 index 000000000..e3c0381d8 --- /dev/null +++ b/pcr/yafaray/PKGBUILD @@ -0,0 +1,99 @@ +# Maintainer: Márcio Silva + +pkgname=( + yafaray + blender-addon-yafaray +) +_pkgname=${pkgname[0]} +_bldname=${pkgname[1]::7} +_gitname=Core +_addname=${_bldname^}-Exporter +_pkgdate=20130510 +pkgver=1.5.$_pkgdate +_srcver=44323def5b3866ff601fd401ef2160b80ced8141 # Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background +_bldver=2.67 +_bldep=8 +_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 +) +optdepends=( + 'python: Python bindings' + 'qt4: QT GUI' + "${pkgname[1]}: ${_bldname^} addon renderer" +) +makedepends=( + cmake + git + python + qt4 + swig +) +source=( + git://github.com/YafaRay/$_gitname.git + git://github.com/YafaRay/$_addname.git +) +sha512sums=(SKIP SKIP) + +prepare() { + cd $srcdir/$_gitname + + git checkout $_srcver + + [[ -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() { + cd $srcdir/$_gitname/build + setarch $CARCH make DESTDIR=$pkgdir install +} + +package_blender-addon-yafaray() { + pkgver=$pkgver.v$_bldver + _srcver=e6688fc4f480bcb1ae7d0a6dbe65563b3d070169 # Fri May 10 00:24:58 2013 -0700 - Merge pull request #14 from DarkTide/master // Version bump, and some other fixes + 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= + + cd $srcdir/$_addname + + a=/usr/lib + b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin + + git checkout $_srcver + 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: -- cgit v1.2.3 From 360e60ef91ce9cc3e5e2fd73dcb0f3b1c57092d9 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Thu, 18 Jul 2013 01:38:39 -0300 Subject: yafaray: rebuild pkg --- pcr/yafaray/PKGBUILD | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) (limited to 'pcr/yafaray/PKGBUILD') diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index e3c0381d8..da46f5bfa 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -1,27 +1,32 @@ # Maintainer: Márcio Silva -pkgname=( - yafaray - blender-addon-yafaray -) -_pkgname=${pkgname[0]} -_bldname=${pkgname[1]::7} +_pkgname=yafaray +_bldname=blender _gitname=Core _addname=${_bldname^}-Exporter _pkgdate=20130510 -pkgver=1.5.$_pkgdate -_srcver=44323def5b3866ff601fd401ef2160b80ced8141 # Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background _bldver=2.67 _bldep=8 _pyver=3.3 -pkgrel=1 + +# Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background +_srcver=44323def5b3866ff601fd401ef2160b80ced8141 +# Fri May 10 00:24:58 2013 -0700 - Merge pull request #14 from DarkTide/master // Version bump, and some other fixes +_addver=e6688fc4f480bcb1ae7d0a6dbe65563b3d070169 + +pkgname=( + $_pkgname + $_bldname-addon-$_pkgname +) +pkgver=1.5.$_pkgdate +pkgrel=2 pkgdesc='A libre software raytracing engine' arch=( i686 x86_64 mips64el ) -url="http://www.$_pkgname.org" +url=http://www.$_pkgname.org license=LGPL2.1 depends=( freetype2 @@ -52,34 +57,32 @@ prepare() { git checkout $_srcver - [[ -d build ]] && rm -r build - mkdir build + [[ -d build ]] && rm -vr build + mkdir -v build } build() { cd $srcdir/$_gitname/build - - setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\ + cmake .. -DCMAKE_INSTALL_PREFIX=/usr\ -DYAF_PY_VERSION=$_pyver\ -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver - setarch $CARCH make + make } package_yafaray() { cd $srcdir/$_gitname/build - setarch $CARCH make DESTDIR=$pkgdir install + make DESTDIR=$pkgdir install } package_blender-addon-yafaray() { - pkgver=$pkgver.v$_bldver - _srcver=e6688fc4f480bcb1ae7d0a6dbe65563b3d070169 # Fri May 10 00:24:58 2013 -0700 - Merge pull request #14 from DarkTide/master // Version bump, and some other fixes 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} + $_pkgname=$pkgver "$_bldname>=$(($_bldep-1)):$_bldver" "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))" ) + pkgver=$pkgver.v$_bldver optdepends= cd $srcdir/$_addname @@ -87,13 +90,13 @@ package_blender-addon-yafaray() { a=/usr/lib b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin - git checkout $_srcver + git checkout $_addver 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 + install -vd $b + 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: -- cgit v1.2.3 From 361bf05b605fb239340fe2acb2d206360ae12566 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Thu, 18 Jul 2013 02:34:51 -0300 Subject: yafaray: fixing pkgbuild --- pcr/yafaray/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pcr/yafaray/PKGBUILD') diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index da46f5bfa..511f2b93e 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -22,9 +22,9 @@ pkgver=1.5.$_pkgdate pkgrel=2 pkgdesc='A libre software raytracing engine' arch=( - i686 - x86_64 mips64el + x86_64 + i686 ) url=http://www.$_pkgname.org license=LGPL2.1 -- cgit v1.2.3 From 9e62ec6eaae12e790cc10b114aef74ed7fb53416 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 19 Jul 2013 21:07:00 -0300 Subject: blender-addon-yafaray: changing to 2.68 ver. --- pcr/yafaray/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pcr/yafaray/PKGBUILD') diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index 511f2b93e..b12b5dd52 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -5,8 +5,9 @@ _bldname=blender _gitname=Core _addname=${_bldname^}-Exporter _pkgdate=20130510 -_bldver=2.67 -_bldep=8 +_bldver=2.68 +_bldep=9 +_addrel=1 _pyver=3.3 # Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background @@ -83,6 +84,7 @@ package_blender-addon-yafaray() { "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))" ) pkgver=$pkgver.v$_bldver + pkgrel=$_addrel optdepends= cd $srcdir/$_addname -- cgit v1.2.3 From d0ca7f6e8ee7873ac3624c01a192d8b62c3dc5ec Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 19 Jul 2013 21:15:08 -0300 Subject: yafaray: fixing pkgbuild --- pcr/yafaray/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pcr/yafaray/PKGBUILD') diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index b12b5dd52..bbaa2d3ae 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -1,12 +1,12 @@ # Maintainer: Márcio Silva _pkgname=yafaray -_bldname=blender -_gitname=Core -_addname=${_bldname^}-Exporter _pkgdate=20130510 +_bldname=blender _bldver=2.68 _bldep=9 +_gitname=Core +_addname=${_bldname^}-Exporter _addrel=1 _pyver=3.3 -- cgit v1.2.3 From c0175d1ddf33bf25f14366ab00916bbf3e4b0467 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Sun, 21 Jul 2013 08:08:50 -0300 Subject: blender-libre and addons: updating epoch --- libre/blender-addon-luxrender/PKGBUILD | 4 ++-- libre/blender-libre/PKGBUILD | 2 +- pcr/mitsuba/PKGBUILD | 4 ++-- pcr/yafaray/PKGBUILD | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'pcr/yafaray/PKGBUILD') diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD index fad4692b2..6ec5ec2f5 100644 --- a/libre/blender-addon-luxrender/PKGBUILD +++ b/libre/blender-addon-luxrender/PKGBUILD @@ -4,13 +4,13 @@ _srcname=luxrender _pkgver=1.2.1 _bldname=blender _bldver=2.68 -_bldep=9 +_bldep=10 _pkgname=${_srcname::3}${_bldname::5}25 _srcver=c9deae0646d0 pkgname=$_bldname-addon-$_srcname pkgver=$_pkgver.v$_bldver -pkgrel=1 +pkgrel=2 pkgdesc="$_pkgname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname-libre package)" arch=any url=http://www.$_srcname.net/ diff --git a/libre/blender-libre/PKGBUILD b/libre/blender-libre/PKGBUILD index ba061c681..b39705eed 100644 --- a/libre/blender-libre/PKGBUILD +++ b/libre/blender-libre/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Márcio Silva _pkgname=blender -epoch=8 +epoch=9 _pkgver=2.68 pkgrel=1 _jpgver=1.5 diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD index 7bc29b9ef..b83e7fef9 100644 --- a/pcr/mitsuba/PKGBUILD +++ b/pcr/mitsuba/PKGBUILD @@ -3,11 +3,11 @@ _pkgname=mitsuba _bldname=blender _bldver=2.68 -_bldep=9 +_bldep=10 _addname=$_pkgname-$_bldname _adddat=20130320 _addrev=40 -_addrel=1 +_addrel=2 _pyver=3.3 # Wed Mar 20 01:30:37 2013 +0100 rev:40 ($srcdir/$_addname/${pkgname[0]}/__init__.py:bl_info>version) diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index bbaa2d3ae..e42a63269 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -4,10 +4,10 @@ _pkgname=yafaray _pkgdate=20130510 _bldname=blender _bldver=2.68 -_bldep=9 +_bldep=10 _gitname=Core _addname=${_bldname^}-Exporter -_addrel=1 +_addrel=2 _pyver=3.3 # Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background -- cgit v1.2.3 From 79825e29156125adfd6ecdc14575e394a104e009 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 2 Aug 2013 00:25:27 -0300 Subject: yafaray: fixing pkg --- pcr/yafaray/PKGBUILD | 54 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 23 deletions(-) (limited to 'pcr/yafaray/PKGBUILD') diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index e42a63269..458181279 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -1,27 +1,30 @@ # Maintainer: Márcio Silva _pkgname=yafaray +_pkgver=1.5 +_pkgrel=3 _pkgdate=20130510 _bldname=blender _bldver=2.68 -_bldep=10 +_bldep=9 _gitname=Core _addname=${_bldname^}-Exporter -_addrel=2 +_addrel=1 +_adddate=20130623 _pyver=3.3 # Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background _srcver=44323def5b3866ff601fd401ef2160b80ced8141 -# Fri May 10 00:24:58 2013 -0700 - Merge pull request #14 from DarkTide/master // Version bump, and some other fixes -_addver=e6688fc4f480bcb1ae7d0a6dbe65563b3d070169 +# Sun Jun 23 15:10:57 2013 +0200 - Refine AA changes for SPPM integrator +_addver=9bcb22e8b8bd9281999ad36c5b22604f671484bb pkgname=( $_pkgname $_bldname-addon-$_pkgname ) -pkgver=1.5.$_pkgdate -pkgrel=2 -pkgdesc='A libre software raytracing engine' +pkgver=$_pkgver.$_pkgdate +pkgrel=$_pkgrel +pkgdesc='A free software raytracing engine' arch=( mips64el x86_64 @@ -33,7 +36,7 @@ depends=( freetype2 libjpeg libxml2 - openexr + openexr-libre ) optdepends=( 'python: Python bindings' @@ -48,22 +51,30 @@ makedepends=( swig ) source=( - git://github.com/YafaRay/$_gitname.git - git://github.com/YafaRay/$_addname.git + $_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=( + 5045a3de89e0a2d029e8b6ce962eeadeb5587369217d11d42ca79706a65e6ac7b07584f68307f76c90dbaf190af9626e3351e391107a4e763fc9e41d48cfd7a6 + 59322686d0623481b38c531e2a8350cafcf8942eb08df2dfcc8f59657715aa716ca34d473f862291e8a375fccdf717d93898caa3e344cfa1a3e5e760c903d32c ) -sha512sums=(SKIP SKIP) prepare() { - cd $srcdir/$_gitname + cd $srcdir/$_gitname-$_srcver + + msg 'Renaming addon dir' + mv -v $srcdir/$_addname-$_addver $srcdir/$_pkgname - git checkout $_srcver + 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/build + cd $srcdir/$_gitname-$_srcver/build cmake .. -DCMAKE_INSTALL_PREFIX=/usr\ -DYAF_PY_VERSION=$_pyver\ -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver @@ -71,7 +82,7 @@ build() { } package_yafaray() { - cd $srcdir/$_gitname/build + cd $srcdir/$_gitname-$_srcver/build make DESTDIR=$pkgdir install } @@ -80,22 +91,19 @@ package_blender-addon-yafaray() { arch=any depends=( $_pkgname=$pkgver - "$_bldname>=$(($_bldep-1)):$_bldver" - "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))" + "$_bldname-libre>=$_bldep:$_bldver" + "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))" ) - pkgver=$pkgver.v$_bldver + pkgver=$_pkgver.$_adddate.v$_bldver pkgrel=$_addrel optdepends= - cd $srcdir/$_addname + cd $srcdir a=/usr/lib b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin - git checkout $_addver - git checkout-index -a -f --prefix=${b%bin} - - install -vd $b + 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 -- cgit v1.2.3