freebsd-ports/net-im/kopete-kde4/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

70 lines
2.3 KiB
Makefile

# $FreeBSD$
PORTNAME= kopete
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
CATEGORIES= net-im kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE multi-protocol instant messenger
LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \
libqca.so:${PORTSDIR}/devel/qca \
libotr.so.5:${PORTSDIR}/security/libotr \
libgadu.so:${PORTSDIR}/polish/libgadu \
libortp.so:${PORTSDIR}/net/linphone-base \
libmediastreamer.so:${PORTSDIR}/net/linphone-base \
libspeex.so:${PORTSDIR}/audio/speex \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libmeanwhile.so:${PORTSDIR}/net-im/meanwhile \
libv4l2.so:${PORTSDIR}/multimedia/libv4l \
libjasper.so:${PORTSDIR}/graphics/jasper \
libgif.so:${PORTSDIR}/graphics/giflib \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libjsoncpp.so:${PORTSDIR}/devel/jsoncpp
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat \
${LOCALBASE}/lib/mediastreamer/plugins/libmsilbc.so:${PORTSDIR}/audio/msilbc
RUN_DEPENDS= qca-ossl>=2.0.0.b3:${PORTSDIR}/security/qca-ossl \
${LOCALBASE}/lib/mediastreamer/plugins/libmsilbc.so:${PORTSDIR}/audio/msilbc
USES= cmake:outsource tar:xz webplugin:native
USE_GNOME= libxml2 libxslt
USE_KDE4= kdehier kdelibs kdeprefix pimlibs \
automoc4 qimageblitz
USE_OPENSSL= yes
USE_QT4= corelib gui network qt3support sql xml \
moc_build qmake_build rcc_build uic_build uic3_build
USE_SQLITE= yes
USE_XORG= x11 xdamage xext xscrnsaver xtst
USE_LDCONFIG= yes
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+= -DHAVE_LIBMSN: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:${PORTSDIR}/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>