aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2006-11-16 16:43:52 +0800
committeralexbl <alexbl@FreeBSD.org>2006-11-16 16:43:52 +0800
commit5c49cfd5b1f4307e8839dd04404e891e87c7db64 (patch)
tree5aeea2d2bb26a9eb6500050ff83351c33137bb5a /audio
parentd047d9a3120e527c95b6015ef73169c045aa329f (diff)
downloadfreebsd-ports-gnome-5c49cfd5b1f4307e8839dd04404e891e87c7db64.tar.gz
freebsd-ports-gnome-5c49cfd5b1f4307e8839dd04404e891e87c7db64.tar.zst
freebsd-ports-gnome-5c49cfd5b1f4307e8839dd04404e891e87c7db64.zip
- add an OPTION for the ices plugin so that xmms2 can stream audio via
icecast Requested by: xride
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms2/Makefile9
-rw-r--r--audio/xmms2/pkg-plist1
2 files changed, 10 insertions, 0 deletions
diff --git a/audio/xmms2/Makefile b/audio/xmms2/Makefile
index f465d2b5ac9b..4c2364bfe0a7 100644
--- a/audio/xmms2/Makefile
+++ b/audio/xmms2/Makefile
@@ -52,6 +52,7 @@ OPTIONS= FAAD "Support to playback AAC files" on \
FAM "Support to update Media Library on file change" off \
MDNS_AVAHI "Support to announce XMMS2d via mDNS (Avahi)" off \
MDNS_APPLE "Support to announce XMMS2d via mDNS (Apple)" on \
+ ICES "Support to playback files to an icecast server" off \
JACK "Support to output via the Jack output server" off #\
# SDL "Support for visualization" on
.endif
@@ -199,6 +200,14 @@ EXCLUDE+= medialib-updater
PLIST_SUB+= FAM="@comment "
.endif
+.if defined(WITH_ICES)
+LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2
+PLIST_SUB+= ICES=""
+.else
+EXCLUDE+= ices
+PLIST_SUB+= ICES="@comment "
+.endif
+
.if defined(WITH_MDNS_AVAHI)
LIB_DEPENDS+= avahi-core:${PORTSDIR}/net/avahi
PLIST_SUB+= MDNS_AVAHI=""
diff --git a/audio/xmms2/pkg-plist b/audio/xmms2/pkg-plist
index c39d05d2e9ec..0f91a73078dc 100644
--- a/audio/xmms2/pkg-plist
+++ b/audio/xmms2/pkg-plist
@@ -70,6 +70,7 @@ lib/xmms2/libxmms_equalizer.so
%%FLAC%%lib/xmms2/libxmms_flac.so
lib/xmms2/libxmms_file.so
%%GNOMEVFS%%lib/xmms2/libxmms_gnomevfs.so
+%%ICES%%lib/xmms2/libxmms_ices.so
lib/xmms2/libxmms_icymetaint.so
lib/xmms2/libxmms_id3v2.so
%%JACK%%lib/xmms2/libxmms_jack.so