summaryrefslogtreecommitdiff
path: root/audio/pianobooster/Makefile
blob: ed850479ec237e8971e48e1c7083fb0faaa0741e (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
PORTNAME=	pianobooster
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	MIDI file player that teaches how to play the piano

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/gplv3.txt

LIB_DEPENDS=	libftgl.so:graphics/ftgl \
		libjack.so:audio/jack \
		librtmidi.so:audio/rtmidi

USES=		cmake compiler:c++11-lang desktop-file-utils gl pkgconfig qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	captnfab
GH_PROJECT=	PianoBooster
USE_QT=		core gui opengl widgets xml buildtools_build linguisttools_build qmake_build
USE_GL=		gl glu

CMAKE_ON=	USE_JACK
CMAKE_OFF=	USE_BUNDLED_RTMIDI
CMAKE_ARGS=	-DDATA_DIR:STRING=share/${PORTNAME}

OPTIONS_DEFINE=		FLUIDSYNTH
OPTIONS_DEFAULT=	FLUIDSYNTH

FLUIDSYNTH_CMAKE_BOOL=	EXPERIMENTAL_USE_FLUIDSYNTH
FLUIDSYNTH_LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth

post-stage:
	@${RM} -r ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>