blob: 19787f2acb1b49ee7a2db27e65e0676317d1f001 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
# $FreeBSD$
PORTNAME= banshee
PORTVERSION= 2.6.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= multimedia audio
MASTER_SITES= GNOME
MAINTAINER= mono@FreeBSD.org
COMMENT= Music management and playback for gnome
# Could do without bash, but it's brought in by gnome anyway.
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
bash:${PORTSDIR}/shells/bash
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_PC_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/mono.pc:${PORTSDIR}/lang/mono \
${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \
${LOCALBASE}/libdata/pkgconfig/taglib-sharp.pc:${PORTSDIR}/audio/taglib-sharp \
${LOCALBASE}/libdata/pkgconfig/mono-zeroconf.pc:${PORTSDIR}/net/mono-zeroconf \
${LOCALBASE}/libdata/pkgconfig/mono-addins.pc:${PORTSDIR}/devel/mono-addins \
${LOCALBASE}/libdata/pkgconfig/notify-sharp.pc:${PORTSDIR}/devel/notify-sharp
# For now, remove APPLEDEV since it is broken
OPTIONS_DEFINE= DOCS BPMDETECT GIO MTP WEBKIT YOUTUBE
APPLEDEV_DESC= Apple device
BPMDETECT_DESC= Force dependency on soundtouch (required for BPM detection)
GIO_DESC= Use GIO for disk access
WEBKIT_DESC= Build and/or install extensions using Webkit
YOUTUBE_DESC= Build and/or install the Youtube extension
OPTIONS_DEFAULT=BPMDETECT GIO MTP WEBKIT YOUTUBE
USE_XZ= yes
USES= gmake perl5 pkgconfig
USE_PERL5= build
GNU_CONFIGURE= yes
USE_GNOME= gnomehack gtksharp20 gnomesharp20
USE_GSTREAMER= cdparanoia
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME:C/-.*//}
USE_XORG= xrandr xxf86vm
USE_SQLITE= yes
INSTALLS_ICONS= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-vendor-build-id=FreeBSD\ BSD\#\ Project --disable-gio-hardware --disable-boo
NO_STAGE= yes
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
# Need absolute path for build/icon-install-theme.
INSTALL= /usr/bin/install
.if ${PORT_OPTIONS:MGIO}
CONFIGURE_ARGS+=--enable-gio
LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/gtk-sharp-beans-2.0.pc:${PORTSDIR}/x11-toolkits/gtk-sharp-beans
PLIST_SUB+= OPT_GIO=""
.else
CONFIGURE_ARGS+=--disable-gio
PLIST_SUB+= OPT_GIO="@comment "
.endif
.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+=--enable-docs
PLIST_SUB+= OPT_DOCS=""
.else
CONFIGURE_ARGS+=--disable-docs
PLIST_SUB+= OPT_DOCS="@comment "
.endif
.if ${PORT_OPTIONS:MBPMDETECT}
USE_GSTREAMER+= soundtouch
.endif
.if ${PORT_OPTIONS:MAPPLEDEV}
CONFIGURE_ARGS+=--enable-appledevice
LIB_PC_DEPENDS+=${LOCALBASE}/libdata/pkgconfig/libgpodsharp.pc:${PORTSDIR}/audio/libgpod
BROKEN= Missing dependency
PLIST_SUB+= APPLEDEV=""
.else
CONFIGURE_ARGS+=--disable-appledevice
PLIST_SUB+= APPLEDEV="@comment "
.endif
.if ${PORT_OPTIONS:MMTP}
CONFIGURE_ARGS+=--enable-mtp
LIB_DEPENDS+= mtp:${PORTSDIR}/audio/libmtp
PLIST_SUB+= OPT_MTP=""
.else
CONFIGURE_ARGS+=--disable-mtp
PLIST_SUB+= OPT_MTP="@comment "
.endif
.if ${PORT_OPTIONS:MWEBKIT}
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 ${PORT_OPTIONS:MYOUTUBE}
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 "
.endif
.if ${PORT_OPTIONS:MWEBKIT} || ${PORT_OPTIONS:MYOUTUBE}
PLIST_SUB+= OPT_WEBKITORYOUTUBE=""
.else
PLIST_SUB+= OPT_WEBKITORYOUTUBE="@comment "
.endif
.include <bsd.port.mk>
|