# -*- 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
github.setup OpenLightingProject ola 0.10.7
maintainers {pjnewman.co.uk:bugs @peternewman} \
description An open framework for DMX512 lighting control
long_description The Open Lighting Architecture (OLA) provides a plugin \
framework for distributing DMX512 control signals on \
Mac and Linux. It provides C++ and Python libraries \
which abstract away the underlying DMX over IP protocol \
homepage http://www.openlighting.org/ola/
checksums rmd160 1312a43f8db8f211f68cd1ab390eb9c8bf476144 \
sha256 8a65242d95e0622a3553df498e0db323a13e99eeb1accc63a8a2ca8913ab31a0 \
github.tarball_from releases
patchfiles patch-protobuf3.diff
depends_build port:pkgconfig
# Required while we're patching ola.m4
depends_test port:cppunit
# temporary workaround (else configure fails)
depends_lib port:protobuf3-cpp
configure.args --disable-fatal-warnings \
variant python27 description {Enable the Python 2.7 API} {
depends_lib-append port:python27 port:py27-protobuf3
configure.args-append --enable-python-libs
configure.python ${prefix}/bin/python2.7
variant rdm_tests requires python27 description {Enable the RDM Tests} {
depends_lib-append port:py27-numpy
configure.args-append --enable-rdm-tests
variant http description {Build with embedded web server} {
depends_lib-append port:libmicrohttpd
configure.args-delete --disable-http
variant libftdi0 conflicts libftdi1 description {Build with libftdi0 support} {
depends_lib-append port:libftdi0
configure.args-delete --disable-libftdi
variant libftdi1 conflicts libftdi0 description {Build with libftdi1 support} {
depends_lib-append port:libftdi1
configure.args-delete --disable-libftdi
variant libusb description {Build with libusb support} {
depends_lib-append port:libusb
configure.args-delete --disable-libusb
variant osc description {Build with OSC support} {
depends_lib-append port:liblo
configure.args-delete --disable-osc
default_variants +http +libusb +osc +python27
if {![variant_isset libftdi1]} {
default_variants-append +libftdi0