blob: a92288248cd7bbd9595a8cbcbd1fb3a5a6e989ee (
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
|
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/trunk/net-im/empathy3/Makefile 18610 2013-06-30 16:33:05Z marcus $
PORTNAME= empathy
PORTVERSION= 3.6.2
PORTREVISION= 1
CATEGORIES= net-im gnome
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME IM client based around telepathy
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \
itstool:${PORTSDIR}/textproc/itstool \
${LOCALBASE}/libexec/mission-control-5:${PORTSDIR}/net-im/telepathy-mission-control
LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant \
libgeocode-glib.so:${PORTSDIR}/net/geocode-glib \
libgoa-1.0.so:${PORTSDIR}/net/gnome-online-accounts \
libpulse.so:${PORTSDIR}/audio/pulseaudio \
libtelepathy.so:${PORTSDIR}/net-im/libtelepathy \
libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib \
libtelepathy-farstream.so:${PORTSDIR}/net-im/telepathy-farstream \
libtelepathy-logger.so:${PORTSDIR}/net-im/telepathy-logger \
libfolks-telepathy.so:${PORTSDIR}/net-im/folks \
libnotify.so:${PORTSDIR}/devel/libnotify \
libgcr-3.so:${PORTSDIR}/security/gcr \
libcanberra-gtk3.so:${PORTSDIR}/audio/libcanberra-gtk3 \
libclutter-gst-2.0.so:${PORTSDIR}/multimedia/clutter-gst \
libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \
libsoup-2.4.so:${PORTSDIR}/devel/libsoup
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \
${LOCALBASE}/libexec/mission-control-5:${PORTSDIR}/net-im/telepathy-mission-control
USE_XZ= yes
USES= gettext gmake pathfix pkgconfig
USE_LDCONFIG= yes
USE_GNOME= evolutiondataserver3 gnomeprefix ltverhack
USE_GSTREAMER1= yes
USE_AUTOTOOLS= libtool
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
USE_PYTHON= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-Werror \
--enable-goa \
--enable-gst-1.0=yes \
--enable-location=no
GLIB_SCHEMAS= org.gnome.Empathy.gschema.xml
OPTIONS_DEFINE= JABBER MSN IRC SALUT HAZE MAP CHEESE
OPTIONS_DEFAULT=JABBER IRC MAP
JABBER_DESC= Enable jabber (XMPP) client support
MSN_DESC= Enable MSN client support (broken)
IRC_DESC= Enable IRC client support
SALUT_DESC= Enable link-local (serverless) XMPP support
HAZE_DESC= Enable libpurple protocol integration (broken)
MAP_DESC= Enable graphical map support
CHEESE_DESC= Enable cheese camera support
NST_DESC= Enable Nautilus SendTo plugin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJABBER}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble
.endif
.if ${PORT_OPTIONS:MMSN}
BROKEN= conflict in dependancies
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-butterfly:${PORTSDIR}/net-im/telepathy-butterfly
.endif
.if ${PORT_OPTIONS:MIRC}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle
.endif
.if ${PORT_OPTIONS:MSALUT}
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut
.endif
.if !defined(WITHOUT_HAZE)
BROKEN= conflict in dependancies
RUN_DEPENDS+= ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze
.endif
#.${PORT_OPTIONS:MNST}
#BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/nautilus-sendto.pc:${PORTSDIR}/deskutils/nautilus-sendto
#RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/nautilus-sendto.pc:${PORTSDIR}/deskutils/nautilus-sendto
#CONFIGURE_ARGS+=--enable-nautilus-sendto=yes
#PLIST_SUB+= NST=""
#.else
CONFIGURE_ARGS+=--enable-nautilus-sendto=no
PLIST_SUB+= NST="@comment "
#.endif
.if ${PORT_OPTIONS:MMAP}
USE_GL= gl
LIB_DEPENDS+= libchamplain-0.12.so:${PORTSDIR}/graphics/libchamplain
CONFIGURE_ARGS+=--enable-map
PLIST_SUB+= MAP=""
.else
CONFIGURE_ARGS+=--disable-map
PLIST_SUB+= MAP="@comment "
.endif
.if ${PORT_OPTIONS:MCHEESE}
BUILD_DEPENDS+= cheese>=3.0.0:${PORTSDIR}/multimedia/cheese3
RUN_DEPENDS+= cheese>=3.0.0:${PORTSDIR}/multimedia/cheese3
CONFIGURE_ARGS+=--with-cheese
.else
CONFIGURE_ARGS+=--without-cheese
.endif
post-patch:
@${REINPLACE_CMD} -e 's|clutter-gst-1.0|clutter-gst-2.0|g' \
${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/empathy/libempathy-3.6.2.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/empathy/libempathy-gtk-3.6.2.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mission-control-plugins.0/mcp-account-manager-goa.so
.include <bsd.port.mk>
|