blob: d8445c27e857ebf0a2aa0c6b2e73af8e455de4ff (
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
|
# $FreeBSD$
PORTNAME= kopete
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 6
CATEGORIES= net-im kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE multi-protocol instant messenger
LIB_DEPENDS= libidn.so:dns/libidn \
libqca.so:devel/qca \
libotr.so.5:security/libotr \
libgadu.so:polish/libgadu \
libkleo.so:deskutils/kdepim4 \
libmeanwhile.so:net-im/meanwhile \
libv4l2.so:multimedia/libv4l \
libjasper.so:graphics/jasper
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
USES= cmake:outsource jpeg kde:4 pkgconfig shebangfix sqlite tar:xz \
webplugin:native
USE_GNOME= libxml2 libxslt
USE_KDE= kdelibs pimlibs \
automoc4 qimageblitz
USE_QT4= corelib gui network qt3support sql xml \
moc_build qmake_build rcc_build uic_build uic3_build
USE_XORG= x11 xdamage xext xscrnsaver xtst
USE_LDCONFIG= yes
USE_CXXSTD= gnu++98
SHEBANG_FILES= protocols/winpopup/winpopup-install \
protocols/winpopup/winpopup-send \
kopete/kconf_update/*.pl
WEBPLUGIN_NAME= # empty
WEBPLUGIN_FILES= skypebuttons.so
# Explicitly disable ALSA, as it's not used (Jabber Jingle support is
# not built).
CMAKE_ARGS+= -DWITH_Alsa:BOOL=OFF
# Route Mozilla plugin by standard path.
CMAKE_ARGS+= -DMOZPLUGIN_INSTALL_DIR:PATH="${WEBPLUGIN_DIR}"
# Forcefully disable net-im/libmsn which was deprecated on 2013-07-27.
CMAKE_ARGS+= -DWITH_wlm:BOOL=OFF
# Fix build with fresh multimedia/v4l_compat installed.
CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES=1
OPTIONS_DEFINE= XMMS
XMMS_DESC= XMMS Kopete nowlistening plugin
XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms
XMMS_CMAKE_ON= -DWITH_Xmms:BOOL=ON
XMMS_CMAKE_OFF= -DWITH_Xmms:BOOL=OFF
post-patch:
${REINPLACE_CMD} 's,-std=gnu90,-std=gnu89,' \
${WRKSRC}/protocols/jabber/libiris/CMakeLists.txt
.include <bsd.port.mk>
|