# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories-append graphics
maintainers inria.fr:christophe.pradal openmaintainer
license {GPL-2+ Commercial}
description PyQGLViewer is a set of Python bindings for libQGLViewer
long_description PyQGLViewer is a set of Python bindings for the libQGLViewer C++ class library which ease \
the creation of OpenGL 3D viewers. It provides some of the typical \
3D viewer functionalities, such as the possibility to move the \
camera using the mouse, which lacks in most of the other APIs. \
Other features include mouse manipulated frames, interpolated \
keyFrames, object selection, stereo display, screenshot saving \
and much more. It can be used by OpenGL beginners as well as \
to create complex applications, being fully customizable and \
homepage http://pyqglviewer.gforge.inria.fr/
master_sites https://gforge.inria.fr/frs/download.php/30908
distname ${worksrcdir}-${version}
checksums rmd160 b7538e06c47370f9c9f2df70fc41932145621281 \
sha256 7f37a2d073816966c076c718af3cd2af3a934e0a812d6ca9703dc595edba59bc
# Note that python 3.1 is not supported
if {${name} ne ${subport}} {
depends_build-append port:mesa
depends_lib-append port:py${python.version}-pyqt4 \
port:py${python.version}-sip
configure.cmd ${python.bin} configure.py
configure.args -Q ${prefix}/include \
destroot.destdir DESTDIR=${destroot}
livecheck.url ${homepage}