From bbcbca9eb1240c3493895dbdcf03a4b2c2803d29 Mon Sep 17 00:00:00 2001 From: Manatsawin Hanmongkolchai Date: Mon, 14 Nov 2022 01:35:12 +0700 Subject: Add meson build support --- cut-n-paste/meson.build | 1 + cut-n-paste/toolbar-editor/meson.build | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 cut-n-paste/meson.build create mode 100644 cut-n-paste/toolbar-editor/meson.build (limited to 'cut-n-paste') diff --git a/cut-n-paste/meson.build b/cut-n-paste/meson.build new file mode 100644 index 0000000..db067e9 --- /dev/null +++ b/cut-n-paste/meson.build @@ -0,0 +1 @@ +subdir('toolbar-editor') diff --git a/cut-n-paste/toolbar-editor/meson.build b/cut-n-paste/toolbar-editor/meson.build new file mode 100644 index 0000000..3295507 --- /dev/null +++ b/cut-n-paste/toolbar-editor/meson.build @@ -0,0 +1,27 @@ +eggheaders = [ + 'egg-editable-toolbar.h', + 'egg-toolbars-model.h', + 'egg-toolbar-editor.h', +] + +eggmarshalers = gnome.genmarshal('eggmarshalers', sources: ['eggmarshalers.list'], prefix: '_egg_marshal') +eggtypebuiltins = gnome.mkenums_simple('eggtypebuiltins', sources: eggheaders) + +src = [ + eggmarshalers, + eggtypebuiltins, + 'egg-editable-toolbar.c', + 'egg-toolbars-model.c', + 'egg-toolbar-editor.c', + eggheaders, +] + +toolbareditor = static_library( + 'toolbareditor', + src, + dependencies: all_deps, + include_directories: top_inc, + c_args: ['-DCURSOR_DIR="' + pkgdatadir + '"'], +) + +toolbareditor_inc = include_directories('.') -- cgit v1.2.1