blob: 95e64da99bf9a5d1e25cf72d3530c31ef99e2fcf (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# $FreeBSD$
PORTNAME= cantata
PORTVERSION= 1.5.1
PORTREVISION= 1
CATEGORIES= audio kde
MASTER_SITES= https://drive.google.com/uc?export=download&id=0Bzghs6gQWi60UktwaTRMTjRIUW8&dummy=
MAINTAINER= kde@FreeBSD.org
COMMENT= Graphical client for MPD using Qt5
LICENSE= GPLv3
USE_KDE4= oxygen
USE_QT5= buildtools_build concurrent core dbus gui \
network qmake_build linguisttools svg widgets xml
FETCH_BEFORE_ARGS= -o ${DISTFILES}
CMAKE_ARGS= -DENABLE_QT5:BOOL=TRUE \
-DENABLE_KDE:BOOL=FALSE \
-DLCONVERT_EXECUTABLE:STRING=${QT_BINDIR}/lconvert \
-DLRELEASE_EXECUTABLE:STRING=${QT_BINDIR}/lrelease
USES= cmake:outsource pkgconfig tar:bzip2
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= CDDB CDPARANOIA FFMPEG MPG123 MTP MUSICBRAINZ TAGLIB
OPTIONS_DEFAULT= TAGLIB
OPTIONS_SUB= yes
CDDB_LIB_DEPENDS= libcddb.so:${PORTSDIR}/audio/libcddb
CDDB_CMAKE_ON= -DENABLE_CDDB:BOOL=TRUE
CDDB_CMAKE_OFF= -DENABLE_CDDB:BOOL=FALSE
CDPARANOIA_LIB_DEPENDS= libcdda_interface.so:${PORTSDIR}/audio/cdparanoia
CDPARANOIA_CMAKE_ON= -DENABLE_CDPARANOIA:BOOL=TRUE
CDPARANOIA_CMAKE_OFF= -DENABLE_CDPARANOIA:BOOL=FALSE
FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
FFMPEG_CMAKE_ON= -DENABLE_FFMPEG:BOOL=TRUE
FFMPEG_CMAKE_OFF= -DENABLE_FFMPEG:BOOL=FALSE
MPG123_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123
MPG123_CMAKE_ON= -DENABLE_MPG123:BOOL=TRUE
MPG123_CMAKE_OFF= -DENABLE_MPG123:BOOL=FALSE
MTP_LIB_DEPENDS= libmtp.so:${PORTSDIR}/multimedia/libmtp
MTP_CMAKE_ON= -DENABLE_MTP:BOOL=TRUE
MTP_CMAKE_OFF= -DENABLE_MTP:BOOL=FALSE
MUSICBRAINZ_LIB_DEPENDS=libmusicbrainz5.so:${PORTSDIR}/audio/libmusicbrainz5
MUSICBRAINZ_CMAKE_ON= -DENABLE_MUSICBRAINZ:BOOL=TRUE
MUSICBRAINZ_CMAKE_OFF= -DENABLE_MUSICBRAINZ:BOOL=FALSE
MUSICBRAINZ_DESC= Access MusicBrainz database for metadata lookup
TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib\
libtag-extras.so:${PORTSDIR}/audio/taglib-extras
TAGLIB_CMAKE_ON= -DENABLE_TAGLIB_EXTRAS:BOOL=TRUE \
-DENABLE_TAGLIB:BOOL=TRUE
TAGLIB_CMAKE_OFF= -DENABLE_TAGLIB_EXTRAS:BOOL=FALSE \
-DENABLE_TAGLIB:BOOL=FALSE
TAGLIB_DESC= Reading and editing Meta-Data of audio files
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTAGLIB} && ( ${PORT_OPTIONS:MFFMPEG} || ${PORT_OPTIONS:MMPG123} )
PLIST_SUB+= REPLAYGAIN=""
.else
PLIST_SUB+= REPLAYGAIN="@comment "
.endif
.include <bsd.port.mk>
|