Files

58 lines
2.4 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
PortGroup legacysupport 1.1
# clock_gettime
legacysupport.newest_darwin_requires_legacy 15
github.setup stevenlovegrove Pangolin 0.9.5 v
github.tarball_from archive
revision 1
categories graphics
license MIT
maintainers {@ierofant gmail.com:aw.kornilov} openmaintainer
description Pangolin is a lightweight portable rapid development library for managing OpenGL display
long_description Pangolin is a lightweight portable rapid development library for managing OpenGL display, \
interaction and abstracting video input. At its heart is a simple OpenGl viewport manager \
which can help to modularise 3D visualisation without adding to its complexity, \
and offers an advanced but intuitive 3D navigation handler. \
Pangolin also provides a mechanism for manipulating program variables through config files \
and ui integration, and has a flexible real-time plotter for visualising graphical data.
checksums rmd160 d36c9db8ba3d8c33f57d75c1c12c88e0c9ad4371 \
sha256 b4fa363e68d076bec70b48f9aaa176575e399033f93b705c795dd36a7ea24919 \
size 711740
depends_build-append \
port:eigen3 \
path:bin/pkg-config:pkgconfig
depends_lib-append port:glew \
port:openexr2 \
port:libdc1394 \
port:zlib \
port:libpng \
port:libraw \
port:lz4 \
path:include/turbojpeg.h:libjpeg-turbo \
port:tiff \
path:lib/libavcodec.dylib:ffmpeg \
port:zstd
patchfiles patch-pango-image-exr.diff
compiler.cxx_standard \
2017
# Use OpenGL framework instead of mesa
configure.pre_args-delete -DCMAKE_FIND_FRAMEWORK=LAST
configure.args -DBUILD_PANGOLIN_GUI=OFF \
-DBUILD_PANGOLIN_PYTHON=OFF \
-DOpenEXR_INCLUDE_DIR=${prefix}/libexec/openexr2/include/OpenEXR \
-DOpenEXR_LIBRARY=${prefix}/libexec/openexr2/lib/libIlmImf.dylib