libpurple/protocols/zephyr/meson.build

Mon, 22 Aug 2022 21:40:04 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Mon, 22 Aug 2022 21:40:04 -0500
branch
gtk4
changeset 41567
517ac516af27
parent 41107
1570d8844e9a
child 41827
c0c9eeca7d4b
permissions
-rw-r--r--

Inline pidgin_make_scrollable

We need to change it for GTK4, and there are few enough that it can be inlined. Eventually, that code might be a `.ui` anyway.

Testing Done:
Compile only.

Reviewed at https://reviews.imfreedom.org/r/1615/

ZEPHYR_INTERNAL_SOURCES = [
	'ZAsyncLocate.c',
	'ZCkAuth.c',
	'ZCkIfNot.c',
	'ZClosePort.c',
	'ZCmpUID.c',
	'ZCmpUIDP.c',
	'ZFlsLocs.c',
	'ZFlsSubs.c',
	'ZFmtAuth.c',
	'ZFmtList.c',
	'ZFmtNotice.c',
	'ZFmtRaw.c',
	'ZFmtRawLst.c',
	'ZFmtSmRaw.c',
	'ZFreeNot.c',
	'ZGetLocs.c',
	'ZGetSender.c',
	'ZGetSubs.c',
	'ZGetWGPort.c',
	'ZIfNotice.c',
	'ZInit.c',
	'ZLocations.c',
	'ZMakeAscii.c',
	'ZMkAuth.c',
	'ZNewLocU.c',
	'ZOpenPort.c',
	'ZParseNot.c',
	'ZPeekNot.c',
	'ZPeekPkt.c',
	'ZPending.c',
	'ZReadAscii.c',
	'ZRecvNot.c',
	'ZRecvPkt.c',
	'ZRetSubs.c',
	'ZSendList.c',
	'ZSendNot.c',
	'ZSendPkt.c',
	'ZSetDest.c',
	'ZSubs.c',
	'ZVariables.c',
	'ZWait4Not.c',
	'ZhmStat.c',
	'Zinternal.c',
	'mit-copyright.h',
	'mit-sipb-copyright.h',
	'zephyr_err.h',
	'zephyr_internal.h'
]

ZEPHYR_SOURCES = [
	'internal.h',
	'sysdep.h',
	'zephyr.c',
	'zephyr.h',
	'zephyr_account.h',
	'zephyr_html.c',
	'zephyr_html.h',
	'zephyr_tzc.c',
	'zephyr_tzc.h',
	'zephyr_zeph02.c',
	'zephyr_zeph02.h',
]

extdep = krb4
if EXTERNAL_LIBZEPHYR
	extdep = ext_zephyr
else
	ZEPHYR_SOURCES += ZEPHYR_INTERNAL_SOURCES
endif

if DYNAMIC_ZEPHYR
	zephyr_resources = gnome.compile_resources('zephyrresource',
		'resources/zephyr.gresource.xml',
		source_dir : 'resources',
		c_name : 'zephyr')
	ZEPHYR_SOURCES += zephyr_resources

	zephyr_prpl = shared_library('zephyr', ZEPHYR_SOURCES,
	    c_args : ['-Dlint', '-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-Zephyr"'],
	    dependencies : [extdep, libpurple_dep, glib],
	    install : true, install_dir : PURPLE_PLUGINDIR)

	devenv.append('PURPLE_PLUGIN_PATH', meson.current_build_dir())
endif

mercurial