2008-08-28 13:32:47 +02:00
|
|
|
# New ports collection makefile for: banshee
|
|
|
|
# Date created: Jul 10 2006
|
|
|
|
# Whom: Florent Thoumie <flz@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= banshee
|
2010-06-02 04:17:34 +02:00
|
|
|
PORTVERSION= 1.6.1
|
2009-06-03 17:10:09 +02:00
|
|
|
PORTEPOCH= 1
|
2008-08-28 13:32:47 +02:00
|
|
|
CATEGORIES= multimedia audio
|
2010-10-02 11:10:02 +02:00
|
|
|
MASTER_SITES= http://download.banshee.fm/${PORTNAME}/stable/${PORTVERSION}/
|
2008-08-28 13:32:47 +02:00
|
|
|
DISTNAME= ${PORTNAME}-1-${PORTVERSION}
|
|
|
|
|
2009-01-22 19:21:08 +01:00
|
|
|
MAINTAINER= mono@FreeBSD.org
|
2008-08-28 13:32:47 +02:00
|
|
|
COMMENT= Music management and playback for gnome
|
|
|
|
|
2008-11-11 12:15:48 +01:00
|
|
|
# Could do without bash, but it's brought in by gnome anyway.
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
|
|
|
|
bash:${PORTSDIR}/shells/bash
|
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2008-08-28 13:32:47 +02:00
|
|
|
|
|
|
|
LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mono.pc:${PORTSDIR}/lang/mono \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:${PORTSDIR}/devel/ndesk-dbus \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-glib-1.0.pc:${PORTSDIR}/devel/ndesk-dbus-glib \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/taglib-sharp.pc:${PORTSDIR}/audio/taglib-sharp \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/mono-zeroconf.pc:${PORTSDIR}/net/mono-zeroconf \
|
2010-06-01 19:23:41 +02:00
|
|
|
${LOCALBASE}/libdata/pkgconfig/mono-addins.pc:${PORTSDIR}/devel/mono-addins
|
2008-08-28 13:32:47 +02:00
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
OPTIONS= DOCS "Install documentation" on \
|
|
|
|
BOO "Enable Boo support" off \
|
|
|
|
BPMDETECT "Enable BPM detection" on \
|
|
|
|
MTP "Enable MTP support" on \
|
2010-06-02 04:17:34 +02:00
|
|
|
IPOD "Enable iPod support" on \
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
WEBKIT "Enable Wikipedia support" on \
|
2010-06-02 04:17:34 +02:00
|
|
|
YOUTUBE "Enable Youtube support" on
|
2008-08-28 13:32:47 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5_BUILD=yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= gnomehack gtksharp20 gnomesharp20
|
2009-11-16 17:29:41 +01:00
|
|
|
USE_GSTREAMER= cdparanoia
|
2008-08-28 13:32:47 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}-1
|
|
|
|
USE_XORG= xrandr xxf86vm
|
2008-08-28 22:21:11 +02:00
|
|
|
USE_SQLITE= yes
|
2008-08-28 13:32:47 +02:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
CONFIGURE_ARGS+= --with-vendor-build-id=FreeBSD\ BSD\#\ Project \
|
|
|
|
--disable-gapless-playback
|
2008-08-28 22:21:11 +02:00
|
|
|
|
|
|
|
# Need absolute path for build/icon-install-theme.
|
|
|
|
INSTALL= /usr/bin/install
|
2008-08-28 13:32:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
|
|
|
|
2009-06-22 09:55:50 +02:00
|
|
|
.if defined(WITHOUT_DOCS) || defined(NOPORTDOCS)
|
2008-08-28 13:32:47 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-docs
|
|
|
|
.endif
|
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
.if !defined(WITHOUT_BPMDETECT)
|
|
|
|
USE_GSTREAMER+= soundtouch
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_BOO)
|
|
|
|
CONFIGURE_ARGS+=--enable-boo
|
|
|
|
BUILD_DEPENDS+= booc:${PORTSDIR}/lang/boo
|
|
|
|
RUN_DEPENDS+= booc:${PORTSDIR}/lang/boo
|
|
|
|
PLIST_SUB+= OPT_BOO=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-boo
|
|
|
|
PLIST_SUB+= OPT_BOO="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_IPOD)
|
|
|
|
CONFIGURE_ARGS+=--enable-ipod
|
|
|
|
LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/ipod-sharp-ui.pc:${PORTSDIR}/audio/ipod-sharp
|
|
|
|
PLIST_SUB+= OPT_IPOD=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-ipod
|
2008-11-10 12:05:03 +01:00
|
|
|
PLIST_SUB+= OPT_IPOD="@comment "
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
.endif
|
2008-11-10 12:05:03 +01:00
|
|
|
|
2008-08-28 22:21:11 +02:00
|
|
|
.if !defined(WITHOUT_MTP)
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-mtp
|
2010-05-10 15:07:52 +02:00
|
|
|
LIB_DEPENDS+= mtp.11:${PORTSDIR}/audio/libmtp
|
2008-08-28 22:21:11 +02:00
|
|
|
PLIST_SUB+= OPT_MTP=""
|
|
|
|
.else
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-mtp
|
2008-08-28 22:21:11 +02:00
|
|
|
PLIST_SUB+= OPT_MTP="@comment "
|
|
|
|
.endif
|
|
|
|
|
- Update lang/mono to 2.6.4;
- Update a bunch of C# ports as well (audio/taglib-sharp, deskutils/tomboy,
devel/mono-tools, devel/monodevelop, devel/monodevelop-boo,
devel/monodevelop-database, devel/monodevelop-java, devel/monodevelop-vala,
graphics/f-spot, lang/boo [1], lang/mono-basic, mail/gmime24, gmime24-sharp,
multimedia/banshee, multimedia/banshee-mirage, multimedia/moonlight,
www/mod_mono, www/webkit-sharp, www/xsp, x11-toolkits/gnome-desktop-sharp20,
x11-toolkits/gtk-sharp20, x11-toolkits/libgdiplus).
PR: ports/143657 [1]
Submitted by: glewis [1]
2010-06-01 14:41:30 +02:00
|
|
|
.if !defined(WITHOUT_WEBKIT)
|
|
|
|
CONFIGURE_ARGS+=--enable-webkit
|
|
|
|
LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/webkit-sharp-1.0.pc:${PORTSDIR}/www/webkit-sharp
|
|
|
|
PLIST_SUB+= OPT_WEBKIT=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-webkit
|
|
|
|
PLIST_SUB+= OPT_WEBKIT="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_YOUTUBE)
|
|
|
|
CONFIGURE_ARGS+=--enable-youtube
|
|
|
|
LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/gdata-sharp-youtube.pc:${PORTSDIR}/devel/google-gdata
|
|
|
|
PLIST_SUB+= OPT_YOUTUBE=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-youtube
|
|
|
|
PLIST_SUB+= OPT_YOUTUBE="@comment "
|
2009-11-16 17:29:41 +01:00
|
|
|
.endif
|
2008-08-28 13:32:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|