summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/Makefile3
-rw-r--r--chat/telepathy-qt5/DESCR1
-rw-r--r--chat/telepathy-qt5/Makefile32
-rw-r--r--chat/telepathy-qt5/PLIST436
-rw-r--r--chat/telepathy-qt5/buildlink3.mk18
-rw-r--r--chat/telepathy-qt5/distinfo16
-rw-r--r--chat/telepathy-qt5/patches/patch-CMakeLists.txt14
-rw-r--r--chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_CMakeLists.txt26
-rw-r--r--chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_TelepathyQtFarstream.pc.in23
-rw-r--r--chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQt.pc.in13
-rw-r--r--chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQtService.pc.in13
-rw-r--r--chat/telepathy-qt5/patches/patch-TelepathyQt_referenced-handles.cpp13
-rw-r--r--chat/telepathy-qt5/patches/patch-tests_channel-class-spec.cpp13
-rw-r--r--chat/telepathy-qt5/patches/patch-tests_dbus_account-basics.cpp49
-rw-r--r--chat/telepathy-qt5/patches/patch-tests_dbus_client.cpp19
-rw-r--r--chat/telepathy-qt5/patches/patch-tests_features.cpp13
16 files changed, 701 insertions, 1 deletions
diff --git a/chat/Makefile b/chat/Makefile
index b672b771872..7b525ab2bd9 100644
--- a/chat/Makefile
+++ b/chat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.231 2019/10/19 09:12:59 nia Exp $
+# $NetBSD: Makefile,v 1.232 2019/12/12 16:44:53 nros Exp $
#
COMMENT= Communication programs
@@ -135,6 +135,7 @@ SUBDIR+= telepathy-logger
SUBDIR+= telepathy-mission-control
SUBDIR+= telepathy-mission-control5
SUBDIR+= telepathy-qt
+SUBDIR+= telepathy-qt5
SUBDIR+= tik
SUBDIR+= tirc
SUBDIR+= tkabber
diff --git a/chat/telepathy-qt5/DESCR b/chat/telepathy-qt5/DESCR
new file mode 100644
index 00000000000..b6fc7445e0f
--- /dev/null
+++ b/chat/telepathy-qt5/DESCR
@@ -0,0 +1 @@
+telepathy-qt5 is a Qt5 high-level binding for Telepathy.
diff --git a/chat/telepathy-qt5/Makefile b/chat/telepathy-qt5/Makefile
new file mode 100644
index 00000000000..aace84bfdba
--- /dev/null
+++ b/chat/telepathy-qt5/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2019/12/12 16:44:53 nros Exp $
+
+DISTNAME= telepathy-qt-0.9.8
+PKGNAME= ${DISTNAME:S/qt/qt5/g}
+CATEGORIES= chat
+MASTER_SITES= https://telepathy.freedesktop.org/releases/telepathy-qt/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://telepathy.freedesktop.org/releases/telepathy-qt/
+COMMENT= Qt5 bindings for telepathy
+LICENSE= gnu-lgpl-v2.1
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= TelepathyQt/TelepathyQt.pc.in
+PKGCONFIG_OVERRIDE+= TelepathyQt/TelepathyQtService.pc.in
+PKGCONFIG_OVERRIDE+= TelepathyQt/Farstream/TelepathyQtFarstream.pc.in
+
+PYTHON_FOR_BUILD_ONLY= yes
+.include "../../chat/telepathy-farstream/buildlink3.mk"
+.include "../../chat/telepathy-glib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../lang/python/tool.mk"
+.include "../../multimedia/gstreamer1/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/dbus-glib/buildlink3.mk"
+BUILDLINK_DEPMETHOD.py-dbus= build
+.include "../../sysutils/py-dbus/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/telepathy-qt5/PLIST b/chat/telepathy-qt5/PLIST
new file mode 100644
index 00000000000..9c20266687d
--- /dev/null
+++ b/chat/telepathy-qt5/PLIST
@@ -0,0 +1,436 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/12 16:44:53 nros Exp $
+include/telepathy-qt5/TelepathyQt/AbstractAdaptor
+include/telepathy-qt5/TelepathyQt/AbstractClient
+include/telepathy-qt5/TelepathyQt/AbstractClientApprover
+include/telepathy-qt5/TelepathyQt/AbstractClientHandler
+include/telepathy-qt5/TelepathyQt/AbstractClientObserver
+include/telepathy-qt5/TelepathyQt/AbstractDBusServiceInterface
+include/telepathy-qt5/TelepathyQt/AbstractInterface
+include/telepathy-qt5/TelepathyQt/AbstractProtocolInterface
+include/telepathy-qt5/TelepathyQt/Account
+include/telepathy-qt5/TelepathyQt/AccountCapabilityFilter
+include/telepathy-qt5/TelepathyQt/AccountFactory
+include/telepathy-qt5/TelepathyQt/AccountFilter
+include/telepathy-qt5/TelepathyQt/AccountInterface
+include/telepathy-qt5/TelepathyQt/AccountInterfaceAddressingInterface
+include/telepathy-qt5/TelepathyQt/AccountInterfaceAvatarInterface
+include/telepathy-qt5/TelepathyQt/AccountInterfaceStorageInterface
+include/telepathy-qt5/TelepathyQt/AccountManager
+include/telepathy-qt5/TelepathyQt/AccountManagerInterface
+include/telepathy-qt5/TelepathyQt/AccountPropertyFilter
+include/telepathy-qt5/TelepathyQt/AccountSet
+include/telepathy-qt5/TelepathyQt/AndFilter
+include/telepathy-qt5/TelepathyQt/AuthenticationTLSCertificateInterface
+include/telepathy-qt5/TelepathyQt/AvatarData
+include/telepathy-qt5/TelepathyQt/AvatarSpec
+include/telepathy-qt5/TelepathyQt/BaseCall
+include/telepathy-qt5/TelepathyQt/BaseChannel
+include/telepathy-qt5/TelepathyQt/BaseConnection
+include/telepathy-qt5/TelepathyQt/BaseConnectionManager
+include/telepathy-qt5/TelepathyQt/BaseDebug
+include/telepathy-qt5/TelepathyQt/BaseProtocol
+include/telepathy-qt5/TelepathyQt/BaseProtocolAddressingInterface
+include/telepathy-qt5/TelepathyQt/BaseProtocolAvatarsInterface
+include/telepathy-qt5/TelepathyQt/BaseProtocolPresenceInterface
+include/telepathy-qt5/TelepathyQt/CallChannel
+include/telepathy-qt5/TelepathyQt/CallContent
+include/telepathy-qt5/TelepathyQt/CallContentInterface
+include/telepathy-qt5/TelepathyQt/CallContentInterfaceAudioControlInterface
+include/telepathy-qt5/TelepathyQt/CallContentInterfaceDTMFInterface
+include/telepathy-qt5/TelepathyQt/CallContentInterfaceMediaInterface
+include/telepathy-qt5/TelepathyQt/CallContentInterfaceVideoControlInterface
+include/telepathy-qt5/TelepathyQt/CallContentMediaDescription
+include/telepathy-qt5/TelepathyQt/CallContentMediaDescriptionInterface
+include/telepathy-qt5/TelepathyQt/CallContentMediaDescriptionInterfaceRTCPExtendedReportsInterface
+include/telepathy-qt5/TelepathyQt/CallContentMediaDescriptionInterfaceRTCPFeedbackInterface
+include/telepathy-qt5/TelepathyQt/CallContentMediaDescriptionInterfaceRTPHeaderExtensionsInterface
+include/telepathy-qt5/TelepathyQt/CallStream
+include/telepathy-qt5/TelepathyQt/CallStreamEndpoint
+include/telepathy-qt5/TelepathyQt/CallStreamEndpointInterface
+include/telepathy-qt5/TelepathyQt/CallStreamInterface
+include/telepathy-qt5/TelepathyQt/CallStreamInterfaceMediaInterface
+include/telepathy-qt5/TelepathyQt/Callbacks
+include/telepathy-qt5/TelepathyQt/CapabilitiesBase
+include/telepathy-qt5/TelepathyQt/Captcha
+include/telepathy-qt5/TelepathyQt/CaptchaAuthentication
+include/telepathy-qt5/TelepathyQt/Channel
+include/telepathy-qt5/TelepathyQt/ChannelClassFeatures
+include/telepathy-qt5/TelepathyQt/ChannelClassSpec
+include/telepathy-qt5/TelepathyQt/ChannelClassSpecList
+include/telepathy-qt5/TelepathyQt/ChannelDispatchOperation
+include/telepathy-qt5/TelepathyQt/ChannelDispatchOperationInterface
+include/telepathy-qt5/TelepathyQt/ChannelDispatcher
+include/telepathy-qt5/TelepathyQt/ChannelDispatcherInterface
+include/telepathy-qt5/TelepathyQt/ChannelFactory
+include/telepathy-qt5/TelepathyQt/ChannelInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceAnonymityInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceCallStateInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceCaptchaAuthenticationInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceChatStateInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceConferenceInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceDTMFInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceDestroyableInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceFileTransferMetadataInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceGroupInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceHoldInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceMediaSignallingInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceMessagesInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfacePasswordInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceRoomConfigInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceRoomInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceSASLAuthenticationInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceSMSInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceSecurableInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceServicePointInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceSubjectInterface
+include/telepathy-qt5/TelepathyQt/ChannelInterfaceTubeInterface
+include/telepathy-qt5/TelepathyQt/ChannelRequest
+include/telepathy-qt5/TelepathyQt/ChannelRequestHints
+include/telepathy-qt5/TelepathyQt/ChannelRequestInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeCallInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeContactListInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeContactSearchInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeDBusTubeInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeFileTransferInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeRoomListInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeServerAuthenticationInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeServerTLSConnectionInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeStreamTubeInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeStreamedMediaInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeTextInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeTubeInterface
+include/telepathy-qt5/TelepathyQt/ChannelTypeTubesInterface
+include/telepathy-qt5/TelepathyQt/Client
+include/telepathy-qt5/TelepathyQt/ClientApproverInterface
+include/telepathy-qt5/TelepathyQt/ClientHandlerInterface
+include/telepathy-qt5/TelepathyQt/ClientInterface
+include/telepathy-qt5/TelepathyQt/ClientInterfaceRequestsInterface
+include/telepathy-qt5/TelepathyQt/ClientObserverInterface
+include/telepathy-qt5/TelepathyQt/ClientRegistrar
+include/telepathy-qt5/TelepathyQt/Connection
+include/telepathy-qt5/TelepathyQt/ConnectionCapabilities
+include/telepathy-qt5/TelepathyQt/ConnectionFactory
+include/telepathy-qt5/TelepathyQt/ConnectionInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceAddressingInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceAliasingInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceAnonymityInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceAvatarsInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceBalanceInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceCapabilitiesInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceCellularInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceClientTypesInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceContactBlockingInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceContactCapabilitiesInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceContactGroupsInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceContactInfoInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceContactListInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceContactsInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceLocationInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceMailNotificationInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfacePowerSavingInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfacePresenceInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceRequestsInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceServicePointInterface
+include/telepathy-qt5/TelepathyQt/ConnectionInterfaceSimplePresenceInterface
+include/telepathy-qt5/TelepathyQt/ConnectionLowlevel
+include/telepathy-qt5/TelepathyQt/ConnectionManager
+include/telepathy-qt5/TelepathyQt/ConnectionManagerInterface
+include/telepathy-qt5/TelepathyQt/ConnectionManagerLowlevel
+include/telepathy-qt5/TelepathyQt/Constants
+include/telepathy-qt5/TelepathyQt/Contact
+include/telepathy-qt5/TelepathyQt/ContactCapabilities
+include/telepathy-qt5/TelepathyQt/ContactFactory
+include/telepathy-qt5/TelepathyQt/ContactManager
+include/telepathy-qt5/TelepathyQt/ContactMessenger
+include/telepathy-qt5/TelepathyQt/ContactSearchChannel
+include/telepathy-qt5/TelepathyQt/DBus
+include/telepathy-qt5/TelepathyQt/DBusDaemonInterface
+include/telepathy-qt5/TelepathyQt/DBusError
+include/telepathy-qt5/TelepathyQt/DBusObject
+include/telepathy-qt5/TelepathyQt/DBusProxy
+include/telepathy-qt5/TelepathyQt/DBusProxyFactory
+include/telepathy-qt5/TelepathyQt/DBusService
+include/telepathy-qt5/TelepathyQt/DBusTubeChannel
+include/telepathy-qt5/TelepathyQt/Debug
+include/telepathy-qt5/TelepathyQt/DebugReceiver
+include/telepathy-qt5/TelepathyQt/Farstream/Channel
+include/telepathy-qt5/TelepathyQt/Farstream/Global
+include/telepathy-qt5/TelepathyQt/Farstream/PendingChannel
+include/telepathy-qt5/TelepathyQt/Farstream/channel.h
+include/telepathy-qt5/TelepathyQt/Farstream/global.h
+include/telepathy-qt5/TelepathyQt/Feature
+include/telepathy-qt5/TelepathyQt/Features
+include/telepathy-qt5/TelepathyQt/FileTransferChannel
+include/telepathy-qt5/TelepathyQt/FileTransferChannelCreationProperties
+include/telepathy-qt5/TelepathyQt/Filter
+include/telepathy-qt5/TelepathyQt/FixedFeatureFactory
+include/telepathy-qt5/TelepathyQt/Functors
+include/telepathy-qt5/TelepathyQt/GenericCapabilityFilter
+include/telepathy-qt5/TelepathyQt/GenericPropertyFilter
+include/telepathy-qt5/TelepathyQt/Global
+include/telepathy-qt5/TelepathyQt/HandledChannelNotifier
+include/telepathy-qt5/TelepathyQt/IODevice
+include/telepathy-qt5/TelepathyQt/IncomingDBusTubeChannel
+include/telepathy-qt5/TelepathyQt/IncomingFileTransferChannel
+include/telepathy-qt5/TelepathyQt/IncomingStreamTubeChannel
+include/telepathy-qt5/TelepathyQt/IntrospectableInterface
+include/telepathy-qt5/TelepathyQt/LocationInfo
+include/telepathy-qt5/TelepathyQt/MediaSessionHandler
+include/telepathy-qt5/TelepathyQt/MediaSessionHandlerInterface
+include/telepathy-qt5/TelepathyQt/MediaStreamHandler
+include/telepathy-qt5/TelepathyQt/MediaStreamHandlerInterface
+include/telepathy-qt5/TelepathyQt/Message
+include/telepathy-qt5/TelepathyQt/MessageContentPart
+include/telepathy-qt5/TelepathyQt/MessageContentPartList
+include/telepathy-qt5/TelepathyQt/MethodInvocationContext
+include/telepathy-qt5/TelepathyQt/NotFilter
+include/telepathy-qt5/TelepathyQt/Object
+include/telepathy-qt5/TelepathyQt/OptionalInterfaceFactory
+include/telepathy-qt5/TelepathyQt/OrFilter
+include/telepathy-qt5/TelepathyQt/OutgoingDBusTubeChannel
+include/telepathy-qt5/TelepathyQt/OutgoingFileTransferChannel
+include/telepathy-qt5/TelepathyQt/OutgoingStreamTubeChannel
+include/telepathy-qt5/TelepathyQt/PeerInterface
+include/telepathy-qt5/TelepathyQt/PendingAccount
+include/telepathy-qt5/TelepathyQt/PendingCallContent
+include/telepathy-qt5/TelepathyQt/PendingCaptchas
+include/telepathy-qt5/TelepathyQt/PendingChannel
+include/telepathy-qt5/TelepathyQt/PendingChannelRequest
+include/telepathy-qt5/TelepathyQt/PendingComposite
+include/telepathy-qt5/TelepathyQt/PendingConnection
+include/telepathy-qt5/TelepathyQt/PendingContactAttributes
+include/telepathy-qt5/TelepathyQt/PendingContactInfo
+include/telepathy-qt5/TelepathyQt/PendingContacts
+include/telepathy-qt5/TelepathyQt/PendingDBusTubeConnection
+include/telepathy-qt5/TelepathyQt/PendingDebugMessageList
+include/telepathy-qt5/TelepathyQt/PendingFailure
+include/telepathy-qt5/TelepathyQt/PendingHandles
+include/telepathy-qt5/TelepathyQt/PendingOperation
+include/telepathy-qt5/TelepathyQt/PendingReady
+include/telepathy-qt5/TelepathyQt/PendingSendMessage
+include/telepathy-qt5/TelepathyQt/PendingStreamTubeConnection
+include/telepathy-qt5/TelepathyQt/PendingStreamedMediaStreams
+include/telepathy-qt5/TelepathyQt/PendingString
+include/telepathy-qt5/TelepathyQt/PendingStringList
+include/telepathy-qt5/TelepathyQt/PendingSuccess
+include/telepathy-qt5/TelepathyQt/PendingVariant
+include/telepathy-qt5/TelepathyQt/PendingVariantMap
+include/telepathy-qt5/TelepathyQt/PendingVoid
+include/telepathy-qt5/TelepathyQt/Presence
+include/telepathy-qt5/TelepathyQt/PresenceSpec
+include/telepathy-qt5/TelepathyQt/PresenceSpecList
+include/telepathy-qt5/TelepathyQt/Profile
+include/telepathy-qt5/TelepathyQt/ProfileManager
+include/telepathy-qt5/TelepathyQt/Properties
+include/telepathy-qt5/TelepathyQt/PropertiesInterface
+include/telepathy-qt5/TelepathyQt/PropertiesInterfaceInterface
+include/telepathy-qt5/TelepathyQt/ProtocolInfo
+include/telepathy-qt5/TelepathyQt/ProtocolInfoList
+include/telepathy-qt5/TelepathyQt/ProtocolInterface
+include/telepathy-qt5/TelepathyQt/ProtocolInterfaceAddressingInterface
+include/telepathy-qt5/TelepathyQt/ProtocolInterfaceAvatarsInterface
+include/telepathy-qt5/TelepathyQt/ProtocolInterfacePresenceInterface
+include/telepathy-qt5/TelepathyQt/ProtocolParameter
+include/telepathy-qt5/TelepathyQt/ProtocolParameterList
+include/telepathy-qt5/TelepathyQt/ReadinessHelper
+include/telepathy-qt5/TelepathyQt/ReadyObject
+include/telepathy-qt5/TelepathyQt/ReceivedMessage
+include/telepathy-qt5/TelepathyQt/RefCounted
+include/telepathy-qt5/TelepathyQt/ReferencedHandles
+include/telepathy-qt5/TelepathyQt/ReferencedHandlesIterator
+include/telepathy-qt5/TelepathyQt/RequestableChannelClassSpec
+include/telepathy-qt5/TelepathyQt/RequestableChannelClassSpecList
+include/telepathy-qt5/TelepathyQt/RoomListChannel
+include/telepathy-qt5/TelepathyQt/ServerAuthenticationChannel
+include/telepathy-qt5/TelepathyQt/ServiceTypes
+include/telepathy-qt5/TelepathyQt/SharedPtr
+include/telepathy-qt5/TelepathyQt/SimpleCallObserver
+include/telepathy-qt5/TelepathyQt/SimpleObserver
+include/telepathy-qt5/TelepathyQt/SimpleTextObserver
+include/telepathy-qt5/TelepathyQt/StatefulDBusProxy
+include/telepathy-qt5/TelepathyQt/StatelessDBusProxy
+include/telepathy-qt5/TelepathyQt/StreamTubeChannel
+include/telepathy-qt5/TelepathyQt/StreamTubeClient
+include/telepathy-qt5/TelepathyQt/StreamTubeServer
+include/telepathy-qt5/TelepathyQt/StreamedMediaChannel
+include/telepathy-qt5/TelepathyQt/StreamedMediaStream
+include/telepathy-qt5/TelepathyQt/TextChannel
+include/telepathy-qt5/TelepathyQt/TubeChannel
+include/telepathy-qt5/TelepathyQt/Types
+include/telepathy-qt5/TelepathyQt/Utils
+include/telepathy-qt5/TelepathyQt/_gen/cli-account-manager.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-account.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-call-content-media-description.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-call-content.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-call-stream-endpoint.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-call-stream.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-channel-dispatch-operation.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-channel-dispatcher.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-channel-request.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-channel.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-client.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-connection-manager.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-connection.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-dbus.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-debug-receiver.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-media-session-handler.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-media-stream-handler.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-properties.h
+include/telepathy-qt5/TelepathyQt/_gen/cli-tls-certificate.h
+include/telepathy-qt5/TelepathyQt/_gen/constants.h
+include/telepathy-qt5/TelepathyQt/_gen/svc-call.h
+include/telepathy-qt5/TelepathyQt/_gen/svc-channel.h
+include/telepathy-qt5/TelepathyQt/_gen/svc-connection-manager.h
+include/telepathy-qt5/TelepathyQt/_gen/svc-connection.h
+include/telepathy-qt5/TelepathyQt/_gen/types.h
+include/telepathy-qt5/TelepathyQt/abstract-adaptor.h
+include/telepathy-qt5/TelepathyQt/abstract-client.h
+include/telepathy-qt5/TelepathyQt/abstract-interface.h
+include/telepathy-qt5/TelepathyQt/account-capability-filter.h
+include/telepathy-qt5/TelepathyQt/account-factory.h
+include/telepathy-qt5/TelepathyQt/account-filter.h
+include/telepathy-qt5/TelepathyQt/account-manager.h
+include/telepathy-qt5/TelepathyQt/account-property-filter.h
+include/telepathy-qt5/TelepathyQt/account-set.h
+include/telepathy-qt5/TelepathyQt/account.h
+include/telepathy-qt5/TelepathyQt/and-filter.h
+include/telepathy-qt5/TelepathyQt/avatar.h
+include/telepathy-qt5/TelepathyQt/base-call.h
+include/telepathy-qt5/TelepathyQt/base-channel.h
+include/telepathy-qt5/TelepathyQt/base-connection-manager.h
+include/telepathy-qt5/TelepathyQt/base-connection.h
+include/telepathy-qt5/TelepathyQt/base-debug.h
+include/telepathy-qt5/TelepathyQt/base-protocol.h
+include/telepathy-qt5/TelepathyQt/call-channel.h
+include/telepathy-qt5/TelepathyQt/call-content-media-description.h
+include/telepathy-qt5/TelepathyQt/call-content.h
+include/telepathy-qt5/TelepathyQt/call-stream-endpoint.h
+include/telepathy-qt5/TelepathyQt/call-stream.h
+include/telepathy-qt5/TelepathyQt/callbacks.h
+include/telepathy-qt5/TelepathyQt/capabilities-base.h
+include/telepathy-qt5/TelepathyQt/captcha-authentication.h
+include/telepathy-qt5/TelepathyQt/captcha.h
+include/telepathy-qt5/TelepathyQt/channel-class-features.h
+include/telepathy-qt5/TelepathyQt/channel-class-spec.h
+include/telepathy-qt5/TelepathyQt/channel-dispatch-operation.h
+include/telepathy-qt5/TelepathyQt/channel-dispatcher.h
+include/telepathy-qt5/TelepathyQt/channel-factory.h
+include/telepathy-qt5/TelepathyQt/channel-request.h
+include/telepathy-qt5/TelepathyQt/channel.h
+include/telepathy-qt5/TelepathyQt/client-registrar.h
+include/telepathy-qt5/TelepathyQt/client.h
+include/telepathy-qt5/TelepathyQt/connection-capabilities.h
+include/telepathy-qt5/TelepathyQt/connection-factory.h
+include/telepathy-qt5/TelepathyQt/connection-lowlevel.h
+include/telepathy-qt5/TelepathyQt/connection-manager-lowlevel.h
+include/telepathy-qt5/TelepathyQt/connection-manager.h
+include/telepathy-qt5/TelepathyQt/connection.h
+include/telepathy-qt5/TelepathyQt/constants.h
+include/telepathy-qt5/TelepathyQt/contact-capabilities.h
+include/telepathy-qt5/TelepathyQt/contact-factory.h
+include/telepathy-qt5/TelepathyQt/contact-manager.h
+include/telepathy-qt5/TelepathyQt/contact-messenger.h
+include/telepathy-qt5/TelepathyQt/contact-search-channel.h
+include/telepathy-qt5/TelepathyQt/contact.h
+include/telepathy-qt5/TelepathyQt/dbus-error.h
+include/telepathy-qt5/TelepathyQt/dbus-object.h
+include/telepathy-qt5/TelepathyQt/dbus-proxy-factory.h
+include/telepathy-qt5/TelepathyQt/dbus-proxy.h
+include/telepathy-qt5/TelepathyQt/dbus-service.h
+include/telepathy-qt5/TelepathyQt/dbus-tube-channel.h
+include/telepathy-qt5/TelepathyQt/dbus.h
+include/telepathy-qt5/TelepathyQt/debug-receiver.h
+include/telepathy-qt5/TelepathyQt/debug.h
+include/telepathy-qt5/TelepathyQt/feature.h
+include/telepathy-qt5/TelepathyQt/file-transfer-channel-creation-properties.h
+include/telepathy-qt5/TelepathyQt/file-transfer-channel.h
+include/telepathy-qt5/TelepathyQt/filter.h
+include/telepathy-qt5/TelepathyQt/fixed-feature-factory.h
+include/telepathy-qt5/TelepathyQt/functors.h
+include/telepathy-qt5/TelepathyQt/generic-capability-filter.h
+include/telepathy-qt5/TelepathyQt/generic-property-filter.h
+include/telepathy-qt5/TelepathyQt/global.h
+include/telepathy-qt5/TelepathyQt/handled-channel-notifier.h
+include/telepathy-qt5/TelepathyQt/incoming-dbus-tube-channel.h
+include/telepathy-qt5/TelepathyQt/incoming-file-transfer-channel.h
+include/telepathy-qt5/TelepathyQt/incoming-stream-tube-channel.h
+include/telepathy-qt5/TelepathyQt/io-device.h
+include/telepathy-qt5/TelepathyQt/location-info.h
+include/telepathy-qt5/TelepathyQt/media-session-handler.h
+include/telepathy-qt5/TelepathyQt/media-stream-handler.h
+include/telepathy-qt5/TelepathyQt/message-content-part.h
+include/telepathy-qt5/TelepathyQt/message.h
+include/telepathy-qt5/TelepathyQt/method-invocation-context.h
+include/telepathy-qt5/TelepathyQt/not-filter.h
+include/telepathy-qt5/TelepathyQt/object.h
+include/telepathy-qt5/TelepathyQt/optional-interface-factory.h
+include/telepathy-qt5/TelepathyQt/or-filter.h
+include/telepathy-qt5/TelepathyQt/outgoing-dbus-tube-channel.h
+include/telepathy-qt5/TelepathyQt/outgoing-file-transfer-channel.h
+include/telepathy-qt5/TelepathyQt/outgoing-stream-tube-channel.h
+include/telepathy-qt5/TelepathyQt/pending-account.h
+include/telepathy-qt5/TelepathyQt/pending-captchas.h
+include/telepathy-qt5/TelepathyQt/pending-channel-request.h
+include/telepathy-qt5/TelepathyQt/pending-channel.h
+include/telepathy-qt5/TelepathyQt/pending-connection.h
+include/telepathy-qt5/TelepathyQt/pending-contact-attributes.h
+include/telepathy-qt5/TelepathyQt/pending-contact-info.h
+include/telepathy-qt5/TelepathyQt/pending-contacts.h
+include/telepathy-qt5/TelepathyQt/pending-dbus-tube-connection.h
+include/telepathy-qt5/TelepathyQt/pending-debug-message-list.h
+include/telepathy-qt5/TelepathyQt/pending-handles.h
+include/telepathy-qt5/TelepathyQt/pending-operation.h
+include/telepathy-qt5/TelepathyQt/pending-ready.h
+include/telepathy-qt5/TelepathyQt/pending-send-message.h
+include/telepathy-qt5/TelepathyQt/pending-stream-tube-connection.h
+include/telepathy-qt5/TelepathyQt/pending-string-list.h
+include/telepathy-qt5/TelepathyQt/pending-string.h
+include/telepathy-qt5/TelepathyQt/pending-variant-map.h
+include/telepathy-qt5/TelepathyQt/pending-variant.h
+include/telepathy-qt5/TelepathyQt/presence.h
+include/telepathy-qt5/TelepathyQt/profile-manager.h
+include/telepathy-qt5/TelepathyQt/profile.h
+include/telepathy-qt5/TelepathyQt/properties.h
+include/telepathy-qt5/TelepathyQt/protocol-info.h
+include/telepathy-qt5/TelepathyQt/protocol-parameter.h
+include/telepathy-qt5/TelepathyQt/readiness-helper.h
+include/telepathy-qt5/TelepathyQt/ready-object.h
+include/telepathy-qt5/TelepathyQt/referenced-handles.h
+include/telepathy-qt5/TelepathyQt/requestable-channel-class-spec.h
+include/telepathy-qt5/TelepathyQt/room-list-channel.h
+include/telepathy-qt5/TelepathyQt/server-authentication-channel.h
+include/telepathy-qt5/TelepathyQt/service-types.h
+include/telepathy-qt5/TelepathyQt/shared-ptr.h
+include/telepathy-qt5/TelepathyQt/simple-call-observer.h
+include/telepathy-qt5/TelepathyQt/simple-observer.h
+include/telepathy-qt5/TelepathyQt/simple-pending-operations.h
+include/telepathy-qt5/TelepathyQt/simple-text-observer.h
+include/telepathy-qt5/TelepathyQt/stream-tube-channel.h
+include/telepathy-qt5/TelepathyQt/stream-tube-client.h
+include/telepathy-qt5/TelepathyQt/stream-tube-server.h
+include/telepathy-qt5/TelepathyQt/streamed-media-channel.h
+include/telepathy-qt5/TelepathyQt/text-channel.h
+include/telepathy-qt5/TelepathyQt/tls-certificate.h
+include/telepathy-qt5/TelepathyQt/tube-channel.h
+include/telepathy-qt5/TelepathyQt/types.h
+include/telepathy-qt5/TelepathyQt/utils.h
+lib/cmake/TelepathyQt5/TelepathyQt5Config.cmake
+lib/cmake/TelepathyQt5/TelepathyQt5ConfigVersion.cmake
+lib/cmake/TelepathyQt5/TelepathyQt5Targets-relwithdebinfo.cmake
+lib/cmake/TelepathyQt5/TelepathyQt5Targets.cmake
+lib/cmake/TelepathyQt5Farstream/TelepathyQt5FarstreamConfig.cmake
+lib/cmake/TelepathyQt5Farstream/TelepathyQt5FarstreamConfigVersion.cmake
+lib/cmake/TelepathyQt5Service/TelepathyQt5ServiceConfig.cmake
+lib/cmake/TelepathyQt5Service/TelepathyQt5ServiceConfigVersion.cmake
+lib/libtelepathy-qt5-farstream.so
+lib/libtelepathy-qt5-farstream.so.0
+lib/libtelepathy-qt5-farstream.so.0.${PKGVERSION}
+lib/libtelepathy-qt5-service.so
+lib/libtelepathy-qt5-service.so.0.${PKGVERSION}
+lib/libtelepathy-qt5-service.so.1
+lib/libtelepathy-qt5.so
+lib/libtelepathy-qt5.so.0
+lib/libtelepathy-qt5.so.0.${PKGVERSION}
+lib/pkgconfig/TelepathyQt5.pc
+lib/pkgconfig/TelepathyQt5Farstream.pc
+lib/pkgconfig/TelepathyQt5Service.pc
diff --git a/chat/telepathy-qt5/buildlink3.mk b/chat/telepathy-qt5/buildlink3.mk
new file mode 100644
index 00000000000..48522fe30dc
--- /dev/null
+++ b/chat/telepathy-qt5/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/12/12 16:44:53 nros Exp $
+#
+
+BUILDLINK_TREE+= telepathy-qt5
+
+.if !defined(TELEPATHY_QT5_BUILDLINK3_MK)
+TELEPATHY_QT5_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.telepathy-qt5+= telepathy-qt5>=0.9.8
+BUILDLINK_PKGSRCDIR.telepathy-qt5?= ../../chat/telepathy-qt5
+
+.include "../../chat/telepathy-farstream/buildlink3.mk"
+.include "../../chat/telepathy-glib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif # TELEPATHY_QT5_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -telepathy-qt5
diff --git a/chat/telepathy-qt5/distinfo b/chat/telepathy-qt5/distinfo
new file mode 100644
index 00000000000..e05a0b9a503
--- /dev/null
+++ b/chat/telepathy-qt5/distinfo
@@ -0,0 +1,16 @@
+$NetBSD: distinfo,v 1.1 2019/12/12 16:44:53 nros Exp $
+
+SHA1 (telepathy-qt-0.9.8.tar.gz) = cb4bf4a69e38451880ac88fa0e44a8a6f5bfe9cb
+RMD160 (telepathy-qt-0.9.8.tar.gz) = 52f5ab2f9491d4f80648a44497dba298b9a30d45
+SHA512 (telepathy-qt-0.9.8.tar.gz) = fad662c02417c8e4e239d438ea3549226e589442aea8418c8922a6b78ff88422a36c1cc0d2e3591240fac115390a7fbdb1b4deea98187051cc811175b60b9e8b
+Size (telepathy-qt-0.9.8.tar.gz) = 6448686 bytes
+SHA1 (patch-CMakeLists.txt) = 3a0ddbf024856e5df6e099a84b85c78de6e75977
+SHA1 (patch-TelepathyQt_Farstream_CMakeLists.txt) = 20d7fcc75ac0f5ae0e6e551bb5996cac692bcc14
+SHA1 (patch-TelepathyQt_Farstream_TelepathyQtFarstream.pc.in) = 1b5c5ec551c6b07f0fb62515ed68c16d2bc69e87
+SHA1 (patch-TelepathyQt_TelepathyQt.pc.in) = 95aa392effba29f5c949c3d864432c468ce52444
+SHA1 (patch-TelepathyQt_TelepathyQtService.pc.in) = 92f3add54fbf7365f4517d0bc718cfcfd9de2c37
+SHA1 (patch-TelepathyQt_referenced-handles.cpp) = 927724288977b0d0991d9a82d9f5b72e309808dc
+SHA1 (patch-tests_channel-class-spec.cpp) = 2d78aabad331815871785f81a9495e7dd131f963
+SHA1 (patch-tests_dbus_account-basics.cpp) = ea9f85062411832b4d0c2846491826df7f6bb5a3
+SHA1 (patch-tests_dbus_client.cpp) = 51be87a5a40d69883cd9e7ce154eaa2d2756d2a5
+SHA1 (patch-tests_features.cpp) = 324b265a7bcb0f730b967324cdcd5c3174ff0d49
diff --git a/chat/telepathy-qt5/patches/patch-CMakeLists.txt b/chat/telepathy-qt5/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..979d7222117
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/12/12 16:44:53 nros Exp $
+* don't install docs
+--- CMakeLists.txt.orig 2019-11-11 17:17:37.000000000 +0000
++++ CMakeLists.txt
+@@ -102,7 +102,8 @@ else ()
+ endif ()
+
+ # The doxygen macro requires Qt to have been looked up to enable crosslinking
+-include(Doxygen)
++#include(Doxygen)
++add_custom_target(doxygen-doc)
+
+ include_directories(${CMAKE_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR})
diff --git a/chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_CMakeLists.txt b/chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_CMakeLists.txt
new file mode 100644
index 00000000000..426baadbcdc
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_CMakeLists.txt
@@ -0,0 +1,26 @@
+$NetBSD: patch-TelepathyQt_Farstream_CMakeLists.txt,v 1.1 2019/12/12 16:44:53 nros Exp $
+* don't put GLib etc in interface libraries, they are private in the pc files.
+ Fixes link break when linking with telepathy-qt5-farstream from cmake.
+--- TelepathyQt/Farstream/CMakeLists.txt.orig 2019-12-11 17:51:44.129571773 +0000
++++ TelepathyQt/Farstream/CMakeLists.txt
+@@ -41,14 +41,17 @@ if(FARSTREAM_COMPONENTS_FOUND)
+
+ # Link
+ target_link_libraries(telepathy-qt${QT_VERSION_MAJOR}-farstream
++ PUBLIC
+ Qt5::Core
+ Qt5::DBus
++ telepathy-qt${QT_VERSION_MAJOR}
++ ${TP_QT_LIBRARY_LINKER_FLAGS})
++ target_link_libraries(telepathy-qt${QT_VERSION_MAJOR}-farstream
++ PRIVATE
+ ${GOBJECT_LIBRARIES}
+ ${GLIB2_LIBRARIES}
+ ${TELEPATHY_FARSTREAM_LIBRARIES}
+- ${TELEPATHY_GLIB_LIBRARIES}
+- telepathy-qt${QT_VERSION_MAJOR}
+- ${TP_QT_LIBRARY_LINKER_FLAGS})
++ ${TELEPATHY_GLIB_LIBRARIES})
+
+ if (ENABLE_COMPILER_COVERAGE)
+ target_link_libraries(telepathy-qt${QT_VERSION_MAJOR}-farstream gcov)
diff --git a/chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_TelepathyQtFarstream.pc.in b/chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_TelepathyQtFarstream.pc.in
new file mode 100644
index 00000000000..fde7da351c8
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-TelepathyQt_Farstream_TelepathyQtFarstream.pc.in
@@ -0,0 +1,23 @@
+$NetBSD: patch-TelepathyQt_Farstream_TelepathyQtFarstream.pc.in,v 1.1 2019/12/12 16:44:53 nros Exp $
+* *_INSTALL_DIR is absolute so don't write the prefixes twice
+* move Qt5Core and Qt5DBus to Requires since headers requests their headers
+--- TelepathyQt/Farstream/TelepathyQtFarstream.pc.in.orig 2019-11-11 17:17:37.000000000 +0000
++++ TelepathyQt/Farstream/TelepathyQtFarstream.pc.in
+@@ -1,11 +1,12 @@
+ prefix=${CMAKE_INSTALL_PREFIX}
+ exec_prefix=${CMAKE_INSTALL_PREFIX}
+-libdir=${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}
+-includedir=${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}
++libdir=${LIB_INSTALL_DIR}
++includedir=${INCLUDE_INSTALL_DIR}
+
+ Name: TelepathyQt${QT_VERSION_MAJOR}Farstream
+ Description: Qt Telepathy Farstream utility library for the Telepathy framework
+ Version: ${PACKAGE_VERSION}
+-Requires.private: Qt${QT_VERSION_PC}Core >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Core < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}DBus >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}DBus < ${QT_MAX_VERSION}, telepathy-glib >= ${TELEPATHY_GLIB_MIN_VERSION}, telepathy-farstream >= ${TELEPATHY_FARSTREAM_MIN_VERSION}, TelepathyQt${QT_VERSION_MAJOR} = ${PACKAGE_VERSION}
+-Libs: -L${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR} -ltelepathy-qt${QT_VERSION_MAJOR}-farstream
+-Cflags: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}/telepathy-qt${QT_VERSION_MAJOR}
++Requires: Qt${QT_VERSION_PC}Core >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Core < ${QT_MAX_VERSION}
++Requires.private: Qt${QT_VERSION_PC}DBus >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}DBus < ${QT_MAX_VERSION}, telepathy-glib >= ${TELEPATHY_GLIB_MIN_VERSION}, telepathy-farstream >= ${TELEPATHY_FARSTREAM_MIN_VERSION}, TelepathyQt${QT_VERSION_MAJOR} = ${PACKAGE_VERSION}
++Libs: -L${LIB_INSTALL_DIR} -ltelepathy-qt${QT_VERSION_MAJOR}-farstream
++Cflags: -I${INCLUDE_INSTALL_DIR}/telepathy-qt${QT_VERSION_MAJOR}
diff --git a/chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQt.pc.in b/chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQt.pc.in
new file mode 100644
index 00000000000..f28a7c7d17e
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQt.pc.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-TelepathyQt_TelepathyQt.pc.in,v 1.1 2019/12/12 16:44:53 nros Exp $
+* move Qt5Core and Qt5DBus to Requires since headers requests their headers
+--- TelepathyQt/TelepathyQt.pc.in.orig 2019-12-10 18:08:19.912095718 +0000
++++ TelepathyQt/TelepathyQt.pc.in
+@@ -4,6 +4,7 @@ includedir=${INCLUDE_INSTALL_DIR}
+ Name: TelepathyQt${QT_VERSION_MAJOR}
+ Description: Qt utility library for the Telepathy framework
+ Version: ${PACKAGE_VERSION}
+-Requires.private: Qt${QT_VERSION_PC}Core >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Core < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}DBus >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}DBus < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}Network >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Network < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}Xml >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Xml < ${QT_MAX_VERSION}
++Requires: Qt${QT_VERSION_PC}Core >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Core < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}DBus >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}DBus < ${QT_MAX_VERSION}
++Requires.private: Qt${QT_VERSION_PC}Network >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Network < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}Xml >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Xml < ${QT_MAX_VERSION}
+ Libs: -L${LIB_INSTALL_DIR} -ltelepathy-qt${QT_VERSION_MAJOR}
+ Cflags: -I${INCLUDE_INSTALL_DIR}/telepathy-qt${QT_VERSION_MAJOR}
diff --git a/chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQtService.pc.in b/chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQtService.pc.in
new file mode 100644
index 00000000000..94a83f733b4
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-TelepathyQt_TelepathyQtService.pc.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-TelepathyQt_TelepathyQtService.pc.in,v 1.1 2019/12/12 16:44:53 nros Exp $
+* move Qt5Core and Qt5DBus to Requires since headers requests their headers
+--- TelepathyQt/TelepathyQtService.pc.in.orig 2019-12-10 18:08:40.297294454 +0000
++++ TelepathyQt/TelepathyQtService.pc.in
+@@ -4,6 +4,7 @@ includedir=${INCLUDE_INSTALL_DIR}
+ Name: TelepathyQt${QT_VERSION_MAJOR}Service
+ Description: Qt Telepathy Service side bindings
+ Version: ${PACKAGE_VERSION}
+-Requires.private: Qt${QT_VERSION_PC}Core >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Core < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}DBus >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}DBus < ${QT_MAX_VERSION}, TelepathyQt${QT_VERSION_MAJOR} = ${PACKAGE_VERSION}
++Requires: Qt${QT_VERSION_PC}Core >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}Core < ${QT_MAX_VERSION}, Qt${QT_VERSION_PC}DBus >= ${QT_MIN_VERSION}, Qt${QT_VERSION_PC}DBus < ${QT_MAX_VERSION}
++Requires.private: TelepathyQt${QT_VERSION_MAJOR} = ${PACKAGE_VERSION}
+ Libs: -L${LIB_INSTALL_DIR} -ltelepathy-qt${QT_VERSION_MAJOR}-service
+ Cflags: -I${INCLUDE_INSTALL_DIR}/telepathy-qt${QT_VERSION_MAJOR}
diff --git a/chat/telepathy-qt5/patches/patch-TelepathyQt_referenced-handles.cpp b/chat/telepathy-qt5/patches/patch-TelepathyQt_referenced-handles.cpp
new file mode 100644
index 00000000000..49b17563d47
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-TelepathyQt_referenced-handles.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-TelepathyQt_referenced-handles.cpp,v 1.1 2019/12/12 16:44:53 nros Exp $
+* remove use of deprecated function
+--- TelepathyQt/referenced-handles.cpp.orig 2019-12-10 09:43:25.272733422 +0000
++++ TelepathyQt/referenced-handles.cpp
+@@ -269,7 +269,7 @@ bool ReferencedHandles::removeOne(uint h
+
+ void ReferencedHandles::swap(int i, int j)
+ {
+- mPriv->handles.swap(i, j);
++ mPriv->handles.swapItemsAt(i, j);
+ }
+
+ uint ReferencedHandles::takeAt(int i)
diff --git a/chat/telepathy-qt5/patches/patch-tests_channel-class-spec.cpp b/chat/telepathy-qt5/patches/patch-tests_channel-class-spec.cpp
new file mode 100644
index 00000000000..7e8a66fbaa5
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-tests_channel-class-spec.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-tests_channel-class-spec.cpp,v 1.1 2019/12/12 16:44:53 nros Exp $
+* remove use of deprecated function
+--- tests/channel-class-spec.cpp.orig 2019-12-10 09:48:42.267292950 +0000
++++ tests/channel-class-spec.cpp
+@@ -13,7 +13,7 @@ ChannelClassSpecList reverse(const Chann
+ {
+ ChannelClassSpecList ret(list);
+ for (int k = 0; k < (list.size() / 2); k++) {
+- ret.swap(k, list.size() - (1 + k));
++ ret.swapItemsAt(k, list.size() - (1 + k));
+ }
+ return ret;
+ }
diff --git a/chat/telepathy-qt5/patches/patch-tests_dbus_account-basics.cpp b/chat/telepathy-qt5/patches/patch-tests_dbus_account-basics.cpp
new file mode 100644
index 00000000000..d2d403b7560
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-tests_dbus_account-basics.cpp
@@ -0,0 +1,49 @@
+$NetBSD: patch-tests_dbus_account-basics.cpp,v 1.1 2019/12/12 16:44:53 nros Exp $
+* remove use of deprecated function
+--- tests/dbus/account-basics.cpp.orig 2019-11-11 17:17:37.000000000 +0000
++++ tests/dbus/account-basics.cpp
+@@ -295,15 +295,15 @@ void TestAccountBasics::testBasics()
+ SimpleStatusSpec prSpec = { ConnectionPresenceTypeOffline, true, false };
+ expectedPresences.append(PresenceSpec(QLatin1String("offline"), prSpec));
+ }
+- qSort(expectedPresences);
++ std::sort(expectedPresences.begin(), expectedPresences.end());
+
+ PresenceSpecList presences = acc->allowedPresenceStatuses(false);
+- qSort(presences);
++ std::sort(presences.begin(), presences.end());
+ QCOMPARE(presences.size(), 2);
+ QCOMPARE(presences, expectedPresences);
+
+ presences = acc->allowedPresenceStatuses(true);
+- qSort(presences);
++ std::sort(presences.begin(), presences.end());
+ QCOMPARE(presences.size(), 2);
+ QCOMPARE(presences, expectedPresences);
+
+@@ -491,10 +491,10 @@ void TestAccountBasics::testBasics()
+ SimpleStatusSpec prSpec = { ConnectionPresenceTypeOffline, true, false };
+ expectedPresences.append(PresenceSpec(QLatin1String("offline"), prSpec));
+ }
+- qSort(expectedPresences);
++ std::sort(expectedPresences.begin(), expectedPresences.end());
+
+ presences = acc->allowedPresenceStatuses(false);
+- qSort(presences);
++ std::sort(presences.begin(), presences.end());
+ QCOMPARE(presences.size(), 3);
+ QCOMPARE(presences, expectedPresences);
+
+@@ -502,10 +502,10 @@ void TestAccountBasics::testBasics()
+ SimpleStatusSpec prSpec = { ConnectionPresenceTypeExtendedAway, false, false };
+ expectedPresences.append(PresenceSpec(QLatin1String("xa"), prSpec));
+ }
+- qSort(expectedPresences);
++ std::sort(expectedPresences.begin(), expectedPresences.end());
+
+ presences = acc->allowedPresenceStatuses(true);
+- qSort(presences);
++ std::sort(presences.begin(), presences.end());
+ QCOMPARE(presences.size(), 4);
+ QCOMPARE(presences, expectedPresences);
+
diff --git a/chat/telepathy-qt5/patches/patch-tests_dbus_client.cpp b/chat/telepathy-qt5/patches/patch-tests_dbus_client.cpp
new file mode 100644
index 00000000000..5c7df32b6af
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-tests_dbus_client.cpp
@@ -0,0 +1,19 @@
+$NetBSD: patch-tests_dbus_client.cpp,v 1.1 2019/12/12 16:44:53 nros Exp $
+* remove use of deprecated function
+--- tests/dbus/client.cpp.orig 2019-11-11 17:17:37.000000000 +0000
++++ tests/dbus/client.cpp
+@@ -753,12 +753,12 @@ void TestClient::testAddDispatchOperatio
+ handledChannels.clear();
+ QVERIFY(waitForProperty(handler1Iface->requestPropertyHandledChannels(), &handledChannels));
+ QVERIFY(!handledChannels.isEmpty());
+- qSort(handledChannels);
++ std::sort(handledChannels.begin(), handledChannels.end());
+ Tp::ObjectPathList expectedHandledChannels;
+ Q_FOREACH (const ChannelDetails &details, mCDO->Channels()) {
+ expectedHandledChannels << details.channel;
+ }
+- qSort(expectedHandledChannels);
++ std::sort(expectedHandledChannels.begin(), expectedHandledChannels.end());
+ QCOMPARE(handledChannels, expectedHandledChannels);
+ }
+
diff --git a/chat/telepathy-qt5/patches/patch-tests_features.cpp b/chat/telepathy-qt5/patches/patch-tests_features.cpp
new file mode 100644
index 00000000000..d4cf2fad559
--- /dev/null
+++ b/chat/telepathy-qt5/patches/patch-tests_features.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-tests_features.cpp,v 1.1 2019/12/12 16:44:53 nros Exp $
+* remove use of deprecated function
+--- tests/features.cpp.orig 2019-12-10 09:46:54.250097469 +0000
++++ tests/features.cpp
+@@ -13,7 +13,7 @@ QList<Feature> reverse(const QList<Featu
+ {
+ QList<Feature> ret(list);
+ for (int k = 0; k < (list.size() / 2); k++) {
+- ret.swap(k, list.size() - (1 + k));
++ ret.swapItemsAt(k, list.size() - (1 + k));
+ }
+ return ret;
+ }