blob: 0d38cd72a1b093f47f28b67254def618fa291907 (
plain)
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
|
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= tomahawk
PORTVERSION= 0.7.0
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= nivit@FreeBSD.org
COMMENT= Multi-source, social, and smart music player
LICENSE= GPLv3
LIB_DEPENDS= libattica.so:${PORTSDIR}/x11-toolkits/attica \
libclucene-core.so:${PORTSDIR}/textproc/clucene \
libboost_thread.so:${PORTSDIR}/devel/boost-libs \
libechonest.so:${PORTSDIR}/audio/libechonest \
libjreen.so:${PORTSDIR}/net-im/libjreen \
liblastfm.so:${PORTSDIR}/audio/liblastfm \
libqca.so:${PORTSDIR}/devel/qca \
libqjson.so:${PORTSDIR}/devel/qjson \
libquazip.so:${PORTSDIR}/archivers/quazip \
libtag.so:${PORTSDIR}/audio/taglib
RUN_DEPENDS= qca-ossl>=2.0.0.b3_4:${PORTSDIR}/security/qca-ossl
CMAKE_ARGS+= -DWITH_BREAKPAD:BOOL="OFF" \
-DCLUCENE_CONFIG_PATH:PATH="${LOCALBASE}/share/clucene"
GH_ACCOUNT= tomahawk-player
GH_PROJECT= ${PORTNAME}
GH_COMMIT= 7a869ef
INSTALLS_ICONS= yes
OPTIONS_DEFINE= QTWEETLIB
OPTIONS_DEFAULT= GSTREAMER QTWEETLIB
OPTIONS_RADIO= PHONON
OPTIONS_RADIO_PHONON= GSTREAMER VLC XINE
QTWEETLIB_DESC= Enable Twitter SIP plugin
VLC_DESC= Multimedia support for VLC
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,} \
PORTVERSION=${PORTVERSION}
USES= cmake pkgconfig
NO_STAGE= yes
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_QT4= dbus designer gui linguist_build moc_build \
network phonon qmake_build qtestlib rcc_build \
sql-sqlite2 svg uic_build xml
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQTWEETLIB}
LIB_DEPENDS+= libQTweetLib.so:${PORTSDIR}/net/qtweetlib
.else
CMAKE_ARGS+= -DWITH_QTweetLib:BOOL="OFF"
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
RUN_DEPENDS+= phonon-gstreamer>=4.6.3:${PORTSDIR}/multimedia/phonon-gstreamer
.endif
.if ${PORT_OPTIONS:MVLC}
RUN_DEPENDS+= phonon-vlc>=0.6.1:${PORTSDIR}/multimedia/phonon-vlc
.endif
.if ${PORT_OPTIONS:MXINE}
RUN_DEPENDS+= phonon-xine>=4.4.4_5:${PORTSDIR}/multimedia/phonon-xine
.endif
.include <bsd.port.mk>
|