Lines 1-10
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= cantata |
3 |
PORTNAME= cantata |
4 |
PORTVERSION= 1.5.1 |
4 |
PORTVERSION= 2.0.0 |
5 |
PORTREVISION= 3 |
5 |
DISTVERSIONPREFIX= v |
6 |
CATEGORIES= audio kde |
6 |
CATEGORIES= audio kde |
7 |
MASTER_SITES= https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60UktwaTRMTjRIUW8&dummy= |
|
|
8 |
|
7 |
|
9 |
MAINTAINER= kde@FreeBSD.org |
8 |
MAINTAINER= kde@FreeBSD.org |
10 |
COMMENT= Graphical client for MPD using Qt5 |
9 |
COMMENT= Graphical client for MPD using Qt5 |
Lines 12-27
Link Here
|
12 |
LICENSE= GPLv3 |
11 |
LICENSE= GPLv3 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
13 |
|
15 |
USE_KDE4= oxygen |
14 |
USE_QT5= buildtools_build concurrent core dbus gui network \ |
16 |
USE_QT5= buildtools_build concurrent core dbus gui \ |
15 |
qmake_build svg sql sql-sqlite3_run widgets xml |
17 |
network qmake_build linguisttools svg widgets xml |
16 |
USE_GITHUB= yes |
|
|
17 |
GH_ACCOUNT= cdrummond |
18 |
|
18 |
|
19 |
FETCH_BEFORE_ARGS= -o ${DISTFILES} |
|
|
20 |
|
21 |
CMAKE_ARGS= -DENABLE_QT5:BOOL=TRUE \ |
19 |
CMAKE_ARGS= -DENABLE_QT5:BOOL=TRUE \ |
22 |
-DENABLE_KDE:BOOL=FALSE \ |
20 |
-DENABLE_KDE:BOOL=FALSE |
23 |
-DLCONVERT_EXECUTABLE:STRING=${QT_BINDIR}/lconvert \ |
|
|
24 |
-DLRELEASE_EXECUTABLE:STRING=${QT_BINDIR}/lrelease |
25 |
|
21 |
|
26 |
USES= cmake:outsource cpe pkgconfig shebangfix tar:bzip2 |
22 |
USES= cmake:outsource cpe pkgconfig shebangfix tar:bzip2 |
27 |
SHEBANG_FILES= dynamic/cantata-dynamic cantata-remote.cmake |
23 |
SHEBANG_FILES= dynamic/cantata-dynamic cantata-remote.cmake |
Lines 30-66
Link Here
|
30 |
|
26 |
|
31 |
INSTALLS_ICONS= yes |
27 |
INSTALLS_ICONS= yes |
32 |
|
28 |
|
33 |
OPTIONS_DEFINE= CDDB CDPARANOIA FFMPEG MPG123 MTP MUSICBRAINZ TAGLIB |
29 |
OPTIONS_DEFINE= CDPARANOIA MTP NLS PROXY TAGLIB |
|
|
30 |
OPTIONS_GROUP= CDINFO REPLAYGAIN |
31 |
OPTIONS_GROUP_CDINFO= CDDB MUSICBRAINZ |
32 |
OPTIONS_GROUP_REPLAYGAIN= FFMPEG MPG123 |
33 |
OPTIONS_RADIO= HSP |
34 |
OPTIONS_RADIO_HSP= QT5 VLC |
34 |
OPTIONS_DEFAULT= TAGLIB |
35 |
OPTIONS_DEFAULT= TAGLIB |
35 |
OPTIONS_SUB= yes |
36 |
OPTIONS_SUB= yes |
36 |
|
37 |
|
|
|
38 |
CDINFO_DESC= AudioCD support |
39 |
REPLAYGAIN_DESC= Replaygain calculation support |
40 |
HSP_DESC= MPD HTTP stream playback |
41 |
|
42 |
QT5_USE= QT5=multimedia |
43 |
QT5_DESC= HTTP streams support via QtMultimedia |
44 |
|
45 |
VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc |
46 |
VLC_CMAKE_ON= -DENABLE_LIBVLC:BOOL=TRUE |
47 |
VLC_CMAKE_OFF= -DENABLE_LIBVLC:BOOL=FALSE |
48 |
VLC_DESC= HTTP streams support via libVLC |
49 |
|
50 |
CDDB_IMPLIES= CDPARANOIA |
37 |
CDDB_LIB_DEPENDS= libcddb.so:audio/libcddb |
51 |
CDDB_LIB_DEPENDS= libcddb.so:audio/libcddb |
38 |
CDDB_CMAKE_ON= -DENABLE_CDDB:BOOL=TRUE |
52 |
CDDB_CMAKE_ON= -DENABLE_CDDB:BOOL=TRUE |
39 |
CDDB_CMAKE_OFF= -DENABLE_CDDB:BOOL=FALSE |
53 |
CDDB_CMAKE_OFF= -DENABLE_CDDB:BOOL=FALSE |
|
|
54 |
CDDB_DESC= CD info retrieval via CDDB |
40 |
|
55 |
|
|
|
56 |
CDPARANOIA_IMPLIES= TAGLIB |
41 |
CDPARANOIA_LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia |
57 |
CDPARANOIA_LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia |
42 |
CDPARANOIA_CMAKE_ON= -DENABLE_CDPARANOIA:BOOL=TRUE |
58 |
CDPARANOIA_CMAKE_ON= -DENABLE_CDPARANOIA:BOOL=TRUE |
43 |
CDPARANOIA_CMAKE_OFF= -DENABLE_CDPARANOIA:BOOL=FALSE |
59 |
CDPARANOIA_CMAKE_OFF= -DENABLE_CDPARANOIA:BOOL=FALSE |
44 |
|
60 |
|
|
|
61 |
FFMPEG_IMPLIES= TAGLIB |
45 |
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg |
62 |
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg |
46 |
FFMPEG_CMAKE_ON= -DENABLE_FFMPEG:BOOL=TRUE |
63 |
FFMPEG_CMAKE_ON= -DENABLE_FFMPEG:BOOL=TRUE |
47 |
FFMPEG_CMAKE_OFF= -DENABLE_FFMPEG:BOOL=FALSE |
64 |
FFMPEG_CMAKE_OFF= -DENABLE_FFMPEG:BOOL=FALSE |
|
|
65 |
FFMPEG_DESC= ReplayGain calculation support via FFmpeg |
48 |
|
66 |
|
|
|
67 |
MPG123_IMPLIES= TAGLIB |
49 |
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 |
68 |
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 |
50 |
MPG123_CMAKE_ON= -DENABLE_MPG123:BOOL=TRUE |
69 |
MPG123_CMAKE_ON= -DENABLE_MPG123:BOOL=TRUE |
51 |
MPG123_CMAKE_OFF= -DENABLE_MPG123:BOOL=FALSE |
70 |
MPG123_CMAKE_OFF= -DENABLE_MPG123:BOOL=FALSE |
|
|
71 |
MPG123_DESC= ReplayGain calculation support via mpg123 |
52 |
|
72 |
|
53 |
MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp |
73 |
MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp |
54 |
MTP_CMAKE_ON= -DENABLE_MTP:BOOL=TRUE |
74 |
MTP_CMAKE_ON= -DENABLE_MTP:BOOL=TRUE |
55 |
MTP_CMAKE_OFF= -DENABLE_MTP:BOOL=FALSE |
75 |
MTP_CMAKE_OFF= -DENABLE_MTP:BOOL=FALSE |
56 |
|
76 |
|
|
|
77 |
MUSICBRAINZ_IMPLIES= CDPARANOIA |
57 |
MUSICBRAINZ_LIB_DEPENDS=libmusicbrainz5.so:audio/libmusicbrainz5 |
78 |
MUSICBRAINZ_LIB_DEPENDS=libmusicbrainz5.so:audio/libmusicbrainz5 |
58 |
MUSICBRAINZ_CMAKE_ON= -DENABLE_MUSICBRAINZ:BOOL=TRUE |
79 |
MUSICBRAINZ_CMAKE_ON= -DENABLE_MUSICBRAINZ:BOOL=TRUE |
59 |
MUSICBRAINZ_CMAKE_OFF= -DENABLE_MUSICBRAINZ:BOOL=FALSE |
80 |
MUSICBRAINZ_CMAKE_OFF= -DENABLE_MUSICBRAINZ:BOOL=FALSE |
60 |
MUSICBRAINZ_DESC= Access MusicBrainz database for metadata lookup |
81 |
MUSICBRAINZ_DESC= CD info retrieval via MusicBrainz |
61 |
|
82 |
|
62 |
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib\ |
83 |
NLS_USE= QT5=linguisttools_build |
|
|
84 |
NLS_CMAKE_ON= -DLCONVERT_EXECUTABLE:STRING=${QT_BINDIR}/lconvert \ |
85 |
-DLRELEASE_EXECUTABLE:STRING=${QT_BINDIR}/lrelease |
86 |
NLS_CMAKE_OFF= -DLCONVERT_EXECUTABLE:BOOL=FALSE \ |
87 |
-DLRELEASE_EXECUTABLE:BOOL=FALSE |
88 |
|
89 |
PROXY_CMAKE_ON= -DENABLE_PROXY_CONFIG:BOOL=TRUE |
90 |
PROXY_CMAKE_OFF= -DENABLE_PROXY_CONFIG:BOOL=FALSE |
91 |
PROXY_DESC= Proxy configuration in settings dialog |
92 |
|
93 |
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib \ |
63 |
libtag-extras.so:audio/taglib-extras |
94 |
libtag-extras.so:audio/taglib-extras |
|
|
95 |
TAGLIB_USES= localbase |
64 |
TAGLIB_CMAKE_ON= -DENABLE_TAGLIB_EXTRAS:BOOL=TRUE \ |
96 |
TAGLIB_CMAKE_ON= -DENABLE_TAGLIB_EXTRAS:BOOL=TRUE \ |
65 |
-DENABLE_TAGLIB:BOOL=TRUE |
97 |
-DENABLE_TAGLIB:BOOL=TRUE |
66 |
TAGLIB_CMAKE_OFF= -DENABLE_TAGLIB_EXTRAS:BOOL=FALSE \ |
98 |
TAGLIB_CMAKE_OFF= -DENABLE_TAGLIB_EXTRAS:BOOL=FALSE \ |
Lines 69-78
Link Here
|
69 |
|
101 |
|
70 |
.include <bsd.port.options.mk> |
102 |
.include <bsd.port.options.mk> |
71 |
|
103 |
|
72 |
.if ${PORT_OPTIONS:MTAGLIB} && ( ${PORT_OPTIONS:MFFMPEG} || ${PORT_OPTIONS:MMPG123} ) |
104 |
.if ${PORT_OPTIONS:MFFMPEG} || ${PORT_OPTIONS:MMPG123} |
|
|
105 |
LIB_DEPENDS+= libebur128.so:audio/libebur128 |
73 |
PLIST_SUB+= REPLAYGAIN="" |
106 |
PLIST_SUB+= REPLAYGAIN="" |
74 |
.else |
107 |
.else |
75 |
PLIST_SUB+= REPLAYGAIN="@comment " |
108 |
PLIST_SUB+= REPLAYGAIN="@comment " |
76 |
.endif |
109 |
.endif |
77 |
|
110 |
|
|
|
111 |
.if ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MVLC} |
112 |
CMAKE_ARGS+= -DENABLE_HTTP_STREAM_PLAYBACK:BOOL=TRUE |
113 |
.else |
114 |
CMAKE_ARGS+= -DENABLE_HTTP_STREAM_PLAYBACK:BOOL=FALSE |
115 |
.endif |
116 |
|
78 |
.include <bsd.port.mk> |
117 |
.include <bsd.port.mk> |