aboutsummaryrefslogtreecommitdiffstats
path: root/transmitter-plugin/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'transmitter-plugin/meson.build')
-rw-r--r--transmitter-plugin/meson.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/transmitter-plugin/meson.build b/transmitter-plugin/meson.build
new file mode 100644
index 0000000..7efd1ce
--- /dev/null
+++ b/transmitter-plugin/meson.build
@@ -0,0 +1,24 @@
+
+libpixman_dep = dependency('pixman-1')
+
+deps_transmiter_plugin = [
+ libwayland_dep,
+ libpixman_dep,
+ libweston_dep,
+ libwaltham_dep,
+ weston_dep,
+ cc.find_library('m')
+]
+
+plugin_transmitter = shared_library(
+ 'waltham-transmitter',
+ 'input.c',
+ 'output.c',
+ 'plugin.c',
+ include_directories: common_inc,
+ dependencies: deps_transmiter_plugin,
+ name_prefix: '',
+ install: true,
+ install_dir: plugin_install_dir,
+)
+env_modmap += 'transmitter-plugin.so=@0@;'.format(plugin_transmitter.full_path())