summaryrefslogtreecommitdiff
path: root/audio/inscore/Makefile
blob: d8e80a2df8b23de1b5beb14a9cf47ded0897d7b3 (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
36
37
38
39
40
PORTNAME=	inscore
PORTVERSION=	1.31
PORTREVISION=	2
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Environment for the design of interactive augmented music scores
WWW=		https://inscore.grame.fr/

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/src/license.txt

LIB_DEPENDS=	libGUIDOEngine.so:audio/guidolib \
		libguidoar.so:audio/guidoar \
		libmicrohttpd.so:www/libmicrohttpd

USES=		cmake gnome qt:5
USE_QT=		core declarative gui network multimedia opengl printsupport sensors svg widgets websockets \
		qmake_build buildtools_build
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	grame-cncm
GH_TAGNAME=	v${PORTVERSION:S/.//}
GH_TUPLE=	grame-cncm:guidolib:3cf3d88:guidolib/modules/guidolib # this uses some un-installed parts of the guidolib project, partucularly QGuidoPainter.h

CMAKE_SOURCE_PATH=	${WRKSRC}/build
CMAKE_ARGS=	-DFREEBSD_EXAMPLESDIR=${EXAMPLESDIR} -DFREEBSD_DOCSDIR=${DOCSDIR}

CXXFLAGS+=	-I${LOCALBASE}/include/guido -I${LOCALBASE}/include/guidoar
CXXFLAGS_powerpc64=	-DOSC_HOST_BIG_ENDIAN
CXXFLAGS_powerpc=	-DOSC_HOST_BIG_ENDIAN

OPTIONS_DEFINE=		DOCS EXAMPLES
OPTIONS_DEFAULT=	DOCS EXAMPLES

PORTDOCS=	*
PORTEXAMPLES=	*

.include <bsd.port.mk>