diff --git a/blender/PKGBUILD b/blender/PKGBUILD index 2da4f0cfd..bea7a0c30 100644 --- a/blender/PKGBUILD +++ b/blender/PKGBUILD @@ -5,7 +5,7 @@ pkgver=2.77a _gittag=v${pkgver} #_gitcommit=c6b042be [[ -n ${_gitcommit} ]] && pkgver=${pkgver}.git1.${_gitcommit} -pkgrel=1 +pkgrel=2 epoch=2 pkgdesc="A fully integrated 3D graphics creation suite" arch=('x86_64') diff --git a/opencollada/PKGBUILD b/opencollada/PKGBUILD index fe8281e9a..6c6b3bee2 100644 --- a/opencollada/PKGBUILD +++ b/opencollada/PKGBUILD @@ -1,25 +1,20 @@ -# -# Chakra Packages for Chakra, part of chakra-project.org -# -# maintainer almack@chakra-project.org -# contributor Sven-Hendrik Haase - pkgname=opencollada -pkgver=20140108 -pkgrel=2 +pkgver=1.6.25 +pkgrel=1 +epoch=1 pkgdesc="Stream based reader and writer library for COLLADA files" arch=('x86_64') url="https://github.com/KhronosGroup/OpenCOLLADA" license=('GPL') depends=('libxml2' 'pcre' 'boost') -makedepends=('git' 'cmake') -source=('opencollada.conf' - 'git://github.com/KhronosGroup/OpenCOLLADA.git') -md5sums=('5f7e9d79ab86756648b648ee5ed6ce1d' - 'SKIP') +makedepends=('cmake') +source=("https://github.com/KhronosGroup/OpenCOLLADA/archive/v$pkgver.tar.gz" + 'opencollada.conf') +sha1sums=('0f27a355bb85b881388744164a071163532b3a08' + '5fe78d788742428856633c65d864aae2977e82a5') build() { - cd "$srcdir"/OpenCOLLADA + cd "$srcdir"/OpenCOLLADA-$pkgver [[ -d build ]] && rm -r build mkdir build && cd build @@ -32,7 +27,7 @@ build() { } package() { - cd "$srcdir"/OpenCOLLADA/build + cd "$srcdir"/OpenCOLLADA-$pkgver/build make DESTDIR=$pkgdir install diff --git a/openimageio/PKGBUILD b/openimageio/PKGBUILD index 9843d156b..5c6d9b009 100644 --- a/openimageio/PKGBUILD +++ b/openimageio/PKGBUILD @@ -1,27 +1,26 @@ -# Maintainer: UtG - pkgname=openimageio -pkgver=1.6.11 +pkgver=1.6.16 pkgrel=1 pkgdesc="A library for reading and writing images, including classes, utilities, and applications." -arch=(x86_64) +arch=('x86_64') url="http://www.openimageio.org/" license=('custom') depends=('openexr' 'boost-libs' 'jasper' 'glew' 'libtiff' 'opencolorio' 'intel-tbb' 'ffmpeg' 'openssl' 'libraw' 'openjpeg' 'libwebp') -makedepends=('cmake' 'qt' 'python2' 'boost' 'mesa' 'git') +makedepends=('cmake' 'qt' 'python2' 'boost' 'mesa') optdepends=('qt: iv image viewer' 'python2: bindings support') -source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver}) -md5sums=('SKIP') +source=("https://github.com/OpenImageIO/oiio/archive/Release-$pkgver.tar.gz") +sha1sums=('688e1716d9660fd8d14e48105a2a207eeddc30e3') build() { - cd oiio + cd oiio-Release-$pkgver [[ -d build ]] && rm -r build mkdir build && cd build cmake \ + -DUSE_OPENSSL=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \ -DOIIO_BUILD_TESTS=OFF \ @@ -30,7 +29,7 @@ build() { } package() { - cd oiio/build + cd oiio-Release-$pkgver/build make DESTDIR="$pkgdir" install diff --git a/opensubdiv/PKGBUILD b/opensubdiv/PKGBUILD new file mode 100644 index 000000000..9b0ba23c0 --- /dev/null +++ b/opensubdiv/PKGBUILD @@ -0,0 +1,36 @@ +pkgname=opensubdiv +pkgver=3.0.5 +pkgrel=1 +pkgdesc="An Open-Source subdivision surface library" +arch=('x86_64') +url="http://graphics.pixar.com/opensubdiv" +license=('apache') +depends=('zlib' 'ptex' 'intel-tbb') +makedepends=('cmake' 'doxygen' 'glfw' 'glew' 'python2' 'python2-pygments' 'python2-docutils' 'opencl-headers') +source=("https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${pkgver//./_}.tar.gz") +sha1sums=('089ab9e1042a4ac6c219034d2ef8db15b636a1a8') + +prepare() { + cd "OpenSubdiv-${pkgver//./_}" + + find . -name \*.py | xargs sed -i "s/env python/env python2/g" +} + +build() { + cd "OpenSubdiv-${pkgver//./_}" + + rm -rf build + mkdir build && cd build + + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr +} + +package() { + cd "OpenSubdiv-${pkgver//./_}"/build + + make DESTDIR="$pkgdir/" install + + rm -rf ${pkgdir}/usr/bin +}