From 75b5dde3a4d62acfc4f354b6dc237062cb83b89b Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Fri, 20 Jun 2025 17:11:35 +0200 Subject: add resources --- lib/meson.build | 40 ++-------------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) (limited to 'lib/meson.build') diff --git a/lib/meson.build b/lib/meson.build index 473ac62..ca07434 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -10,44 +10,8 @@ deps = [ ] sources = [] - -sources += gnome.gdbus_codegen( - 'server', - 'dbus/com.github.hannesschulze.foobar.xml', - namespace: 'Foobar', - annotations: [ - ['com.github.hannesschulze.foobar.Server', 'org.gtk.GDBus.C.Name', 'Server'], - ], -) - -sources += gnome.gdbus_codegen( - 'notifications', - 'dbus/org.freedesktop.Notifications.xml', - namespace: 'Foobar', - annotations: [ - ['org.freedesktop.Notifications', 'org.gtk.GDBus.C.Name', 'Notifications'], - ], -) - -sources += gnome.gdbus_codegen( - 'upower', - 'dbus/org.freedesktop.UPower.xml', - namespace: 'Foobar', - annotations: [ - ['org.freedesktop.UPower.Device', 'org.gtk.GDBus.C.Name', 'UPowerDevice'], - ], -) - -sources += gnome.gdbus_codegen( - 'bluez', - 'dbus/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'], - ], -) +subdir('dbus') +subdir('res') c_args = [ '-Wall', -- cgit v1.3.1