diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-07 22:51:49 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-07 22:51:49 -0300 |
commit | ff187677e8369a16bce3a2e385ed9c2db783fc47 (patch) | |
tree | 7a2d624d12c8603c4f59ba0a638900ab5cc5787d | |
parent | 3489099ccccafa9247813668883e49303b161f31 (diff) | |
parent | 26c3a692ed6df2f8f0293ab8113c6fc0772318fb (diff) |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
-rw-r--r-- | libre/blender-addon-luxrender/PKGBUILD | 51 | ||||
-rw-r--r-- | pcr/blender-addon-ogre/PKGBUILD | 32 | ||||
-rw-r--r-- | pcr/mitsuba/PKGBUILD | 11 | ||||
-rw-r--r-- | pcr/yafaray/PKGBUILD | 11 |
4 files changed, 58 insertions, 47 deletions
diff --git a/libre/blender-addon-luxrender/PKGBUILD b/libre/blender-addon-luxrender/PKGBUILD index 0956d9645..d701b1d79 100644 --- a/libre/blender-addon-luxrender/PKGBUILD +++ b/libre/blender-addon-luxrender/PKGBUILD @@ -1,43 +1,46 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> -_srcname=luxrender +_pkgname=luxrender _pkgver=1.3.1 +_pkgverM=${_pkgver%.*} _bldname=blender _bldver=2.71 _bldep=14 -_pkgname=${_srcname::3}${_bldname::5}25 +_srcname=${_pkgname::3}${_bldname::5}25 _srcver=ad6536b0dda8 -pkgname=$_bldname-addon-$_srcname +pkgname=$_bldname-addon-$_pkgname pkgver=$_pkgver.v$_bldver -pkgrel=2 -pkgdesc="$_pkgname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname package)" -arch=any -url=http://www.$_srcname.net/ -license=GPL -depends=( - $_srcname=$_pkgver - "$_bldname>=$_bldep:$_bldver" - "$_bldname<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))" -) -provides=($_pkgname=$_pkgver) -conflicts=($_pkgname) -replaces=($_pkgname) -source=http://src.$_srcname.net/$_pkgname/get/v${_pkgver::1}${_pkgver:2:1}${_pkgver:4:1}.tar.bz2 -sha512sums=db2fd1063320825dc55c456b1596c25ccd7298ca331b32768ccc32c80e359e515aabb0c972f21ae33d16f8815c07fef7fdd6ffc7fade98a100fb824dc0a5905e +pkgrel=3 +pkgdesc="$_srcname: A addon for the ${_bldname^} which allows render and export with LuxRender (built for the $_bldname package)" +arch=('any') +url="http://www.$_pkgname.net/" +license=('GPL2') +depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver/.*/}.$((${_pkgverM#*.}+1)).$((${_pkgver/*./}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver/.*/}.$((${_bldver/*./}+1))") +provides=("$_srcname=$_pkgver") +conflicts=("$_srcname") +replaces=("$_srcname") +source=("http://src.$_pkgname.net/$_srcname/get/v${_pkgver/.*/}${_pkgverM#*.}${_pkgver/*./}.tar.bz2" + 'http://www.gnu.org/licenses/gpl-2.0.txt') +sha512sums=('db2fd1063320825dc55c456b1596c25ccd7298ca331b32768ccc32c80e359e515aabb0c972f21ae33d16f8815c07fef7fdd6ffc7fade98a100fb824dc0a5905e' + 'aee80b1f9f7f4a8a00dcf6e6ce6c41988dcaedc4de19d9d04460cbfb05d99829ffe8f9d038468eabbfba4d65b38e8dbef5ecf5eb8a1b891d9839cda6c48ee957') prepare() { - sed -i "\|def find_luxrender_path[(][)]|,+9 d - s|find_luxrender_path[(][)]|'/usr/bin'| - " $srcdir/$_srcname-$_pkgname-$_srcver/src/$_srcname/__init__.py + sed -i "\|def find_"$_pkgname"_path[(][)]|,+9 d + s|find_"$_pkgname"_path[(][)]|'/usr/bin'| + " $srcdir/$_pkgname-$_srcname-$_srcver/src/$_pkgname/__init__.py } package() { - a=$srcdir/$_srcname-$_pkgname-$_srcver/src/$_srcname + a=$srcdir/$_pkgname-$_srcname-$_srcver/src/$_pkgname b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons - install -d -m755 $b && cp -a $a $b + c=$pkgdir/usr/share/licenses/$pkgname + + install -vd $b && cp -va $a $b + install -vd $c && install -vm644 $startdir/gpl-2.0.txt $c/GPL-v2.0 + # change the search path in exporter so it finds pylux in its new location - sed -i 's|from.*import pylux|import pylux|' $b/$_srcname/outputs/pure_api.py + sed -i 's|from.*import pylux|import pylux|' $b/$_pkgname/outputs/pure_api.py } # vim:set ts=2 sw=2 et: diff --git a/pcr/blender-addon-ogre/PKGBUILD b/pcr/blender-addon-ogre/PKGBUILD index 6df1b2e34..6dbe466e2 100644 --- a/pcr/blender-addon-ogre/PKGBUILD +++ b/pcr/blender-addon-ogre/PKGBUILD @@ -1,23 +1,25 @@ # Maintainer: Márcio Silva <coadde@parabola.nu> +_pkgname=ogre +_pkgver=0.6.0 +_pkgverM=${_pkgver%.*} _bldname=blender _bldver=2.71 _bldep=14 +_srcname=${_bldname}2$_pkgname -_pkgname=ogre pkgname=$_bldname-addon-$_pkgname -pkgver=0.6.0 -pkgrel=6 -pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname package)" -arch=any -url=https://code.google.com/p/${_bldname}2$_pkgname -license=LGPL2.1 -depends=( - "$_bldname>=$_bldep:$_bldver" - "$_bldname<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))" -) -source=https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip -sha512sums=15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712 +pkgver=$_pkgver +pkgrel=7 +pkgdesc="$_srcname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname package)" +arch=('any') +url="https://code.google.com/p/${_bldname}2$_pkgname" +license=('LGPL2.1') +depends=("$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver/.*/}.$((${_bldver/*./}+1))") +source=("https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip" + 'http://www.gnu.org/licenses/lgpl-2.1.txt') +sha512sums=('15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712' + '1bca76c9f2f559a7851c278650125cd4f44a7ae4a96ceee6a6ba81d34d28fe7d6125c5ee459fef729b6a2a0eba3075c0841c8a156b3a26f66194f77f7d49151c') prepare() { msg 'renaming wrong OS name' @@ -26,6 +28,10 @@ prepare() { package() { cd $srcdir + a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname + b=$pkgdir/usr/share/licenses/$pkgname + install -vd $a && cp -va io_export_${_pkgname}DotScene.py $a/__init__.py + install -vd $b && install -vm644 $startdir/lgpl-2.1.txt $b/LGPL-v2.1 } diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD index c0116cd21..b030691a6 100644 --- a/pcr/mitsuba/PKGBUILD +++ b/pcr/mitsuba/PKGBUILD @@ -9,6 +9,7 @@ _build_add=yes _pkgname=mitsuba _pkgver=0.5.0 +_pkgverM=${_pkgver%.*} _pkgdat=20140225 _pkgrev=2030 _pkgrel=5 @@ -25,7 +26,7 @@ _pyver=3.4 pkgbase=$_pkgname [[ $_build_pkg == yes ]] && pkgname+=("$_pkgname") [[ $_build_add == yes ]] && pkgname+=("$_bldname-addon-$_pkgname") -pkgver=$_pkgver.$_pkgdat +pkgver=$_pkgver.$_pkgrev pkgrel=$_pkgrel arch=('i686' 'x86_64' 'mips64el') url="https://www.$_pkgname-renderer.org" @@ -98,7 +99,7 @@ package_mitsuba() { b=$pkgdir/usr/share/licenses/$pkgname - install -vd $b && install -m644 ../doc/license.txt $b/GPL-v3.0 + install -vd $b && install -vm644 ../doc/license.txt $b/GPL-v3.0 msg 'fixing files and folders location' a=$pkgdir/usr @@ -120,7 +121,7 @@ package_blender-addon-mitsuba() { pkgdesc="A addon for the ${_bldname^} which allows render and export with Mitsuba (built for the $_bldname package)" arch=('any') license=('GPL2') - depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver::1}.$((${_pkgver:2:1}+1)).$((${_pkgver:4}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver::1}.$((${_bldver:2}+1))") + depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver/.*/}.$((${_pkgverM#*.}+1)).$((${_pkgver/*./}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver/.*/}.$((${_bldver/*./}+1))") makedepends=() cd $srcdir/$_addname-$_addver.$_addrev @@ -132,8 +133,8 @@ package_blender-addon-mitsuba() { a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons b=$pkgdir/usr/share/licenses/$pkgname - install -vd $a && cp -a mtsblend $a/$_pkgname - install -vd $b && install -m644 $startdir/gpl-2.0.txt $b/GPL-v2.0 + install -vd $a && cp -va mtsblend $a/$_pkgname + install -vd $b && install -vm644 $startdir/gpl-2.0.txt $b/GPL-v2.0 } # vim:set ts=2 sw=2 et: diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD index 71674f2ac..105db9293 100644 --- a/pcr/yafaray/PKGBUILD +++ b/pcr/yafaray/PKGBUILD @@ -9,6 +9,7 @@ _build_add=yes _pkgname=yafaray _pkgver=0.1.5 +_pkgverM=${_pkgver%.*} _pkgdat=20140508 _pkgrev=ff262af4b50a90dcf39da04040b53509d7dc789d _pkgrel=1 @@ -19,7 +20,7 @@ _addname=$_bldname-addon-$_pkgname _addver=$_pkgver # __init__.py:bl_info>version _adddat=20140425 _addrev=c3d4ff74593d5bd9552306f597f6b36e342687da -_addrel=2 +_addrel=3 _pyver=3.4 pkgbase=$_pkgname @@ -84,7 +85,7 @@ package_yafaray() { b=$pkgdir/usr/share/licenses/$pkgname - install -vd $b && install -m644 ../LICENSE $b/LGPL-v2.1 + install -vd $b && install -vm644 ../LICENSE $b/LGPL-v2.1 } package_blender-addon-yafaray() { @@ -93,7 +94,7 @@ package_blender-addon-yafaray() { pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (built for the $_bldname package)" arch=('any') license=('GPL2') - depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver::1}.$((${_pkgver:2:1}+1)).$((${_pkgver:4}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver::1}.$((${_bldver:2}+1))") + depends=("$_pkgname>=$_pkgver" "$_pkgname<${_pkgver/.*/}.$((${_pkgverM#*.}+1)).$((${_pkgver/*./}==0))" "$_bldname>=$_bldep:$_bldver" "$_bldname<$(($_bldep+1)):${_bldver/.*/}.$((${_bldver/*./}+1))") makedepends=() cd $srcdir/$_addname-$_addver.$_addrev @@ -101,8 +102,8 @@ package_blender-addon-yafaray() { a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons b=$pkgdir/usr/share/licenses/$pkgname - install -vd $a && cp -a ../$_addname-$_addver.$_addrev $a/$_pkgname - install -vd $b && install -m644 GPL-license.txt $b/GPL-v2.0 + install -vd $a && cp -va ../$_addname-$_addver.$_addrev $a/$_pkgname + install -vd $b && install -vm644 GPL-license.txt $b/GPL-v2.0 install -vd $a/$_pkgname/bin ln -vsf /usr/lib/lib${_pkgname}core.so $a/$_pkgname/bin/lib${_pkgname}core.so |