aboutsummaryrefslogblamecommitdiff
path: root/audio/polyphone/Makefile
blob: a22c4f9a019bbab6faa19929a7bc4c1297569c2f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                         
                     
                 
                     
 

                                                                                  
                                                     

                     
                                        
 

                                       

                                                 
                                                                
                                           
                                     

                                                
                                                                                                                                 


                                                      
                  
                                                                                                                     
                      
                     


                        
 
                               
                              
 
                       
 

                                                                                                          
 
                      
PORTNAME=	polyphone
DISTVERSION=	2.3.0
PORTREVISION=	6
CATEGORIES=	audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Graphical user interface for editing soundfont (sf2 and sfz) files
WWW=		https://www.polyphone-soundfonts.com/

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

LIB_DEPENDS=	libFLAC.so:audio/flac \
		libjack.so:audio/jack \
		libogg.so:audio/libogg \
		libportaudio.so:audio/portaudio \
		libQCustomPlot-qt5.so:graphics/qcustomplot@qt5 \
		librtmidi.so:audio/rtmidi \
		libstk.so:audio/stk \
		libvorbisfile.so:audio/libvorbis

USES=		compiler:c++11-lang desktop-file-utils dos2unix gl gnome pkgconfig qmake:outsource qt:5 shared-mime-info ssl xorg
DOS2UNIX_FILES=	polyphone.pro \
		editor/graphics/graphiquefourier.cpp \
		editor/tree/treeitemdelegate.cpp
USE_GL=		gl
USE_QT=		core concurrent gui network printsupport svg widgets buildtools:build linguisttools:build qmake:build
USE_GNOME=	glib20
USE_CXXSTD=	c++11

USE_GITHUB=	yes
GH_ACCOUNT=	davy7125

CXXFLAGS+=	-D__UNIX_JACK__
LIBS+=		-lssl -lcrypto

WRKSRC_SUBDIR=	sources

post-extract: # unbundle
	@${RM} -r ${WRKSRC}/lib/_option_qcustomplot ${WRKSRC}/lib/_option_rtmidi ${WRKSRC}/lib/_option_stk

.include <bsd.port.mk>