libpurple/plugins/keyrings/kwallet/meson.build

Wed, 04 Aug 2021 04:42:29 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 04 Aug 2021 04:42:29 -0500
changeset 41011
90dd69fd1372
parent 40823
338bba38df77
child 41066
00e6bda3ef95
permissions
-rw-r--r--

Remove the option to disable compiling plugins.

This is a niche feature at best but we can revisit it when we re-enable static
protocol plugins.

Testing Done:
Compiled

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

if kwallet.found()
	kwallet_moc = qt5.preprocess(
		moc_headers: 'purplekwallet.h',
		dependencies: qt5_dep,
	)

	kwallet_sources = [
		'purplekwallet.cpp',
		'purplekwallet.h',
		kwallet_moc,
	]

	kwallet_plugin = library('purplekwallet', kwallet_sources,
	    dependencies : [kwallet, qt5_dep, libpurple_dep],
	    name_prefix : '',
	    install : true, install_dir : PURPLE_PLUGINDIR)
endif

mercurial