diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2023-03-30 07:39:53 +0200 |
---|---|---|
committer | Jan-Michael Brummer <jan.brummer@tabos.org> | 2023-03-30 11:44:46 +0200 |
commit | d1107667da6da04395ff72a78839cf07a2fe1aa9 (patch) | |
tree | 50f2b0718c47f87133b33d3e13a49c5c08c9631b /src/backend/plugins/pacrunner-duktape/meson.build | |
parent | 3604dc5aa5d623740263dd077f5b7d209cf1d486 (diff) | |
download | libproxy-git-d1107667da6da04395ff72a78839cf07a2fe1aa9.tar.gz |
Remove libpeas support
As we no longer have further dependencies like glib for accessing the
standard linux configurations and the other are platform specific. Let's
remove peas all together. Plugins are now built-in.
Diffstat (limited to 'src/backend/plugins/pacrunner-duktape/meson.build')
-rw-r--r-- | src/backend/plugins/pacrunner-duktape/meson.build | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/src/backend/plugins/pacrunner-duktape/meson.build b/src/backend/plugins/pacrunner-duktape/meson.build index ef4a470..f391b6d 100644 --- a/src/backend/plugins/pacrunner-duktape/meson.build +++ b/src/backend/plugins/pacrunner-duktape/meson.build @@ -3,35 +3,15 @@ plugin_name = 'pacrunner-duktape' if get_option(plugin_name) duktape_dep = dependency('duktape') +m_dep = cc.find_library('m', required : false) -plugin_src = [ - '@0@.c'.format(plugin_name), +px_backend_sources += [ + 'plugins/@0@/@0@.c'.format(plugin_name), ] -plugin_data = [ - '@0@.plugin'.format(plugin_name), +px_backend_deps += [ + duktape_dep, + m_dep ] -plugin_lib = shared_module( - plugin_name, - plugin_src, - include_directories: px_backend_inc, - c_args: px_backend_c_args, - dependencies: [px_backend_dep, duktape_dep, ws2_32_dep], - install_dir: join_paths(px_plugins_dir, plugin_name), - install: true, - name_suffix: module_suffix, -) - -# Starting with Meson 0.64 this can be replaced with fs.copyfile -custom_target( - '@0@-data'.format(plugin_name), - input: plugin_data, - output: plugin_data, - command: ['cp', '@INPUT@', '@OUTDIR@'], - build_by_default: true, - install_dir: join_paths(px_plugins_dir, plugin_name), - install: true, -) - endif
\ No newline at end of file |