# $FreeBSD$ PORTNAME= kopete PORTVERSION= ${KDE4_VERSION} PORTREVISION= 4 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 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