diff options
-rw-r--r-- | libre/blender/PKGBUILD | 12 | ||||
-rw-r--r-- | libre/openimageio/PKGBUILD | 6 | ||||
-rw-r--r-- | pcr/collada-dom/PKGBUILD | 2 | ||||
-rw-r--r-- | pcr/mitsuba/PKGBUILD | 10 | ||||
-rw-r--r-- | pcr/python2-renpy/PKGBUILD | 48 | ||||
-rw-r--r-- | pcr/renpy/PKGBUILD | 101 |
6 files changed, 77 insertions, 102 deletions
diff --git a/libre/blender/PKGBUILD b/libre/blender/PKGBUILD index d1f8a9d6a..7f4fafb52 100644 --- a/libre/blender/PKGBUILD +++ b/libre/blender/PKGBUILD @@ -6,9 +6,10 @@ pkgbase=blender pkgname=blender pkgver=2.71 -pkgrel=2.parabola3 +pkgrel=2.parabola4 epoch=14 _jpgver=1.5 +_llvmver=3.5 _pyver=3.4 pkgdesc='Fully integrated 3D graphics creation suite, without nonfree cuda support' arch=('i686' 'x86_64' 'mips64el') @@ -16,9 +17,8 @@ license=('GPL') url="http://www.$pkgbase.org" depends=('boost-libs' 'desktop-file-utils' 'ffmpeg' 'fftw' 'freetype2' 'glew' 'hicolor-icon-theme' 'jack' 'libpng' 'libsndfile' 'libspnav' 'libtiff' - 'llvm-libs' 'openal' 'opencolorio' 'opencollada=20140214' 'openexr' - 'openimageio' 'openshadinglanguage=1.4.2' 'python' 'shared-mime-info' - 'xdg-utils') + 'openal' 'opencolorio' 'opencollada=20140214' 'openexr' 'openimageio' + 'python' 'shared-mime-info' 'xdg-utils') # 'openshadinglanguage=1.4.2' makedepends=('boost' 'cmake' 'git' 'llvm') # 'bullet' (boost: for cycles, booleans, audaspace and/or i18n) optdepends=('bullet: for Rigid Bodies and Physics Simulation' #'mesa-libcl: for rendering with optional Mesa OpenCL' @@ -79,7 +79,7 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DCYCLES_OSL=/usr \ -DLLVM_STATIC=OFF \ - -DLLVM_VERSION=3.4 \ + -DLLVM_VERSION=$_llvmver \ -DOPENIMAGEIO_ROOT_DIR=/usr \ -DOPENJPEG_INCLUDE_DIR=/usr/include/openjpeg-$_jpgver \ -DOSL_INCLUDES=/usr/include/OSL \ @@ -124,7 +124,7 @@ build() { -DWITH_JACK=ON \ -DWITH_JACK_DYNLOAD=ON \ -DWITH_LIBMV=OFF \ - -DWITH_LLVM=ON \ + -DWITH_LLVM=OFF \ -DWITH_LZMA=ON \ -DWITH_LZO=ON \ -DWITH_MEM_JEMALLOC=OFF \ diff --git a/libre/openimageio/PKGBUILD b/libre/openimageio/PKGBUILD index 86538c3f6..24a5b5990 100644 --- a/libre/openimageio/PKGBUILD +++ b/libre/openimageio/PKGBUILD @@ -4,12 +4,12 @@ pkgname=openimageio pkgver=1.4.12 -pkgrel=3.parabola2 +pkgrel=3.parabola3 pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender package)' arch=('i686' 'x86_64' 'mips64el') url="http://www.$pkgname.org/" license=('custom') -depends=('boost-libs' 'freetype2' 'glew' 'libtiff' 'libwebp' 'openjpeg' 'openexr') # 'opencolorio' +depends=('boost-libs' 'freetype2' 'glew' 'libtiff' 'libwebp' 'opencolorio' 'openjpeg' 'openexr') makedepends=('boost' 'cmake' 'git' 'python2' 'qt4') optdepends=('qt4: iv image viewer' 'python2: bindings support') @@ -35,7 +35,7 @@ prepare() { sed -i 's|[{]uname[}][,]linux]|{uname -o},GNU/kFreeBSD|;\|platform| s|linux|GNU/kFreeBSD|i ' src/make/detectplatform.mk - # fix for giflib 5.1 + # fix for giflib 5.1.x sed -i 's|DGifCloseFile [(]m_gif_file[)] == GIF_ERROR|DGifCloseFile (m_gif_file, 0) == GIF_ERROR|' src/gif.imageio/gifinput.cpp } diff --git a/pcr/collada-dom/PKGBUILD b/pcr/collada-dom/PKGBUILD index 60085df0b..d4756c879 100644 --- a/pcr/collada-dom/PKGBUILD +++ b/pcr/collada-dom/PKGBUILD @@ -2,7 +2,7 @@ pkgname=collada-dom pkgver=2.4.0 -pkgrel=2 +pkgrel=4 pkgdesc="An API that provides a C++ object representation of a ${pkgname::7} XML instance document" url=http://sourceforge.net/projects/$pkgname license=MIT diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD index b030691a6..7ae5856f8 100644 --- a/pcr/mitsuba/PKGBUILD +++ b/pcr/mitsuba/PKGBUILD @@ -12,7 +12,7 @@ _pkgver=0.5.0 _pkgverM=${_pkgver%.*} _pkgdat=20140225 _pkgrev=2030 -_pkgrel=5 +_pkgrel=6 _bldname=blender _bldver=2.71 _bldep=14 @@ -58,6 +58,14 @@ _prepare_mitsuba() { sed -i 's|free-software/open-source|free-software| ' include/$_pkgname/core/quad.h + msg 'fixing headers' + sed -i 's|boost/spirit/home/phoenix/bind/bind_member_function.hpp|boost/phoenix/bind/preprocessed/bind_member_function.hpp| + s|boost/spirit/home/phoenix/bind/bind_member_variable.hpp|boost/phoenix/bind/bind_member_variable.hpp| + s|boost/spirit/home/phoenix/statement/if.hpp|boost/phoenix/statement/if.hpp| + ' src/bsdfs/irawan.h + sed -i 's|boost/spirit/home/phoenix/statement/if.hpp|boost/phoenix/statement/if.hpp| + ' src/bsdfs/irawan.cpp + [[ -d build ]] && rm -vr build mkdir -v build } diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD deleted file mode 100644 index 4e121a4d9..000000000 --- a/pcr/python2-renpy/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: André Silva <emulatorman@parabola.nu> -# Maintainer: Márcio Silva <coadde@parabola.nu> - -_pkgname=renpy -pkgname=python2-renpy -pkgver=6.16.2 -pkgrel=1 -pkgdesc="Platform-dependant Ren'Py libraries." -arch=( - mips64el - x86_64 - i686 -) -license=MIT -url=http://www.$_pkgname.org/ -depends=( - ffmpeg - fribidi - glew - python2-pygame=1.9.1 -) -makedepends='python2>=2.7' -provides=("python-$_pkgname=$pkgver") -conflicts=( - python-$_pkgname - "$_pkgname<$pkgver" - ${_pkgname}64 - $_pkgname-bin -) -renplaces=python-$_pkgname -source=http://www.$_pkgname.org/dl/$pkgver/$_pkgname-$pkgver-source.tar.bz2 -sha512sums=fc3b40f01f2d1e820a05f90a2d85e42986aaa4840e506d18ea76a78527d2f98ca6cf832ebde3e1f996b94f4ce4b175856da913f3de7f1a9db48aba0eea84b52d - -build() { - cd $srcdir/$_pkgname-$pkgver-source - - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|;' module/setup.py - - python2 module/setup.py build -} - -package(){ - cd $srcdir/$_pkgname-$pkgver-source - - msg "install $pkgname" - python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1 - install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE -} diff --git a/pcr/renpy/PKGBUILD b/pcr/renpy/PKGBUILD index eedfa62f9..f1dad3f5a 100644 --- a/pcr/renpy/PKGBUILD +++ b/pcr/renpy/PKGBUILD @@ -1,62 +1,77 @@ # Maintainer (Arch): AlexanderR <rvacheva at nxt dot ru> +# Contributor (Arch): zhn <zhangn1985 AT gmail com> # Maintainer: Márcio Silva <coadde@parabola.nu> -pkgname=renpy -pkgver=6.16.2 +pkgbase=renpy +pkgname=($pkgbase python2-$pkgbase) +pkgver=6.17.7 pkgrel=1 -pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. This package contains both player and development tools." -arch=any +pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. This package contains both player and development tools" +arch=('i686' 'x86_64' 'mips64el') license=MIT -url=http://www.$pkgname.org/ -depends=( - python2-$pkgname=$pkgver - ttf-dejavu -) -conflicts=( - $pkgname-bin - ${pkgname}64 -) -replaces=(${pkgname}64) -install=$pkgname.install -source=( - http://www.$pkgname.org/dl/$pkgver/$pkgname-$pkgver-source.tar.bz2 - $pkgname.desktop - $pkgname.{sh,csh} - $pkgname-launcher.sh -) -sha512sums=( - fc3b40f01f2d1e820a05f90a2d85e42986aaa4840e506d18ea76a78527d2f98ca6cf832ebde3e1f996b94f4ce4b175856da913f3de7f1a9db48aba0eea84b52d - 1af85c7a0c10662bfa4c03611fed695325f5953ac0f2c913f5342b1dca22b22115f07e69d646d92a3b95f5b896283e9b1bc7fe3e0a338536b5d9d48beedae8d5 - 2a9302adbc6ff45e048d42487ac86e7501f90b2d393933af5d39d663a0b3707f795a04f65598e356a64809dfa0175a4ad860b355e5337ee149692c21caf339df - bcb3152a88d5f913a99855e9d6fa5d0019e310ba9d55a6288d2d8b60cb6c9ab3ddf8c772dfd23a2851d52479adc2a16bd3ffe25ff7fb50d222ec1f55eaa48b09 - 727f9f16e1cff76c279d6e1578572a92c7b21ec34c6cb2841a04ac7b5cf6d2836487293744a9541993ee2e3a8dae927feb4e78f1afd01a748f5489090453cdd7 -) +url="http://www.$pkgbase.org/" +depends=('ttf-dejavu') +makedepends=('cython' 'ffmpeg' 'freetype2>=2.5.1' 'fribidi' 'glew' 'python2>=2.7' 'python2-pygame>=1.9.1') +conflicts=("${pkgbase}64" "$pkgbase-bin") +replaces=("${pkgbase}64") +source=("http://www.$pkgbase.org/dl/$pkgver/$pkgbase-$pkgver-source.tar.bz2" + "$pkgbase.desktop" "$pkgbase."{sh,csh} "$pkgbase-launcher.sh") +sha512sums=('22b0e08b18ee35317b11451205233cbd8a29617d9c3d298bbdcfc5757f67c2f0e4c8a748aa83d5c8b43786c062ffca109d07e981efa750fcee26f45f08a33ea2' + '1af85c7a0c10662bfa4c03611fed695325f5953ac0f2c913f5342b1dca22b22115f07e69d646d92a3b95f5b896283e9b1bc7fe3e0a338536b5d9d48beedae8d5' + '2a9302adbc6ff45e048d42487ac86e7501f90b2d393933af5d39d663a0b3707f795a04f65598e356a64809dfa0175a4ad860b355e5337ee149692c21caf339df' + 'bcb3152a88d5f913a99855e9d6fa5d0019e310ba9d55a6288d2d8b60cb6c9ab3ddf8c772dfd23a2851d52479adc2a16bd3ffe25ff7fb50d222ec1f55eaa48b09' + '727f9f16e1cff76c279d6e1578572a92c7b21ec34c6cb2841a04ac7b5cf6d2836487293744a9541993ee2e3a8dae927feb4e78f1afd01a748f5489090453cdd7') + +export CPPFLAGS="$CPPFLAGS $(pkg-config freetype2 --cflags) $(pkg-config glib-2.0 --cflags)" prepare() { - cd "$srcdir/$pkgname-$pkgver-source" + cd $srcdir/$pkgbase-$pkgver-source - sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgname.py + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgbase.py module/setup.py msg 'fonts are provided by ttf-dejavu' cd $pkgname rm -v common/DejaVuSans.ttf common/DejaVuSans.txt } -package(){ - cd $pkgname-$pkgver-source +build() { + cd $srcdir/$pkgbase-$pkgver-source + python2 module/setup.py build +} + +package_renpy() { + depends+=("python2-$pkgbase=$pkgver") + arch=('any') + install=$pkgbase.install + + cd $pkgbase-$pkgver-source - install -vd $pkgdir/{usr/share/{$pkgname,doc/$pkgname},etc/profile.d} - install -vm755 $srcdir/$pkgname.{sh,csh} $pkgdir/etc/profile.d - install -vDm755 $srcdir/$pkgname-launcher.sh $pkgdir/usr/bin/$pkgname - install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop + install -vd $pkgdir/{usr/share/{$pkgbase,doc/$pkgbase},etc/profile.d} + install -vm755 $srcdir/$pkgbase.{sh,csh} $pkgdir/etc/profile.d + install -vDm755 $srcdir/$pkgbase-launcher.sh $pkgdir/usr/bin/$pkgbase + install -vDm644 $srcdir/$pkgbase.desktop $pkgdir/usr/share/applications/$pkgbase.desktop + + cp -va launcher $pkgbase{,.py} templates the_question tutorial $pkgdir/usr/share/$pkgbase + ln -vs $pkgbase/common $pkgdir/usr/share/$pkgbase/common + cp -va doc/* $pkgdir/usr/share/doc/$pkgbase + + install -vDm644 launcher/game/images/logo.png $pkgdir/usr/share/pixmaps/$pkgbase.png + install -vDm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgbase/LICENSE + + chgrp -vR games $pkgdir/usr/share/$pkgbase/{the_question,tutorial} + chmod -vR g+w $pkgdir/usr/share/$pkgbase/{the_question,tutorial} +} - cp -va launcher $pkgname{,.py} templates the_question tutorial $pkgdir/usr/share/$pkgname - ln -vs $pkgname/common $pkgdir/usr/share/$pkgname/common - cp -va doc/* $pkgdir/usr/share/doc/$pkgname +package_python2-renpy() { + pkgdesc="Platform-dependant Ren'Py libraries" + depends=('ffmpeg' 'freetype2>=2.5.1' 'fribidi' 'glew' 'python2-pygame>=1.9.1') + provides=("python-$pkgbase=$pkgver") + conflicts=("python-$pkgbase") + replaces=("python-$pkgbase") - install -vDm644 launcher/game/logo.png $pkgdir/usr/share/pixmaps/$pkgname.png - install -vDm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE + cd $pkgbase-$pkgver-source - chgrp -vR games $pkgdir/usr/share/$pkgname/{the_question,tutorial} - chmod -vR g+w $pkgdir/usr/share/$pkgname/{the_question,tutorial} + msg "install $pkgname" + python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1 + install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE } |