name: usd
version: "0.7.0" # the version of the snap
summary: Universal Scene Description
description: |
Universal Scene Description (USD) is an efficient, scalable system for
authoring, reading, and streaming time-sampled scene description for
interchange between graphics applications.
confinement: devmode # use "strict" to enforce system access only via declared interfaces
grade: devel
apps:
usd:
command: desktop-launcher $SNAP/bin/usdview
plugs: [home, x11, network, network-bind, opengl]
parts:
ptex:
source: https://github.com/wdas/ptex.git
#source-tag: v2.0.30
plugin: make
make-parameters: [prefix=$SNAPCRAFT_PART_INSTALL]
opensubdiv:
source: https://github.com/PixarAnimationStudios/OpenSubdiv.git
source-tag: v3_0_5
plugin: cmake
build-packages:
- libglfw-dev
- libxrandr-dev
- libxcursor-dev
- libxinerama-dev
- doxygen
- zlib1g-dev
usd:
after:
- opensubdiv
- desktop-qt4
- ptex
source: https://github.com/PixarAnimationStudios/USD.git
source-tag: v0.7.0
plugin: cmake
configflags: [-DOPENEXR_LOCATION=/usr/lib/x86_64-linux-gnu, -DOPENSUBDIV_ROOT_DIR=$SNAPCRAFT_STAGE/include/opensubdiv, -DPTEX_INCLUDE_DIR=/usr/share/texmf/ptex]
build-packages:
- build-essential
- python2.7
- libboost-all-dev
- libopenexr-dev
- libopenexr22
- libtbb-dev
- libglew-dev
- libopenimageio-dev
- python-pyside
- libdouble-conversion-dev
- openexr
- openimageio-tools