blob: 9c6946ac5c393bc114ae9c3f4afe1cf7ce7d4d87 (
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
39
40
41
42
43
44
45
|
# $FreeBSD$
PORTNAME= polyphone
DISTVERSION= 2.0.1.20190716
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
COMMENT= Graphical user interface for editing soundfont (sf2 and sfz) files
LICENSE= GPLv3
LIB_DEPENDS= libFLAC.so:audio/flac \
libjack.so:audio/jack \
libogg.so:audio/libogg \
libportaudio.so:audio/portaudio \
librtmidi.so:audio/rtmidi \
libstk.so:audio/stk \
libvorbisfile.so:audio/libvorbis
USES= compiler:c++11-lang desktop-file-utils gl gnome pkgconfig qmake:outsource qt:5 shared-mime-info ssl
USE_GITHUB= yes
GH_ACCOUNT= davy7125
GH_TAGNAME= d7459fa
USE_GL= gl
USE_QT= core concurrent gui network printsupport svg widgets buildtools_build qmake_build
USE_GNOME= glib20
USE_CXXSTD= c++11
QMAKE_ARGS= DEFINES=USE_LOCAL_QCUSTOMPLOT
CXXFLAGS+= -D__UNIX_JACK__
WRKSRC_SUBDIR= sources
PLIST_FILES= bin/polyphone \
share/applications/polyphone.desktop \
share/mime/packages/polyphone.xml \
share/pixmaps/polyphone.png
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/resources/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.xml ${STAGEDIR}${PREFIX}/share/mime/packages
.include <bsd.port.mk>
|