summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/rhythmbox-devel/Makefile93
-rw-r--r--audio/rhythmbox-devel/distinfo2
-rw-r--r--audio/rhythmbox-devel/files/patch-corba_Makefile.in11
-rw-r--r--audio/rhythmbox-devel/files/patch-sources_itunesdb.c22
-rw-r--r--audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c18
-rw-r--r--audio/rhythmbox-devel/pkg-descr5
-rw-r--r--audio/rhythmbox-devel/pkg-plist181
-rw-r--r--audio/rhythmbox/Makefile93
-rw-r--r--audio/rhythmbox/distinfo2
-rw-r--r--audio/rhythmbox/files/patch-corba_Makefile.in11
-rw-r--r--audio/rhythmbox/files/patch-sources_itunesdb.c22
-rw-r--r--audio/rhythmbox/files/patch-sources_rb-ipod-source.c18
-rw-r--r--audio/rhythmbox/pkg-descr5
-rw-r--r--audio/rhythmbox/pkg-plist181
14 files changed, 664 insertions, 0 deletions
diff --git a/audio/rhythmbox-devel/Makefile b/audio/rhythmbox-devel/Makefile
new file mode 100644
index 000000000..819312898
--- /dev/null
+++ b/audio/rhythmbox-devel/Makefile
@@ -0,0 +1,93 @@
+# New ports collection makefile for: rhythmbox
+# Date created: 17 August 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/audio/rhythmbox/Makefile,v 1.52 2004/12/31 17:47:42 pav Exp $
+#
+
+PORTNAME= rhythmbox
+PORTVERSION= 0.8.8
+PORTREVISION= 1
+CATEGORIES= audio gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.8
+DIST_SUBDIR= gnome2
+
+MAINTAINER= marcus@freebsd.org
+COMMENT= Audio player for the Gnome 2 desktop environment
+
+LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
+ id3tag.2:${PORTSDIR}/audio/libid3tag
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+INSTALLS_OMF= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
+WANT_GSTREAMER= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ARGS= --enable-nautilus-menu
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm" \
+ CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+
+GCONF_SCHEMAS= rhythmbox.schemas
+
+OPTIONS= XINE "Use xine backend instead of GStreamer" off \
+ MONKEYMEDIA "Use MonkeyMedia metadata reader" off \
+ IPOD "Enable iPod support" off
+
+.include <bsd.port.pre.mk>
+
+.ifdef (WITH_XINE)
+LIB_DEPENDS+= xine.12:${PORTSDIR}/multimedia/libxine \
+ FLAC.5:${PORTSDIR}/audio/flac \
+ mad.2:${PORTSDIR}/audio/libmad
+CONFIGURE_ARGS+= --with-player=xine
+WITH_MONKEYMEDIA= yes
+.else
+CONFIGURE_ARGS+= --with-player=gstreamer
+USE_GSTREAMER+= flac mad gnomevfs
+.endif
+
+.ifdef (WITH_MONKEYMEDIA)
+CONFIGURE_ARGS+= --with-metadata=monkeymedia
+.else
+CONFIGURE_ARGS+= --with-metadata=gstreamer
+USE_GSTREAMER+= flac mad gnomevfs
+.endif
+
+.ifdef (WITH_IPOD)
+CONFIGURE_ARGS+= --enable-ipod
+.endif
+
+.if exists(${LOCALBASE}/lib/libvorbis.so)
+WITH_VORBIS= yes
+.endif
+
+.ifdef (WITH_VORBIS)
+.ifndef (WITH_XINE)
+USE_GSTREAMER+= vorbis
+.else
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
+.endif
+.else
+CONFIGURE_ARGS+= --disable-vorbis --disable-vorbistest
+.endif
+
+.if !defined(WITH_XINE) && defined(WITH_FAAD)
+USE_GSTREAMER+= faad
+.endif
+
+pre-everything::
+.if !defined(WITH_VORBIS)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Define WITH_VORBIS to enable Vorbis support"
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_XINE) && !defined(WITH_FAAD)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Define WITH_FAAD to enable Faad support"
+ @${ECHO_MSG}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/rhythmbox-devel/distinfo b/audio/rhythmbox-devel/distinfo
new file mode 100644
index 000000000..47e7558cb
--- /dev/null
+++ b/audio/rhythmbox-devel/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/rhythmbox-0.8.8.tar.bz2) = 46cd84b3b67f85009aa48e0e301124fe
+SIZE (gnome2/rhythmbox-0.8.8.tar.bz2) = 2435338
diff --git a/audio/rhythmbox-devel/files/patch-corba_Makefile.in b/audio/rhythmbox-devel/files/patch-corba_Makefile.in
new file mode 100644
index 000000000..723285dfa
--- /dev/null
+++ b/audio/rhythmbox-devel/files/patch-corba_Makefile.in
@@ -0,0 +1,11 @@
+--- corba/Makefile.in.orig Wed Aug 27 04:19:40 2003
++++ corba/Makefile.in Wed Aug 27 04:19:56 2003
+@@ -237,7 +237,7 @@
+
+ noinst_HEADERS = Rhythmbox.h
+
+-idldir = $(prefix)/share/idl
++idldir = $(datadir)/idl
+ idl_DATA = Rhythmbox.idl
+
+ CLEAN_FILES = $(rhythmbox_interface_idl_sources)
diff --git a/audio/rhythmbox-devel/files/patch-sources_itunesdb.c b/audio/rhythmbox-devel/files/patch-sources_itunesdb.c
new file mode 100644
index 000000000..6270d9f74
--- /dev/null
+++ b/audio/rhythmbox-devel/files/patch-sources_itunesdb.c
@@ -0,0 +1,22 @@
+--- sources/itunesdb.c.orig Fri Mar 19 12:20:13 2004
++++ sources/itunesdb.c Fri Apr 2 21:39:39 2004
+@@ -729,8 +729,9 @@
+ gchar data[4];
+ guint32 header_length, entry_length, entry_num, i=0;
+ time_t tt = time (NULL);
++ struct tm *tmt;
+
+- localtime (&tt); /* set the ext. variable 'timezone' (see below) */
++ tmt = localtime (&tt); /* set the ext. variable 'timezone' (see below) */
+ if (seek_get_n_bytes (plycts, data, 0, 4) != 4) break;
+ if (cmp_n_bytes (data, "mhdp", 4) == FALSE) break;
+ header_length = get4int (plycts, 4);
+@@ -768,7 +769,7 @@
+ * way to do that ?
+ */
+ if (playcount->time_played)
+- playcount->time_played += __timezone;
++ playcount->time_played += tmt->tm_gmtoff;
+
+ /* rating only exists if the entry length is at least 0x10 */
+ if (entry_length >= 0x10)
diff --git a/audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c b/audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c
new file mode 100644
index 000000000..61fbb19a5
--- /dev/null
+++ b/audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c
@@ -0,0 +1,18 @@
+--- sources/rb-ipod-source.c.orig Sun Sep 19 17:05:37 2004
++++ sources/rb-ipod-source.c Sun Sep 19 17:05:49 2004
+@@ -234,6 +234,7 @@
+ }
+
+ /* Set disc number */
++ /*
+ if (song->cd_nr != 0) {
+ GValue value = {0, };
+ g_value_init (&value, G_TYPE_ULONG);
+@@ -243,6 +244,7 @@
+ &value);
+ g_value_unset (&value);
+ }
++ */
+
+ /* Set bitrate */
+ if (song->bitrate != 0) {
diff --git a/audio/rhythmbox-devel/pkg-descr b/audio/rhythmbox-devel/pkg-descr
new file mode 100644
index 000000000..39e0558c2
--- /dev/null
+++ b/audio/rhythmbox-devel/pkg-descr
@@ -0,0 +1,5 @@
+Rhythmbox is an integrated music management application, originally inspired by
+Apple's iTunes. It is free software, designed to work well under the GNOME
+Desktop, and based on the powerful GStreamer media framework.
+
+WWW: http://web.rhythmbox.org/
diff --git a/audio/rhythmbox-devel/pkg-plist b/audio/rhythmbox-devel/pkg-plist
new file mode 100644
index 000000000..74aaaf42d
--- /dev/null
+++ b/audio/rhythmbox-devel/pkg-plist
@@ -0,0 +1,181 @@
+bin/rhythmbox
+lib/bonobo/librb-nautilus-context-menu.so
+libdata/bonobo/servers/GNOME_Rhythmbox.server
+libdata/bonobo/servers/Rhythmbox_Nautilus_Context_Menu.server
+libdata/pkgconfig/rhythmbox.pc
+share/gnome/application-registry/rhythmbox.applications
+share/gnome/applications/rhythmbox.desktop
+share/gnome/gnome-2.0/ui/rhythmbox-ui.xml
+share/gnome/help/rhythmbox/C/authors.xml
+share/gnome/help/rhythmbox/C/fdl-appendix.xml
+share/gnome/help/rhythmbox/C/figures/rb-adv.png
+share/gnome/help/rhythmbox/C/figures/rb-asst-finish.png
+share/gnome/help/rhythmbox/C/figures/rb-asst-library.png
+share/gnome/help/rhythmbox/C/figures/rb-asst-start.png
+share/gnome/help/rhythmbox/C/figures/rb-basic.png
+share/gnome/help/rhythmbox/C/figures/rb-browser.png
+share/gnome/help/rhythmbox/C/figures/rb-context-menu.png
+share/gnome/help/rhythmbox/C/figures/rb-empty.png
+share/gnome/help/rhythmbox/C/figures/rb-full-play.png
+share/gnome/help/rhythmbox/C/figures/rb-group-auto.png
+share/gnome/help/rhythmbox/C/figures/rb-group-create.png
+share/gnome/help/rhythmbox/C/figures/rb-group.png
+share/gnome/help/rhythmbox/C/figures/rb-imported.png
+share/gnome/help/rhythmbox/C/figures/rb-iradio-add.png
+share/gnome/help/rhythmbox/C/figures/rb-iradio.png
+share/gnome/help/rhythmbox/C/figures/rb-nextprev.png
+share/gnome/help/rhythmbox/C/figures/rb-nobrowse-play.png
+share/gnome/help/rhythmbox/C/figures/rb-notification-area-menu.png
+share/gnome/help/rhythmbox/C/figures/rb-notification-area.png
+share/gnome/help/rhythmbox/C/figures/rb-player.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs-general.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs-ipod.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs-library.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs.png
+share/gnome/help/rhythmbox/C/figures/rb-repeat.png
+share/gnome/help/rhythmbox/C/figures/rb-search.png
+share/gnome/help/rhythmbox/C/figures/rb-shuffle.png
+share/gnome/help/rhythmbox/C/figures/rb-sidebar.png
+share/gnome/help/rhythmbox/C/figures/rb-stats.png
+share/gnome/help/rhythmbox/C/figures/rb-statusbar.png
+share/gnome/help/rhythmbox/C/figures/rb-toolbar-editor.png
+share/gnome/help/rhythmbox/C/figures/rb-toolbar.png
+share/gnome/help/rhythmbox/C/figures/rb-volume-changer.png
+share/gnome/help/rhythmbox/C/figures/rb-volume-mute.png
+share/gnome/help/rhythmbox/C/figures/rb-window-small.png
+share/gnome/help/rhythmbox/C/figures/rb-window.png
+share/gnome/help/rhythmbox/C/figures/rhythmbox-group.png
+share/gnome/help/rhythmbox/C/figures/rhythmbox-tray-icon.png
+share/gnome/help/rhythmbox/C/legal.xml
+share/gnome/help/rhythmbox/C/quick-reference.xml
+share/gnome/help/rhythmbox/C/rhythmbox.xml
+share/gnome/help/rhythmbox/C/user-guide.xml
+share/gnome/help/rhythmbox/ja/authors.xml
+share/gnome/help/rhythmbox/ja/fdl-appendix.xml
+share/gnome/help/rhythmbox/ja/figures/rb-adv.png
+share/gnome/help/rhythmbox/ja/figures/rb-basic.png
+share/gnome/help/rhythmbox/ja/figures/rb-browser.png
+share/gnome/help/rhythmbox/ja/figures/rb-context-menu.png
+share/gnome/help/rhythmbox/ja/figures/rb-iradio-add.png
+share/gnome/help/rhythmbox/ja/figures/rb-iradio.png
+share/gnome/help/rhythmbox/ja/figures/rb-nextprev.png
+share/gnome/help/rhythmbox/ja/figures/rb-notification-area-menu.png
+share/gnome/help/rhythmbox/ja/figures/rb-notification-area.png
+share/gnome/help/rhythmbox/ja/figures/rb-player.png
+share/gnome/help/rhythmbox/ja/figures/rb-prefs-general.png
+share/gnome/help/rhythmbox/ja/figures/rb-prefs-library.png
+share/gnome/help/rhythmbox/ja/figures/rb-repeat.png
+share/gnome/help/rhythmbox/ja/figures/rb-search.png
+share/gnome/help/rhythmbox/ja/figures/rb-shuffle.png
+share/gnome/help/rhythmbox/ja/figures/rb-sidebar.png
+share/gnome/help/rhythmbox/ja/figures/rb-stats.png
+share/gnome/help/rhythmbox/ja/figures/rb-volume-changer.png
+share/gnome/help/rhythmbox/ja/figures/rb-window.png
+share/gnome/help/rhythmbox/ja/legal.xml
+share/gnome/help/rhythmbox/ja/quick-reference.xml
+share/gnome/help/rhythmbox/ja/rhythmbox.xml
+share/gnome/help/rhythmbox/ja/user-guide.xml
+share/gnome/idl/Rhythmbox.idl
+share/gnome/mime-info/rhythmbox.keys
+share/gnome/omf/rhythmbox/rhythmbox-C.omf
+share/gnome/omf/rhythmbox/rhythmbox-ja.omf
+share/gnome/pixmaps/rhythmbox.png
+share/gnome/rhythmbox/art/about-logo.png
+share/gnome/rhythmbox/art/rhythmbox-album.png
+share/gnome/rhythmbox/art/rhythmbox-audiocd.png
+share/gnome/rhythmbox/art/rhythmbox-automatic-playlist.png
+share/gnome/rhythmbox/art/rhythmbox-dnd.png
+share/gnome/rhythmbox/art/rhythmbox-ipod.png
+share/gnome/rhythmbox/art/rhythmbox-iradio.png
+share/gnome/rhythmbox/art/rhythmbox-library.png
+share/gnome/rhythmbox/art/rhythmbox-next.png
+share/gnome/rhythmbox/art/rhythmbox-no-star.png
+share/gnome/rhythmbox/art/rhythmbox-pause.png
+share/gnome/rhythmbox/art/rhythmbox-paused.png
+share/gnome/rhythmbox/art/rhythmbox-play.png
+share/gnome/rhythmbox/art/rhythmbox-playing.png
+share/gnome/rhythmbox/art/rhythmbox-playlist-menu.png
+share/gnome/rhythmbox/art/rhythmbox-playlist.png
+share/gnome/rhythmbox/art/rhythmbox-previous.png
+share/gnome/rhythmbox/art/rhythmbox-repeat.png
+share/gnome/rhythmbox/art/rhythmbox-rewind.png
+share/gnome/rhythmbox/art/rhythmbox-set-star.png
+share/gnome/rhythmbox/art/rhythmbox-shuffle.png
+share/gnome/rhythmbox/art/rhythmbox-stop.png
+share/gnome/rhythmbox/art/rhythmbox-tray-icon.png
+share/gnome/rhythmbox/art/rhythmbox-unset-star.png
+share/gnome/rhythmbox/art/rhythmbox-visuals.png
+share/gnome/rhythmbox/art/rhythmbox-volume-max.png
+share/gnome/rhythmbox/art/rhythmbox-volume-medium.png
+share/gnome/rhythmbox/art/rhythmbox-volume-min.png
+share/gnome/rhythmbox/art/rhythmbox-volume-mute.png
+share/gnome/rhythmbox/art/rhythmbox-volume-zero.png
+share/gnome/rhythmbox/glade/create-playlist.glade
+share/gnome/rhythmbox/glade/druid.glade
+share/gnome/rhythmbox/glade/general-prefs.glade
+share/gnome/rhythmbox/glade/library-prefs.glade
+share/gnome/rhythmbox/glade/load-failure.glade
+share/gnome/rhythmbox/glade/song-info-multiple.glade
+share/gnome/rhythmbox/glade/song-info.glade
+share/gnome/rhythmbox/glade/station-new.glade
+share/gnome/rhythmbox/glade/station-properties.glade
+share/gnome/rhythmbox/glade/uri.glade
+share/gnome/rhythmbox/iradio-initial.pls
+share/locale/am/LC_MESSAGES/rhythmbox.mo
+share/locale/ar/LC_MESSAGES/rhythmbox.mo
+share/locale/az/LC_MESSAGES/rhythmbox.mo
+share/locale/be/LC_MESSAGES/rhythmbox.mo
+share/locale/bg/LC_MESSAGES/rhythmbox.mo
+share/locale/ca/LC_MESSAGES/rhythmbox.mo
+share/locale/cs/LC_MESSAGES/rhythmbox.mo
+share/locale/cy/LC_MESSAGES/rhythmbox.mo
+share/locale/da/LC_MESSAGES/rhythmbox.mo
+share/locale/de/LC_MESSAGES/rhythmbox.mo
+share/locale/el/LC_MESSAGES/rhythmbox.mo
+share/locale/en_CA/LC_MESSAGES/rhythmbox.mo
+share/locale/en_GB/LC_MESSAGES/rhythmbox.mo
+share/locale/es/LC_MESSAGES/rhythmbox.mo
+share/locale/et/LC_MESSAGES/rhythmbox.mo
+share/locale/eu/LC_MESSAGES/rhythmbox.mo
+share/locale/fi/LC_MESSAGES/rhythmbox.mo
+share/locale/fr/LC_MESSAGES/rhythmbox.mo
+share/locale/ga/LC_MESSAGES/rhythmbox.mo
+share/locale/he/LC_MESSAGES/rhythmbox.mo
+share/locale/hr/LC_MESSAGES/rhythmbox.mo
+share/locale/hu/LC_MESSAGES/rhythmbox.mo
+share/locale/id/LC_MESSAGES/rhythmbox.mo
+share/locale/is/LC_MESSAGES/rhythmbox.mo
+share/locale/it/LC_MESSAGES/rhythmbox.mo
+share/locale/ja/LC_MESSAGES/rhythmbox.mo
+share/locale/ko/LC_MESSAGES/rhythmbox.mo
+share/locale/lt/LC_MESSAGES/rhythmbox.mo
+share/locale/lv/LC_MESSAGES/rhythmbox.mo
+share/locale/mn/LC_MESSAGES/rhythmbox.mo
+share/locale/ms/LC_MESSAGES/rhythmbox.mo
+share/locale/nb/LC_MESSAGES/rhythmbox.mo
+share/locale/nl/LC_MESSAGES/rhythmbox.mo
+share/locale/no/LC_MESSAGES/rhythmbox.mo
+share/locale/pa/LC_MESSAGES/rhythmbox.mo
+share/locale/pl/LC_MESSAGES/rhythmbox.mo
+share/locale/pt/LC_MESSAGES/rhythmbox.mo
+share/locale/pt_BR/LC_MESSAGES/rhythmbox.mo
+share/locale/ro/LC_MESSAGES/rhythmbox.mo
+share/locale/ru/LC_MESSAGES/rhythmbox.mo
+share/locale/sk/LC_MESSAGES/rhythmbox.mo
+share/locale/sr/LC_MESSAGES/rhythmbox.mo
+share/locale/sr@Latn/LC_MESSAGES/rhythmbox.mo
+share/locale/sv/LC_MESSAGES/rhythmbox.mo
+share/locale/tr/LC_MESSAGES/rhythmbox.mo
+share/locale/uk/LC_MESSAGES/rhythmbox.mo
+share/locale/vi/LC_MESSAGES/rhythmbox.mo
+share/locale/zh_CN/LC_MESSAGES/rhythmbox.mo
+share/locale/zh_TW/LC_MESSAGES/rhythmbox.mo
+@dirrm share/gnome/rhythmbox/glade
+@dirrm share/gnome/rhythmbox/art
+@dirrm share/gnome/rhythmbox
+@dirrm share/gnome/omf/rhythmbox
+@dirrm share/gnome/help/rhythmbox/ja/figures
+@dirrm share/gnome/help/rhythmbox/ja
+@dirrm share/gnome/help/rhythmbox/C/figures
+@dirrm share/gnome/help/rhythmbox/C
+@dirrm share/gnome/help/rhythmbox
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
new file mode 100644
index 000000000..819312898
--- /dev/null
+++ b/audio/rhythmbox/Makefile
@@ -0,0 +1,93 @@
+# New ports collection makefile for: rhythmbox
+# Date created: 17 August 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/audio/rhythmbox/Makefile,v 1.52 2004/12/31 17:47:42 pav Exp $
+#
+
+PORTNAME= rhythmbox
+PORTVERSION= 0.8.8
+PORTREVISION= 1
+CATEGORIES= audio gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.8
+DIST_SUBDIR= gnome2
+
+MAINTAINER= marcus@freebsd.org
+COMMENT= Audio player for the Gnome 2 desktop environment
+
+LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
+ id3tag.2:${PORTSDIR}/audio/libid3tag
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+INSTALLS_OMF= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
+WANT_GSTREAMER= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ARGS= --enable-nautilus-menu
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm" \
+ CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+
+GCONF_SCHEMAS= rhythmbox.schemas
+
+OPTIONS= XINE "Use xine backend instead of GStreamer" off \
+ MONKEYMEDIA "Use MonkeyMedia metadata reader" off \
+ IPOD "Enable iPod support" off
+
+.include <bsd.port.pre.mk>
+
+.ifdef (WITH_XINE)
+LIB_DEPENDS+= xine.12:${PORTSDIR}/multimedia/libxine \
+ FLAC.5:${PORTSDIR}/audio/flac \
+ mad.2:${PORTSDIR}/audio/libmad
+CONFIGURE_ARGS+= --with-player=xine
+WITH_MONKEYMEDIA= yes
+.else
+CONFIGURE_ARGS+= --with-player=gstreamer
+USE_GSTREAMER+= flac mad gnomevfs
+.endif
+
+.ifdef (WITH_MONKEYMEDIA)
+CONFIGURE_ARGS+= --with-metadata=monkeymedia
+.else
+CONFIGURE_ARGS+= --with-metadata=gstreamer
+USE_GSTREAMER+= flac mad gnomevfs
+.endif
+
+.ifdef (WITH_IPOD)
+CONFIGURE_ARGS+= --enable-ipod
+.endif
+
+.if exists(${LOCALBASE}/lib/libvorbis.so)
+WITH_VORBIS= yes
+.endif
+
+.ifdef (WITH_VORBIS)
+.ifndef (WITH_XINE)
+USE_GSTREAMER+= vorbis
+.else
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
+.endif
+.else
+CONFIGURE_ARGS+= --disable-vorbis --disable-vorbistest
+.endif
+
+.if !defined(WITH_XINE) && defined(WITH_FAAD)
+USE_GSTREAMER+= faad
+.endif
+
+pre-everything::
+.if !defined(WITH_VORBIS)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Define WITH_VORBIS to enable Vorbis support"
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_XINE) && !defined(WITH_FAAD)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Define WITH_FAAD to enable Faad support"
+ @${ECHO_MSG}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/rhythmbox/distinfo b/audio/rhythmbox/distinfo
new file mode 100644
index 000000000..47e7558cb
--- /dev/null
+++ b/audio/rhythmbox/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/rhythmbox-0.8.8.tar.bz2) = 46cd84b3b67f85009aa48e0e301124fe
+SIZE (gnome2/rhythmbox-0.8.8.tar.bz2) = 2435338
diff --git a/audio/rhythmbox/files/patch-corba_Makefile.in b/audio/rhythmbox/files/patch-corba_Makefile.in
new file mode 100644
index 000000000..723285dfa
--- /dev/null
+++ b/audio/rhythmbox/files/patch-corba_Makefile.in
@@ -0,0 +1,11 @@
+--- corba/Makefile.in.orig Wed Aug 27 04:19:40 2003
++++ corba/Makefile.in Wed Aug 27 04:19:56 2003
+@@ -237,7 +237,7 @@
+
+ noinst_HEADERS = Rhythmbox.h
+
+-idldir = $(prefix)/share/idl
++idldir = $(datadir)/idl
+ idl_DATA = Rhythmbox.idl
+
+ CLEAN_FILES = $(rhythmbox_interface_idl_sources)
diff --git a/audio/rhythmbox/files/patch-sources_itunesdb.c b/audio/rhythmbox/files/patch-sources_itunesdb.c
new file mode 100644
index 000000000..6270d9f74
--- /dev/null
+++ b/audio/rhythmbox/files/patch-sources_itunesdb.c
@@ -0,0 +1,22 @@
+--- sources/itunesdb.c.orig Fri Mar 19 12:20:13 2004
++++ sources/itunesdb.c Fri Apr 2 21:39:39 2004
+@@ -729,8 +729,9 @@
+ gchar data[4];
+ guint32 header_length, entry_length, entry_num, i=0;
+ time_t tt = time (NULL);
++ struct tm *tmt;
+
+- localtime (&tt); /* set the ext. variable 'timezone' (see below) */
++ tmt = localtime (&tt); /* set the ext. variable 'timezone' (see below) */
+ if (seek_get_n_bytes (plycts, data, 0, 4) != 4) break;
+ if (cmp_n_bytes (data, "mhdp", 4) == FALSE) break;
+ header_length = get4int (plycts, 4);
+@@ -768,7 +769,7 @@
+ * way to do that ?
+ */
+ if (playcount->time_played)
+- playcount->time_played += __timezone;
++ playcount->time_played += tmt->tm_gmtoff;
+
+ /* rating only exists if the entry length is at least 0x10 */
+ if (entry_length >= 0x10)
diff --git a/audio/rhythmbox/files/patch-sources_rb-ipod-source.c b/audio/rhythmbox/files/patch-sources_rb-ipod-source.c
new file mode 100644
index 000000000..61fbb19a5
--- /dev/null
+++ b/audio/rhythmbox/files/patch-sources_rb-ipod-source.c
@@ -0,0 +1,18 @@
+--- sources/rb-ipod-source.c.orig Sun Sep 19 17:05:37 2004
++++ sources/rb-ipod-source.c Sun Sep 19 17:05:49 2004
+@@ -234,6 +234,7 @@
+ }
+
+ /* Set disc number */
++ /*
+ if (song->cd_nr != 0) {
+ GValue value = {0, };
+ g_value_init (&value, G_TYPE_ULONG);
+@@ -243,6 +244,7 @@
+ &value);
+ g_value_unset (&value);
+ }
++ */
+
+ /* Set bitrate */
+ if (song->bitrate != 0) {
diff --git a/audio/rhythmbox/pkg-descr b/audio/rhythmbox/pkg-descr
new file mode 100644
index 000000000..39e0558c2
--- /dev/null
+++ b/audio/rhythmbox/pkg-descr
@@ -0,0 +1,5 @@
+Rhythmbox is an integrated music management application, originally inspired by
+Apple's iTunes. It is free software, designed to work well under the GNOME
+Desktop, and based on the powerful GStreamer media framework.
+
+WWW: http://web.rhythmbox.org/
diff --git a/audio/rhythmbox/pkg-plist b/audio/rhythmbox/pkg-plist
new file mode 100644
index 000000000..74aaaf42d
--- /dev/null
+++ b/audio/rhythmbox/pkg-plist
@@ -0,0 +1,181 @@
+bin/rhythmbox
+lib/bonobo/librb-nautilus-context-menu.so
+libdata/bonobo/servers/GNOME_Rhythmbox.server
+libdata/bonobo/servers/Rhythmbox_Nautilus_Context_Menu.server
+libdata/pkgconfig/rhythmbox.pc
+share/gnome/application-registry/rhythmbox.applications
+share/gnome/applications/rhythmbox.desktop
+share/gnome/gnome-2.0/ui/rhythmbox-ui.xml
+share/gnome/help/rhythmbox/C/authors.xml
+share/gnome/help/rhythmbox/C/fdl-appendix.xml
+share/gnome/help/rhythmbox/C/figures/rb-adv.png
+share/gnome/help/rhythmbox/C/figures/rb-asst-finish.png
+share/gnome/help/rhythmbox/C/figures/rb-asst-library.png
+share/gnome/help/rhythmbox/C/figures/rb-asst-start.png
+share/gnome/help/rhythmbox/C/figures/rb-basic.png
+share/gnome/help/rhythmbox/C/figures/rb-browser.png
+share/gnome/help/rhythmbox/C/figures/rb-context-menu.png
+share/gnome/help/rhythmbox/C/figures/rb-empty.png
+share/gnome/help/rhythmbox/C/figures/rb-full-play.png
+share/gnome/help/rhythmbox/C/figures/rb-group-auto.png
+share/gnome/help/rhythmbox/C/figures/rb-group-create.png
+share/gnome/help/rhythmbox/C/figures/rb-group.png
+share/gnome/help/rhythmbox/C/figures/rb-imported.png
+share/gnome/help/rhythmbox/C/figures/rb-iradio-add.png
+share/gnome/help/rhythmbox/C/figures/rb-iradio.png
+share/gnome/help/rhythmbox/C/figures/rb-nextprev.png
+share/gnome/help/rhythmbox/C/figures/rb-nobrowse-play.png
+share/gnome/help/rhythmbox/C/figures/rb-notification-area-menu.png
+share/gnome/help/rhythmbox/C/figures/rb-notification-area.png
+share/gnome/help/rhythmbox/C/figures/rb-player.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs-general.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs-ipod.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs-library.png
+share/gnome/help/rhythmbox/C/figures/rb-prefs.png
+share/gnome/help/rhythmbox/C/figures/rb-repeat.png
+share/gnome/help/rhythmbox/C/figures/rb-search.png
+share/gnome/help/rhythmbox/C/figures/rb-shuffle.png
+share/gnome/help/rhythmbox/C/figures/rb-sidebar.png
+share/gnome/help/rhythmbox/C/figures/rb-stats.png
+share/gnome/help/rhythmbox/C/figures/rb-statusbar.png
+share/gnome/help/rhythmbox/C/figures/rb-toolbar-editor.png
+share/gnome/help/rhythmbox/C/figures/rb-toolbar.png
+share/gnome/help/rhythmbox/C/figures/rb-volume-changer.png
+share/gnome/help/rhythmbox/C/figures/rb-volume-mute.png
+share/gnome/help/rhythmbox/C/figures/rb-window-small.png
+share/gnome/help/rhythmbox/C/figures/rb-window.png
+share/gnome/help/rhythmbox/C/figures/rhythmbox-group.png
+share/gnome/help/rhythmbox/C/figures/rhythmbox-tray-icon.png
+share/gnome/help/rhythmbox/C/legal.xml
+share/gnome/help/rhythmbox/C/quick-reference.xml
+share/gnome/help/rhythmbox/C/rhythmbox.xml
+share/gnome/help/rhythmbox/C/user-guide.xml
+share/gnome/help/rhythmbox/ja/authors.xml
+share/gnome/help/rhythmbox/ja/fdl-appendix.xml
+share/gnome/help/rhythmbox/ja/figures/rb-adv.png
+share/gnome/help/rhythmbox/ja/figures/rb-basic.png
+share/gnome/help/rhythmbox/ja/figures/rb-browser.png
+share/gnome/help/rhythmbox/ja/figures/rb-context-menu.png
+share/gnome/help/rhythmbox/ja/figures/rb-iradio-add.png
+share/gnome/help/rhythmbox/ja/figures/rb-iradio.png
+share/gnome/help/rhythmbox/ja/figures/rb-nextprev.png
+share/gnome/help/rhythmbox/ja/figures/rb-notification-area-menu.png
+share/gnome/help/rhythmbox/ja/figures/rb-notification-area.png
+share/gnome/help/rhythmbox/ja/figures/rb-player.png
+share/gnome/help/rhythmbox/ja/figures/rb-prefs-general.png
+share/gnome/help/rhythmbox/ja/figures/rb-prefs-library.png
+share/gnome/help/rhythmbox/ja/figures/rb-repeat.png
+share/gnome/help/rhythmbox/ja/figures/rb-search.png
+share/gnome/help/rhythmbox/ja/figures/rb-shuffle.png
+share/gnome/help/rhythmbox/ja/figures/rb-sidebar.png
+share/gnome/help/rhythmbox/ja/figures/rb-stats.png
+share/gnome/help/rhythmbox/ja/figures/rb-volume-changer.png
+share/gnome/help/rhythmbox/ja/figures/rb-window.png
+share/gnome/help/rhythmbox/ja/legal.xml
+share/gnome/help/rhythmbox/ja/quick-reference.xml
+share/gnome/help/rhythmbox/ja/rhythmbox.xml
+share/gnome/help/rhythmbox/ja/user-guide.xml
+share/gnome/idl/Rhythmbox.idl
+share/gnome/mime-info/rhythmbox.keys
+share/gnome/omf/rhythmbox/rhythmbox-C.omf
+share/gnome/omf/rhythmbox/rhythmbox-ja.omf
+share/gnome/pixmaps/rhythmbox.png
+share/gnome/rhythmbox/art/about-logo.png
+share/gnome/rhythmbox/art/rhythmbox-album.png
+share/gnome/rhythmbox/art/rhythmbox-audiocd.png
+share/gnome/rhythmbox/art/rhythmbox-automatic-playlist.png
+share/gnome/rhythmbox/art/rhythmbox-dnd.png
+share/gnome/rhythmbox/art/rhythmbox-ipod.png
+share/gnome/rhythmbox/art/rhythmbox-iradio.png
+share/gnome/rhythmbox/art/rhythmbox-library.png
+share/gnome/rhythmbox/art/rhythmbox-next.png
+share/gnome/rhythmbox/art/rhythmbox-no-star.png
+share/gnome/rhythmbox/art/rhythmbox-pause.png
+share/gnome/rhythmbox/art/rhythmbox-paused.png
+share/gnome/rhythmbox/art/rhythmbox-play.png
+share/gnome/rhythmbox/art/rhythmbox-playing.png
+share/gnome/rhythmbox/art/rhythmbox-playlist-menu.png
+share/gnome/rhythmbox/art/rhythmbox-playlist.png
+share/gnome/rhythmbox/art/rhythmbox-previous.png
+share/gnome/rhythmbox/art/rhythmbox-repeat.png
+share/gnome/rhythmbox/art/rhythmbox-rewind.png
+share/gnome/rhythmbox/art/rhythmbox-set-star.png
+share/gnome/rhythmbox/art/rhythmbox-shuffle.png
+share/gnome/rhythmbox/art/rhythmbox-stop.png
+share/gnome/rhythmbox/art/rhythmbox-tray-icon.png
+share/gnome/rhythmbox/art/rhythmbox-unset-star.png
+share/gnome/rhythmbox/art/rhythmbox-visuals.png
+share/gnome/rhythmbox/art/rhythmbox-volume-max.png
+share/gnome/rhythmbox/art/rhythmbox-volume-medium.png
+share/gnome/rhythmbox/art/rhythmbox-volume-min.png
+share/gnome/rhythmbox/art/rhythmbox-volume-mute.png
+share/gnome/rhythmbox/art/rhythmbox-volume-zero.png
+share/gnome/rhythmbox/glade/create-playlist.glade
+share/gnome/rhythmbox/glade/druid.glade
+share/gnome/rhythmbox/glade/general-prefs.glade
+share/gnome/rhythmbox/glade/library-prefs.glade
+share/gnome/rhythmbox/glade/load-failure.glade
+share/gnome/rhythmbox/glade/song-info-multiple.glade
+share/gnome/rhythmbox/glade/song-info.glade
+share/gnome/rhythmbox/glade/station-new.glade
+share/gnome/rhythmbox/glade/station-properties.glade
+share/gnome/rhythmbox/glade/uri.glade
+share/gnome/rhythmbox/iradio-initial.pls
+share/locale/am/LC_MESSAGES/rhythmbox.mo
+share/locale/ar/LC_MESSAGES/rhythmbox.mo
+share/locale/az/LC_MESSAGES/rhythmbox.mo
+share/locale/be/LC_MESSAGES/rhythmbox.mo
+share/locale/bg/LC_MESSAGES/rhythmbox.mo
+share/locale/ca/LC_MESSAGES/rhythmbox.mo
+share/locale/cs/LC_MESSAGES/rhythmbox.mo
+share/locale/cy/LC_MESSAGES/rhythmbox.mo
+share/locale/da/LC_MESSAGES/rhythmbox.mo
+share/locale/de/LC_MESSAGES/rhythmbox.mo
+share/locale/el/LC_MESSAGES/rhythmbox.mo
+share/locale/en_CA/LC_MESSAGES/rhythmbox.mo
+share/locale/en_GB/LC_MESSAGES/rhythmbox.mo
+share/locale/es/LC_MESSAGES/rhythmbox.mo
+share/locale/et/LC_MESSAGES/rhythmbox.mo
+share/locale/eu/LC_MESSAGES/rhythmbox.mo
+share/locale/fi/LC_MESSAGES/rhythmbox.mo
+share/locale/fr/LC_MESSAGES/rhythmbox.mo
+share/locale/ga/LC_MESSAGES/rhythmbox.mo
+share/locale/he/LC_MESSAGES/rhythmbox.mo
+share/locale/hr/LC_MESSAGES/rhythmbox.mo
+share/locale/hu/LC_MESSAGES/rhythmbox.mo
+share/locale/id/LC_MESSAGES/rhythmbox.mo
+share/locale/is/LC_MESSAGES/rhythmbox.mo
+share/locale/it/LC_MESSAGES/rhythmbox.mo
+share/locale/ja/LC_MESSAGES/rhythmbox.mo
+share/locale/ko/LC_MESSAGES/rhythmbox.mo
+share/locale/lt/LC_MESSAGES/rhythmbox.mo
+share/locale/lv/LC_MESSAGES/rhythmbox.mo
+share/locale/mn/LC_MESSAGES/rhythmbox.mo
+share/locale/ms/LC_MESSAGES/rhythmbox.mo
+share/locale/nb/LC_MESSAGES/rhythmbox.mo
+share/locale/nl/LC_MESSAGES/rhythmbox.mo
+share/locale/no/LC_MESSAGES/rhythmbox.mo
+share/locale/pa/LC_MESSAGES/rhythmbox.mo
+share/locale/pl/LC_MESSAGES/rhythmbox.mo
+share/locale/pt/LC_MESSAGES/rhythmbox.mo
+share/locale/pt_BR/LC_MESSAGES/rhythmbox.mo
+share/locale/ro/LC_MESSAGES/rhythmbox.mo
+share/locale/ru/LC_MESSAGES/rhythmbox.mo
+share/locale/sk/LC_MESSAGES/rhythmbox.mo
+share/locale/sr/LC_MESSAGES/rhythmbox.mo
+share/locale/sr@Latn/LC_MESSAGES/rhythmbox.mo
+share/locale/sv/LC_MESSAGES/rhythmbox.mo
+share/locale/tr/LC_MESSAGES/rhythmbox.mo
+share/locale/uk/LC_MESSAGES/rhythmbox.mo
+share/locale/vi/LC_MESSAGES/rhythmbox.mo
+share/locale/zh_CN/LC_MESSAGES/rhythmbox.mo
+share/locale/zh_TW/LC_MESSAGES/rhythmbox.mo
+@dirrm share/gnome/rhythmbox/glade
+@dirrm share/gnome/rhythmbox/art
+@dirrm share/gnome/rhythmbox
+@dirrm share/gnome/omf/rhythmbox
+@dirrm share/gnome/help/rhythmbox/ja/figures
+@dirrm share/gnome/help/rhythmbox/ja
+@dirrm share/gnome/help/rhythmbox/C/figures
+@dirrm share/gnome/help/rhythmbox/C
+@dirrm share/gnome/help/rhythmbox