From 072830ece1620d97606ea7707def0871e86d07a8 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Fri, 23 Dec 2011 10:16:53 +0000 Subject: [PATCH] - install dependency on audio/liblastfm conditionally via OPTIONS (default on) No need to bump PORTREVISION, because default dependency list is not changed. PR: 163534 Submitted by: Oliver Heesakkers Approved by: maintainer, novel (mentor, implicit) --- audio/clementine-player/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/audio/clementine-player/Makefile b/audio/clementine-player/Makefile index f3f53588027c..a17a21ad3f82 100644 --- a/audio/clementine-player/Makefile +++ b/audio/clementine-player/Makefile @@ -17,8 +17,7 @@ COMMENT= A cross-platform music player based on Amarok 1.4 LICENSE= GPLv3 -LIB_DEPENDS= lastfm.0:${PORTSDIR}/audio/liblastfm \ - tag.1:${PORTSDIR}/audio/taglib \ +LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib \ notify.4:${PORTSDIR}/devel/libnotify \ xine.1:${PORTSDIR}/multimedia/libxine \ mtp:${PORTSDIR}/audio/libmtp @@ -37,7 +36,8 @@ INSTALLS_ICONS= yes USE_GSTREAMER= gio ogg mp3 flac soup vorbis MAKE_JOBS_UNSAFE= yes -OPTIONS= VISUALISATION "Visualisations from projectM" off +OPTIONS= VISUALISATION "Visualisations from projectM" off \ + LASTFM "Support Last.fm service (requires ruby)" on .include @@ -48,4 +48,8 @@ CMAKE_ARGS+= -DENABLE_VISUALISATIONS=OFF PLIST_SUB+= VSL="@comment " .endif +.if defined(WITH_LASTFM) +LIB_DEPENDS+= lastfm.0:${PORTSDIR}/audio/liblastfm +.endif + .include