aboutsummaryrefslogtreecommitdiff
path: root/audio/tomahawk/Makefile
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2013-05-02 12:42:02 +0000
committerNicola Vitale <nivit@FreeBSD.org>2013-05-02 12:42:02 +0000
commit41b77afd3d0d43d72dd4d977ea44d368ce22dc08 (patch)
treee8bc5941af9a7c4abfd6bbe52e187924714513ea /audio/tomahawk/Makefile
parent786c7a388f3473a1b1201d63c277089fe97facd2 (diff)
downloadports-41b77afd3d0d43d72dd4d977ea44d368ce22dc08.tar.gz
ports-41b77afd3d0d43d72dd4d977ea44d368ce22dc08.zip
Notes
Diffstat (limited to 'audio/tomahawk/Makefile')
-rw-r--r--audio/tomahawk/Makefile30
1 files changed, 23 insertions, 7 deletions
diff --git a/audio/tomahawk/Makefile b/audio/tomahawk/Makefile
index 927ff13a8589..33a7ce36a25b 100644
--- a/audio/tomahawk/Makefile
+++ b/audio/tomahawk/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tomahawk
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.1
#PORTREVISION= 0
CATEGORIES= audio
@@ -21,24 +21,28 @@ LIB_DEPENDS= attica:${PORTSDIR}/x11-toolkits/attica \
qjson:${PORTSDIR}/devel/qjson \
quazip:${PORTSDIR}/archivers/quazip \
tag:${PORTSDIR}/audio/taglib
-RUN_DEPENDS= phonon-vlc>=0.6.1:${PORTSDIR}/multimedia/phonon-vlc \
- phonon-gstreamer>=4.6.3:${PORTSDIR}/multimedia/phonon-gstreamer \
- qca-ossl>=2.0.0.b3_4:${PORTSDIR}/security/qca-ossl
+RUN_DEPENDS= qca-ossl>=2.0.0.b3_4:${PORTSDIR}/security/qca-ossl
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING="Release" \
-DWITH_BREAKPAD:BOOL="OFF" \
- -DWITH_BUILD:STRING="Release"
+ -DWITH_BUILD:STRING="Release" \
+ -DCLUCENE_CONFIG_PATH:PATH="${LOCALBASE}/share/clucene"
GH_ACCOUNT= tomahawk-player
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= ${DISTVERSION}
-GH_COMMIT= 2b8cc4f
+GH_COMMIT= ccb976a
INSTALLS_ICONS= yes
OPTIONS_DEFINE= QTWEETLIB
-OPTIONS_DEFAULT= 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}/,,}
USES= cmake pkgconfig
USE_GITHUB= yes
@@ -56,4 +60,16 @@ LIB_DEPENDS+= QTweetLib:${PORTSDIR}/net/qtweetlib
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>