summaryrefslogtreecommitdiffstats
path: root/audio/rhythmbox/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-11 08:30:45 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-11 08:30:45 +0800
commit66146593fce2e1831bda006b75a9cdc3a1eaf410 (patch)
treee95851c2b4dc88e2b803c1da8ab2aa54e28ae4fb /audio/rhythmbox/Makefile
parent0fbb07f2f5c84267fd5dc9a2086c770efe5f2955 (diff)
downloadmarcuscom-ports-66146593fce2e1831bda006b75a9cdc3a1eaf410.tar
marcuscom-ports-66146593fce2e1831bda006b75a9cdc3a1eaf410.tar.gz
marcuscom-ports-66146593fce2e1831bda006b75a9cdc3a1eaf410.tar.bz2
marcuscom-ports-66146593fce2e1831bda006b75a9cdc3a1eaf410.tar.lz
marcuscom-ports-66146593fce2e1831bda006b75a9cdc3a1eaf410.tar.xz
marcuscom-ports-66146593fce2e1831bda006b75a9cdc3a1eaf410.tar.zst
marcuscom-ports-66146593fce2e1831bda006b75a9cdc3a1eaf410.zip
Update to 0.9.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4469 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/rhythmbox/Makefile')
-rw-r--r--audio/rhythmbox/Makefile86
1 files changed, 86 insertions, 0 deletions
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
new file mode 100644
index 000000000..a7de71ac5
--- /dev/null
+++ b/audio/rhythmbox/Makefile
@@ -0,0 +1,86 @@
+# 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.59 2005/07/20 17:19:48 marcus Exp $
+#
+
+PORTNAME= rhythmbox
+PORTVERSION= 0.9.0
+CATEGORIES= audio gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.9
+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 nautiluscdburner
+WANT_GSTREAMER= yes
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ARGS= --enable-nautilus-menu
+CONFIGURE_ENV= LIBS="-lm" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
+
+GCONF_SCHEMAS= rhythmbox.schemas
+
+OPTIONS= XINE "Use xine backend instead of GStreamer" off \
+ IPOD "Enable iPod support" off
+
+.include <bsd.port.pre.mk>
+
+.ifdef (WITH_XINE)
+LIB_DEPENDS+= xine.13:${PORTSDIR}/multimedia/libxine \
+ FLAC.7:${PORTSDIR}/audio/flac \
+ mad.2:${PORTSDIR}/audio/libmad \
+ totem-plparser.1:${PORTSDIR}/multimedia/totem
+CONFIGURE_ARGS+= --with-player=xine
+.else
+LIB_DEPENDS+= totem-plparser.1:${PORTSDIR}/multimedia/totem-gstreamer
+CONFIGURE_ARGS+= --with-player=gstreamer
+USE_GSTREAMER+= flac mad gnomevfs gconf
+.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>