pidgin/plugins/notify/meson.build

Sat, 29 Oct 2022 00:53:33 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Sat, 29 Oct 2022 00:53:33 -0500
changeset 41858
38e61d11b89f
parent 41825
a1b935298710
permissions
-rw-r--r--

Migrate the static fields in PidginAccountEditor to AdwEntryRow

I also moved the proxy port to an entry row instead of using a spin button. In
Pidgin 2 we just used an entry and used atoi() on it, so that's what I'm doing
here.

Testing Done:
Modified the alias and proxy settings and made sure they were saved properly.

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

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