summaryrefslogtreecommitdiff
path: root/net-im/kopete-kde4/Makefile
blob: ed7d99432e52bbc6d307f9b58df1f0e2d252e0cd (plain)
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
# $FreeBSD$

PORTNAME=	kopete
PORTVERSION=	${KDE4_VERSION}
PORTREVISION=	11
CATEGORIES=	net-im kde kde-kde4

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE multi-protocol instant messenger

DEPRECATED=	KDE4 is EOL upstream
EXPIRATION_DATE=	2018-12-31

LIB_DEPENDS=	libidn.so:dns/libidn \
		libqca.so:devel/qca@qt4 \
		libotr.so.5:security/libotr \
		libgadu.so:polish/libgadu \
		libkleo.so:deskutils/kdepim-kde4 \
		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 jpeg kde:4 pkgconfig qt:4 shebangfix sqlite tar:xz \
		webplugin:native
USE_GNOME=	libxml2 libxslt
USE_KDE=	kdelibs pimlibs \
		automoc4 qimageblitz
USE_QT=		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}"

CMAKE_ARGS+=	-DWITH_wlm:BOOL=OFF -DWITH_Xmms:BOOL=OFF

# Fix build with fresh multimedia/v4l_compat installed.
CFLAGS+=	-DHAVE_LINUX_INTEGER_TYPES=1

post-patch:
	${REINPLACE_CMD} 's,-std=gnu90,-std=gnu89,' \
		${WRKSRC}/protocols/jabber/libiris/CMakeLists.txt

.include <bsd.port.mk>