1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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 <dev2 at heesakkers dot info>
Approved by:    maintainer, novel (mentor, implicit)
This commit is contained in:
Ruslan Makhmatkhanov 2011-12-23 10:16:53 +00:00
parent f79d5901a5
commit 072830ece1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287919

View File

@ -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 <bsd.port.pre.mk>
@ -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 <bsd.port.post.mk>