pidgin/plugins/notify/meson.build

Tue, 21 Feb 2023 22:06:47 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Tue, 21 Feb 2023 22:06:47 -0600
changeset 42074
58ae70ad7f21
parent 41825
a1b935298710
permissions
-rw-r--r--

Mark unused parameters as such for all of the pidgin plugins

Testing Done:
Turned the warning level up to 2, compiled, and verified the warnings were gone.

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

notify_plugin_deps = [libpurple_dep, libpidgin_dep, glib]
if x11.found()
  notify_plugin_deps += x11
endif

notify = library('notify', 'notify.c',
    c_args : ['-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="PidginPlugin-Notify"'],
    dependencies : notify_plugin_deps,
    name_prefix : '',
    build_by_default: false,
    install : false, install_dir : PIDGIN_PLUGINDIR)

settings_schemas = [
  'im.pidgin.Pidgin.plugin.Notify.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('PIDGIN_PLUGIN_PATH', meson.current_build_dir())

mercurial