libpurple/plugins/autoaccept/meson.build

Sun, 10 Aug 2025 23:44:08 +0800

author
Gong Zhile <gongzl@stu.hebust.edu.cn>
date
Sun, 10 Aug 2025 23:44:08 +0800
branch
purple_conversation_find_message_by_id
changeset 43309
099e1dfb856b
parent 42742
44125b8e3b27
permissions
-rw-r--r--

Add Purple.Conversation.find_message_by_id

The method was added so that a protocol or plugin could easily lookup
for the reference for a message. This will be especially useful when a
protocol received a quoted message but only with an id.

subdir_done()

library('autoaccept', 'autoaccept.c',
    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PurplePlugin-AutoAccept"'],
    gnu_symbol_visibility : 'hidden',
    dependencies : [libpurple_dep, glib],
    name_prefix : '',
    install : true,
    install_dir : PURPLE_PLUGINDIR)

settings_schemas = [
  'im.pidgin.Purple.plugin.AutoAccept.gschema.xml',
]

install_data(settings_schemas, install_dir: schemas_dir)
gnome.post_install(glib_compile_schemas: true)

# Compile the schemas in the current directory; this is only useful for testing
gnome.compile_schemas(depend_files: files(settings_schemas))

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

mercurial