aboutsummaryrefslogtreecommitdiff
path: root/audio/pianobooster/Makefile
blob: 8e3eb452c3714e3c51fea27411de01b5eef5f4b1 (plain) (blame)
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
PORTNAME=	pianobooster
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0
PORTREVISION=	7
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	MIDI file player that teaches how to play the piano
WWW=		https://www.pianobooster.org/index.html

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>