summaryrefslogtreecommitdiff
path: root/cut-n-paste
diff options
context:
space:
mode:
authorManatsawin Hanmongkolchai <[email protected]>2022-11-14 01:35:12 +0700
committerraveit65 <[email protected]>2023-04-20 18:07:49 +0200
commitbbcbca9eb1240c3493895dbdcf03a4b2c2803d29 (patch)
tree9719912dab8fdd4238045f739a821fba2630a4b9 /cut-n-paste
parent2c38b75e422a41cfa180d1f4a5a55d52577b2989 (diff)
downloadeom-bbcbca9eb1240c3493895dbdcf03a4b2c2803d29.tar.bz2
eom-bbcbca9eb1240c3493895dbdcf03a4b2c2803d29.tar.xz
Add meson build support
Diffstat (limited to 'cut-n-paste')
-rw-r--r--cut-n-paste/meson.build1
-rw-r--r--cut-n-paste/toolbar-editor/meson.build27
2 files changed, 28 insertions, 0 deletions
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('.')