summaryrefslogtreecommitdiff
path: root/lib/dbus/meson.build
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-06-20 17:11:35 +0200
committerHannes Schulze <haschu0103@outlook.de>2025-06-20 17:11:35 +0200
commit75b5dde3a4d62acfc4f354b6dc237062cb83b89b (patch)
treea39283ff47a1a33a1a713e03a1e60b8efe80e03a /lib/dbus/meson.build
parent519956797d905c0925b8dd418ceb17c7495ad30a (diff)
add resources
Diffstat (limited to 'lib/dbus/meson.build')
-rw-r--r--lib/dbus/meson.build37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/dbus/meson.build b/lib/dbus/meson.build
new file mode 100644
index 0000000..d199e7f
--- /dev/null
+++ b/lib/dbus/meson.build
@@ -0,0 +1,37 @@
+sources += gnome.gdbus_codegen(
+ 'server',
+ 'com.github.hannesschulze.foobar.xml',
+ namespace: 'Foobar',
+ annotations: [
+ ['com.github.hannesschulze.foobar.Server', 'org.gtk.GDBus.C.Name', 'Server'],
+ ],
+)
+
+sources += gnome.gdbus_codegen(
+ 'notifications',
+ 'org.freedesktop.Notifications.xml',
+ namespace: 'Foobar',
+ annotations: [
+ ['org.freedesktop.Notifications', 'org.gtk.GDBus.C.Name', 'Notifications'],
+ ],
+)
+
+sources += gnome.gdbus_codegen(
+ 'upower',
+ 'org.freedesktop.UPower.xml',
+ namespace: 'Foobar',
+ annotations: [
+ ['org.freedesktop.UPower.Device', 'org.gtk.GDBus.C.Name', 'UPowerDevice'],
+ ],
+)
+
+sources += gnome.gdbus_codegen(
+ 'bluez',
+ 'org.bluez.xml',
+ namespace: 'Foobar',
+ annotations: [
+ ['org.bluez.Adapter1', 'org.gtk.GDBus.C.Name', 'BluezAdapter'],
+ ['org.bluez.Device1', 'org.gtk.GDBus.C.Name', 'BluezDevice'],
+ ['org.bluez.AgentManager1', 'org.gtk.GDBus.C.Name', 'BluezAgentManager'],
+ ],
+)