Skip to content

Commit

Permalink
misc/ola: New port: Open Lighting Architecture: framework for lightin…
Browse files Browse the repository at this point in the history
…g control information
  • Loading branch information
yurivict committed Jun 30, 2023
1 parent c503a78 commit a3e0d1a
Show file tree
Hide file tree
Showing 5 changed files with 432 additions and 0 deletions.
1 change: 1 addition & 0 deletions misc/Makefile
Expand Up @@ -280,6 +280,7 @@
SUBDIR += nsf
SUBDIR += numchar
SUBDIR += nut
SUBDIR += ola
SUBDIR += ompl
SUBDIR += ondir
SUBDIR += onnx
Expand Down
35 changes: 35 additions & 0 deletions misc/ola/Makefile
@@ -0,0 +1,35 @@
PORTNAME= ola
DISTVERSION= 0.10.9
CATEGORIES= misc
MASTER_SITES= https://github.com/OpenLightingProject/ola/releases/download/${DISTVERSION}/

MAINTAINER= yuri@FreeBSD.org
COMMENT= Open Lighting Architecture: framework for lighting control information
WWW= https://www.openlighting.org/ola/

LICENSE= GPLv2+

LIB_DEPENDS= libavahi-common.so:net/avahi-app \
libmicrohttpd.so:www/libmicrohttpd \
libprotobuf.so:devel/protobuf \
libuuid.so:misc/e2fsprogs-libuuid
TEST_DEPENDS= cppunit>0:devel/cppunit

USES= bison gmake libtool localbase pkgconfig
USE_LDCONFIG= yes

LDFLAGS+= -lprotobuf # workaround for https://github.com/OpenLightingProject/ola/issues/1871

GNU_CONFIGURE= yes

CONFIGURE_ARGS= --disable-unittests --disable-examples

TEST_TARGET= check
INSTALL_TARGET= install-strip

do-test: # 1 test fails, see https://github.com/OpenLightingProject/ola/issues/1872
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ./configure ${CONFIGURE_ARGS} --enable-unittests && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${TEST_TARGET}

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions misc/ola/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1688084092
SHA256 (ola-0.10.9.tar.gz) = 44073698c147fe641507398253c2e52ff8dc7eac8606cbf286c29f37939a4ebf
SIZE (ola-0.10.9.tar.gz) = 2578760
4 changes: 4 additions & 0 deletions misc/ola/pkg-descr
@@ -0,0 +1,4 @@
libartnet is an implementation of the ArtNet protocol.
ArtNet enables DMX512 and RDM data to be sent over IPv4 Networks.
ArtNet was first developed in 2002 and is widely supported by networked
devices in the entertainment industry.

0 comments on commit a3e0d1a

Please sign in to comment.