summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-09-20 03:11:03 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-09-20 03:11:03 +0800
commit3bfbcc7ababdfc261e65c43c7d4042bce821d686 (patch)
treee7794fb9b3f99d4fdf0ad7ba45cce284aeb19523 /audio
parentd698031652aa66a269641c6f9a9b411db788dafb (diff)
downloadmarcuscom-ports-3bfbcc7ababdfc261e65c43c7d4042bce821d686.tar
marcuscom-ports-3bfbcc7ababdfc261e65c43c7d4042bce821d686.tar.gz
marcuscom-ports-3bfbcc7ababdfc261e65c43c7d4042bce821d686.tar.bz2
marcuscom-ports-3bfbcc7ababdfc261e65c43c7d4042bce821d686.tar.lz
marcuscom-ports-3bfbcc7ababdfc261e65c43c7d4042bce821d686.tar.xz
marcuscom-ports-3bfbcc7ababdfc261e65c43c7d4042bce821d686.tar.zst
marcuscom-ports-3bfbcc7ababdfc261e65c43c7d4042bce821d686.zip
Update to 0.8.6.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2869 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio')
-rw-r--r--audio/rhythmbox-devel/Makefile80
-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/pkg-descr5
-rw-r--r--audio/rhythmbox-devel/pkg-plist185
-rw-r--r--audio/rhythmbox/Makefile80
-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/pkg-descr5
-rw-r--r--audio/rhythmbox/pkg-plist185
12 files changed, 610 insertions, 0 deletions
diff --git a/audio/rhythmbox-devel/Makefile b/audio/rhythmbox-devel/Makefile
new file mode 100644
index 000000000..d282a912b
--- /dev/null
+++ b/audio/rhythmbox-devel/Makefile
@@ -0,0 +1,80 @@
+# 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.47 2004/08/20 04:41:45 marcus Exp $
+#
+
+PORTNAME= rhythmbox
+PORTVERSION= 0.8.6
+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 \
+ FLAC.5:${PORTSDIR}/audio/flac \
+ mad.2:${PORTSDIR}/audio/libmad \
+ id3tag.2:${PORTSDIR}/audio/libid3tag
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
+USE_LIBTOOL_VER=15
+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.9:${PORTSDIR}/multimedia/libxine
+CONFIGURE_ARGS+= --with-player=xine
+WITH_MONKEYMEDIA= yes
+.else
+CONFIGURE_ARGS+= --with-player=gstreamer
+USE_GNOME+= gstreamerplugins
+.endif
+
+.ifdef (WITH_MONKEYMEDIA)
+CONFIGURE_ARGS+= --with-metadata=monkeymedia
+.else
+CONFIGURE_ARGS+= --with-metadata=gstreamer
+USE_GNOME+= gstreamerplugins
+.endif
+
+.ifdef (WITH_IPOD)
+CONFIGURE_ARGS+= --enable-ipod
+.endif
+
+.if exists(${LOCALBASE}/lib/libvorbis.so)
+WITH_VORBIS= yes
+.endif
+
+.ifdef (WITH_VORBIS)
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
+.else
+CONFIGURE_ARGS+= --disable-vorbis --disable-vorbistest
+.endif
+
+pre-everything::
+.if !defined(WITH_XINE)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You must have gstreamer-plugins built with MAD support!"
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_VORBIS)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Define WITH_VORBIS to enable Vorbis 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..7a19ded54
--- /dev/null
+++ b/audio/rhythmbox-devel/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/rhythmbox-0.8.6.tar.bz2) = 6f745e97a66c56623e1d782e9e4941fd
+SIZE (gnome2/rhythmbox-0.8.6.tar.bz2) = 2433982
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/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..b76275330
--- /dev/null
+++ b/audio/rhythmbox-devel/pkg-plist
@@ -0,0 +1,185 @@
+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
+@exec scrollkeeper-install -q %D/share/gnome/omf/rhythmbox/rhythmbox-C.omf 2>/dev/null || /usr/bin/true
+share/gnome/omf/rhythmbox/rhythmbox-ja.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/rhythmbox/rhythmbox-ja.omf 2>/dev/null || /usr/bin/true
+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
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/rhythmbox/rhythmbox-C.omf 2>/dev/null || /usr/bin/true
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/rhythmbox/rhythmbox-ja.omf 2>/dev/null || /usr/bin/true
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
new file mode 100644
index 000000000..d282a912b
--- /dev/null
+++ b/audio/rhythmbox/Makefile
@@ -0,0 +1,80 @@
+# 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.47 2004/08/20 04:41:45 marcus Exp $
+#
+
+PORTNAME= rhythmbox
+PORTVERSION= 0.8.6
+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 \
+ FLAC.5:${PORTSDIR}/audio/flac \
+ mad.2:${PORTSDIR}/audio/libmad \
+ id3tag.2:${PORTSDIR}/audio/libid3tag
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack intlhack gnomeprefix libgnomeui
+USE_LIBTOOL_VER=15
+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.9:${PORTSDIR}/multimedia/libxine
+CONFIGURE_ARGS+= --with-player=xine
+WITH_MONKEYMEDIA= yes
+.else
+CONFIGURE_ARGS+= --with-player=gstreamer
+USE_GNOME+= gstreamerplugins
+.endif
+
+.ifdef (WITH_MONKEYMEDIA)
+CONFIGURE_ARGS+= --with-metadata=monkeymedia
+.else
+CONFIGURE_ARGS+= --with-metadata=gstreamer
+USE_GNOME+= gstreamerplugins
+.endif
+
+.ifdef (WITH_IPOD)
+CONFIGURE_ARGS+= --enable-ipod
+.endif
+
+.if exists(${LOCALBASE}/lib/libvorbis.so)
+WITH_VORBIS= yes
+.endif
+
+.ifdef (WITH_VORBIS)
+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
+.else
+CONFIGURE_ARGS+= --disable-vorbis --disable-vorbistest
+.endif
+
+pre-everything::
+.if !defined(WITH_XINE)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You must have gstreamer-plugins built with MAD support!"
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_VORBIS)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Define WITH_VORBIS to enable Vorbis 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..7a19ded54
--- /dev/null
+++ b/audio/rhythmbox/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/rhythmbox-0.8.6.tar.bz2) = 6f745e97a66c56623e1d782e9e4941fd
+SIZE (gnome2/rhythmbox-0.8.6.tar.bz2) = 2433982
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/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..b76275330
--- /dev/null
+++ b/audio/rhythmbox/pkg-plist
@@ -0,0 +1,185 @@
+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
+@exec scrollkeeper-install -q %D/share/gnome/omf/rhythmbox/rhythmbox-C.omf 2>/dev/null || /usr/bin/true
+share/gnome/omf/rhythmbox/rhythmbox-ja.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/rhythmbox/rhythmbox-ja.omf 2>/dev/null || /usr/bin/true
+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
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/rhythmbox/rhythmbox-C.omf 2>/dev/null || /usr/bin/true
+@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/rhythmbox/rhythmbox-ja.omf 2>/dev/null || /usr/bin/true