summaryrefslogtreecommitdiff
path: root/graphics/radiance/Makefile
blob: 7fb678524cb7ecd18e916a30e28e074928c04306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	radiance
DISTVERSION=	0.6.1
PORTREVISION=	1
CATEGORIES=	graphics
PKGNAMESUFFIX=	-video

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Video art software for VJs

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN=		Fails to build with the latest mpv: https://github.com/zbanks/radiance/issues/114

LIB_DEPENDS=	libfftw3.so:math/fftw3 \
		libfftw3f.so:math/fftw3-float \
		libmpv.so:multimedia/mpv \
		libportaudio.so:audio/portaudio \
		librtmidi.so:audio/rtmidi \
		libsamplerate.so:audio/libsamplerate

USES=		cmake compiler:c++14-lang gl localbase:ldflags qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	zbanks
GH_TUPLE=	zbanks:BTrack:1c5b72e:bt/BTrack
USE_QT=		core declarative graphicaleffects gui network  quickcontrols widgets \
		buildtools_build qmake_build
USE_GL=		gl glu

CMAKE_ARGS=	-DRADIANCE_SYSTEM_RESOURCES:STRING=${DATADIR}/

post-patch:
	@${REINPLACE_CMD} '/-march=native/d' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>