summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2018-08-22 16:37:15 +0200
committerbartus2018-08-22 16:37:15 +0200
commitbaae5c3451402133d491a2c02e6040ebaf19f629 (patch)
tree33fcbd8df70cad0e0f3b96fd16df98ef83903341
parent53ae565d13b2c97ce13f8737698358c152dbf422 (diff)
downloadaur-baae5c3451402133d491a2c02e6040ebaf19f629.tar.gz
add python3 bindings
use system embree
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
2 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 494a75dfe01..42ad4d1f683 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = appleseed-git
pkgdesc = physically-based global illumination rendering engine primarily designed for animation and visual effects.
- pkgver = 1.9.0.beta.r110.gffd4efbde
+ pkgver = 1.9.0.beta.r209.g32774c124
pkgrel = 1
url = http://appleseedhq.net
arch = i686
@@ -9,6 +9,8 @@ pkgbase = appleseed-git
makedepends = git
makedepends = cmake
depends = python2
+ depends = python
+ depends = embree
depends = qt4
depends = seexpr>=2.11
depends = boost
diff --git a/PKGBUILD b/PKGBUILD
index ae7d20f3f89..20a0ba67120 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
pkgname=appleseed-git
#_fragment="#tag=1.7.1-beta"
-pkgver=1.9.0.beta.r110.gffd4efbde
+pkgver=1.9.0.beta.r209.g32774c124
pkgrel=1
pkgdesc="physically-based global illumination rendering engine primarily designed for animation and visual effects. "
arch=(i686 x86_64)
@@ -9,7 +9,7 @@ url="http://appleseedhq.net"
license=('MIT')
provides=('appleseed')
conflicts=('appleseed')
-depends=(python2 qt4 'seexpr>=2.11' boost openexr opencolorio openimageio 'openshadinglanguage>=1.8.9' xerces-c zlib)
+depends=(python2 python embree qt4 'seexpr>=2.11' boost openexr opencolorio openimageio 'openshadinglanguage>=1.8.9' xerces-c zlib)
makedepends=(git cmake)
options=()
source=("${pkgname}::git+https://github.com/appleseedhq/appleseed.git${_fragment}"
@@ -17,20 +17,27 @@ source=("${pkgname}::git+https://github.com/appleseedhq/appleseed.git${_fragment
)
md5sums=('SKIP'
'1cc8d927665c126dde4d1135e500c0dc')
-
-CMAKE_FLAGS="-DUSE_EXTERNAL_EXR=ON \
+
+#_pyver=$(python -c "from sys import version_info; print(\"%d.%d\" % (version_info[0],version_info[1]))")
+#_pyver=$(expac -S %v python|grep -oP ^[0-9.]{3})
+CMAKE_FLAGS=" -DUSE_EXTERNAL_EXR=ON \
-DUSE_EXTERNAL_OCIO=ON \
+ -DUSE_EXTERNAL_EMBREE=ON \
-DUSE_EXTERNAL_OIIO=ON \
-DUSE_EXTERNAL_OSL=ON \
-DUSE_EXTERNAL_PNG=ON \
-DUSE_EXTERNAL_XERCES=ON \
-DUSE_EXTERNAL_ZLIB=ON \
-DUSE_EXTERNAL_SEEXPR=ON \
+ -DUSE_STATIC_EMBREE=OFF \
+ -DUSE_STATIC_EXR=OFF \
-DUSE_STATIC_BOOST=OFF \
-DUSE_STATIC_OCIO=OFF \
-DUSE_STATIC_OIIO=OFF \
-DUSE_STATIC_OSL=OFF \
-DWITH_DISNEY_MATERIAL=ON \
+ -DWITH_PYTHON3_BINDINGS=ON \
+ -DPYTHON3_INCLUDE_DIR=/usr/include/python3.7m \
-DWARNINGS_AS_ERRORS=OFF"
pkgver() {