pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Fix an error caused by misreading purple_strequal()
2019-11-05, John Bailey
e74e34093dfa
Fix an error caused by misreading purple_strequal()
#######################################################################
# Check for Internationalized Domain Name support
#######################################################################
idn
=
dependency
(
'libidn'
,
version
:
'>= 0.0.0'
,
required
:
get_option
(
'idn'
))
if
idn
.
found
()
use_idn
=
[
'-DUSE_IDN'
]
else
use_idn
=
[]
endif
JABBERSOURCES
=
[
'adhoccommands.c'
,
'adhoccommands.h'
,
'auth.c'
,
'auth.h'
,
'auth_digest_md5.c'
,
'auth_digest_md5.h'
,
'auth_plain.c'
,
'auth_scram.c'
,
'auth_scram.h'
,
'auth_webex.c'
,
'buddy.c'
,
'buddy.h'
,
'bosh.c'
,
'bosh.h'
,
'caps.c'
,
'caps.h'
,
'chat.c'
,
'chat.h'
,
'data.c'
,
'data.h'
,
'disco.c'
,
'disco.h'
,
'google/gmail.c'
,
'google/gmail.h'
,
'google/google.c'
,
'google/google.h'
,
'google/google_p2p.c'
,
'google/google_p2p.h'
,
'google/google_presence.c'
,
'google/google_presence.h'
,
'google/google_roster.c'
,
'google/google_roster.h'
,
'google/google_session.c'
,
'google/google_session.h'
,
'google/jingleinfo.c'
,
'google/jingleinfo.h'
,
'google/relay.c'
,
'google/relay.h'
,
'gtalk.c'
,
'gtalk.h'
,
'ibb.c'
,
'ibb.h'
,
'iq.c'
,
'iq.h'
,
'jabber.c'
,
'jabber.h'
,
'jingle/jingle.c'
,
'jingle/jingle.h'
,
'jingle/content.c'
,
'jingle/content.h'
,
'jingle/iceudp.c'
,
'jingle/iceudp.h'
,
'jingle/rawudp.c'
,
'jingle/rawudp.h'
,
'jingle/rtp.c'
,
'jingle/rtp.h'
,
'jingle/session.c'
,
'jingle/session.h'
,
'jingle/transport.c'
,
'jingle/transport.h'
,
'jutil.c'
,
'jutil.h'
,
'message.c'
,
'message.h'
,
'namespaces.h'
,
'oob.c'
,
'oob.h'
,
'parser.c'
,
'parser.h'
,
'pep.c'
,
'pep.h'
,
'ping.c'
,
'ping.h'
,
'presence.c'
,
'presence.h'
,
'roster.c'
,
'roster.h'
,
'si.c'
,
'si.h'
,
'useravatar.c'
,
'useravatar.h'
,
'usermood.c'
,
'usermood.h'
,
'usernick.c'
,
'usernick.h'
,
'usertune.c'
,
'usertune.h'
,
'xdata.c'
,
'xdata.h'
,
'xmpp.c'
,
'xmpp.h'
]
if
sasl
.
found
()
JABBERSOURCES
+=
[
'auth_cyrus.c'
]
endif
if
IS_WIN32
jabber_link_args
=
[
'-Wl,--export-all-symbols'
]
else
jabber_link_args
=
[]
endif
if
DYNAMIC_JABBER
jabber_prpl
=
shared_library
(
'jabber'
,
JABBERSOURCES
,
c_args
:
use_idn
,
link_args
:
jabber_link_args
,
dependencies
:
[
gstreamer
,
idn
,
libxml
,
sasl
,
libpurple_dep
,
libsoup
,
glib
,
gio
,
math
,
ws2_32
],
install
:
true
,
install_dir
:
PURPLE_PLUGINDIR
)
subdir
(
'tests'
)
endif