summaryrefslogtreecommitdiffstats
path: root/audio/rhythmbox-devel
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rhythmbox-devel')
-rw-r--r--audio/rhythmbox-devel/Makefile13
-rw-r--r--audio/rhythmbox-devel/pkg-plist5
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/rhythmbox-devel/Makefile b/audio/rhythmbox-devel/Makefile
index 93e65391a..23564de02 100644
--- a/audio/rhythmbox-devel/Makefile
+++ b/audio/rhythmbox-devel/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/audio/rhythmbox/Makefile,v 1.65 2006/10/07 17:10:03 marcus Exp $
+# $MCom: ports/audio/rhythmbox/Makefile,v 1.66 2006/10/09 15:18:48 marcus Exp $
#
PORTNAME= rhythmbox
PORTVERSION= 0.9.6
+PORTREVISION= 1
CATEGORIES= audio gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.9
@@ -42,6 +43,7 @@ CONFIGURE_ENV= LIBS="-lm" \
GCONF_SCHEMAS= rhythmbox.schemas
OPTIONS= DAAP "Enable iTunes music sharing" off \
+ IPOD "Enable iPod support" on \
FAAD "Enable FAAD decoder support" off \
NOTIFY "Enable libnotify support" on \
VORBIS "Enable Ogg/Vorbis support" on \
@@ -97,4 +99,13 @@ CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON="@comment "
.endif
+.if !defined(WITHOUT_IPOD)
+LIB_DEPENDS+= gpod.400:${PORTSDIR}/audio/libgpod
+CONFIGURE_ARGS+=--with-ipod
+PLIST_SUB+= IPOD=""
+.else
+CONFIGURE_ARGS+=--without-ipod
+PLIST_SUB+= IPOD="@comment "
+.endif
+
.include <bsd.port.post.mk>
diff --git a/audio/rhythmbox-devel/pkg-plist b/audio/rhythmbox-devel/pkg-plist
index 7a1f7c01a..a3f756509 100644
--- a/audio/rhythmbox-devel/pkg-plist
+++ b/audio/rhythmbox-devel/pkg-plist
@@ -26,6 +26,10 @@ lib/rhythmbox/plugins/generic-player/generic-player.rb-plugin
lib/rhythmbox/plugins/generic-player/libgeneric-player.a
lib/rhythmbox/plugins/generic-player/libgeneric-player.la
lib/rhythmbox/plugins/generic-player/libgeneric-player.so
+%%IPOD%%lib/rhythmbox/plugins/ipod/ipod.rb-plugin
+%%IPOD%%lib/rhythmbox/plugins/ipod/libipod.a
+%%IPOD%%lib/rhythmbox/plugins/ipod/libipod.la
+%%IPOD%%lib/rhythmbox/plugins/ipod/libipod.so
lib/rhythmbox/plugins/libaudiocd.a
lib/rhythmbox/plugins/libaudiocd.la
lib/rhythmbox/plugins/libaudiocd.so
@@ -325,6 +329,7 @@ share/locale/zh_TW/LC_MESSAGES/rhythmbox.mo
%%PYTHON%%@dirrm lib/rhythmbox/plugins/rb
%%PYTHON%%@dirrm lib/rhythmbox/plugins/python-console
%%PYTHON%%@dirrm lib/rhythmbox/plugins/lyrics
+%%IPOD%%@dirrm lib/rhythmbox/plugins/ipod
@dirrm lib/rhythmbox/plugins/generic-player
@dirrm lib/rhythmbox/plugins/cd-recorder
@dirrm lib/rhythmbox/plugins/audioscrobbler