From 4a14e878c1187d6cc1f76b87a24a6007314d996e Mon Sep 17 00:00:00 2001 From: mbkma Date: Sun, 22 Mar 2026 10:18:37 +0100 Subject: add meson support --- plugins/pythonconsole/meson.build | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/pythonconsole/meson.build (limited to 'plugins/pythonconsole/meson.build') diff --git a/plugins/pythonconsole/meson.build b/plugins/pythonconsole/meson.build new file mode 100644 index 00000000..80a11519 --- /dev/null +++ b/plugins/pythonconsole/meson.build @@ -0,0 +1,28 @@ +subdir('pythonconsole') + +plugin_conf = configuration_data() +plugin_conf.set('PACKAGE_URL', 'https://github.com/mate-desktop/pluma') + +plugin_in = configure_file( + input: 'pythonconsole.plugin.desktop.in.in', + output: 'pythonconsole.plugin.desktop.in', + configuration: plugin_conf, +) +i18n.merge_file( + input: plugin_in, + output: 'pythonconsole.plugin', + po_dir: join_paths(meson.project_source_root(), 'po'), + type: 'desktop', + install: true, + install_dir: pluginsdir, +) + +schema_conf = configuration_data() +schema_conf.set('GETTEXT_PACKAGE', 'pluma') +configure_file( + input: 'org.mate.pluma.plugins.pythonconsole.gschema.xml.in', + output: 'org.mate.pluma.plugins.pythonconsole.gschema.xml', + configuration: schema_conf, + install: true, + install_dir: join_paths(datadir, 'glib-2.0', 'schemas'), +) -- cgit v1.2.1