update openimageio,opensubdiv, opencollada and rebuilt blender

This commit is contained in:
gnastyle 2016-08-10 15:37:54 +02:00
parent cf89a0d02f
commit 83663650dd
4 changed files with 55 additions and 25 deletions

View File

@ -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')

View File

@ -1,25 +1,20 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer almack@chakra-project.org
# contributor Sven-Hendrik Haase <sh@lutzhaase.com>
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

View File

@ -1,27 +1,26 @@
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
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

36
opensubdiv/PKGBUILD Normal file
View File

@ -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
}