summaryrefslogtreecommitdiffstats
path: root/audio/rhythmbox-devel
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-13 03:04:47 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-13 03:04:47 +0800
commitb48a341f07871aa4db27150f7ff23cf6b6ce90d1 (patch)
tree2a5c7d3ebe5718e9e49ae74652885b8ea2bdd992 /audio/rhythmbox-devel
parent5f9ce2927323586b742b63641d5d52a796bcd751 (diff)
downloadmarcuscom-ports-b48a341f07871aa4db27150f7ff23cf6b6ce90d1.tar
marcuscom-ports-b48a341f07871aa4db27150f7ff23cf6b6ce90d1.tar.gz
marcuscom-ports-b48a341f07871aa4db27150f7ff23cf6b6ce90d1.tar.bz2
marcuscom-ports-b48a341f07871aa4db27150f7ff23cf6b6ce90d1.tar.lz
marcuscom-ports-b48a341f07871aa4db27150f7ff23cf6b6ce90d1.tar.xz
marcuscom-ports-b48a341f07871aa4db27150f7ff23cf6b6ce90d1.tar.zst
marcuscom-ports-b48a341f07871aa4db27150f7ff23cf6b6ce90d1.zip
Add optional iPod support, and default it to on.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7746 df743ca5-7f9a-e211-a948-0013205c9059
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