summaryrefslogtreecommitdiffstats
path: root/plugins/rfkill/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rfkill/meson.build')
-rw-r--r--plugins/rfkill/meson.build28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/rfkill/meson.build b/plugins/rfkill/meson.build
new file mode 100644
index 0000000..4d70352
--- /dev/null
+++ b/plugins/rfkill/meson.build
@@ -0,0 +1,28 @@
+install_data(
+ '61-gnome-settings-daemon-rfkill.rules',
+ install_dir: join_paths(udev_dir, 'rules.d')
+)
+
+sources = files(
+ 'gsd-rfkill-manager.c',
+ 'rfkill-glib.c',
+ 'main.c'
+)
+
+deps = plugins_deps
+deps += [
+ gio_unix_dep,
+ gudev_dep,
+ m_dep
+]
+
+executable(
+ 'gsd-' + plugin_name,
+ sources,
+ include_directories: [top_inc, common_inc],
+ dependencies: deps,
+ c_args: cflags,
+ install: true,
+ install_rpath: gsd_pkglibdir,
+ install_dir: gsd_libexecdir
+)