From 4c115249a7027286ce16ea789374c683739837ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Fri, 19 May 2017 23:13:23 +0200 Subject: project: Port to meson build system https://bugzilla.gnome.org/show_bug.cgi?id=782843 --- data/meson.build | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 data/meson.build (limited to 'data/meson.build') diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 00000000..149437b9 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,66 @@ +subdir('icons') +subdir('appdata') + +# Desktop files +desktop = 'org.gnome.Calendar.desktop' + +i18n.merge_file( + desktop, + type: 'desktop', + input: desktop + '.in', + output: desktop, + po_dir: po_dir, + install: true, + install_dir: join_paths(calendar_datadir, 'applications') +) + +# GNOME Shell search provider +install_data( + 'org.gnome.Calendar.search-provider.ini', + install_dir: join_paths(calendar_datadir, 'gnome-shell', 'search-providers') +) + +# GSettings schema +install_data( + 'org.gnome.calendar.gschema.xml', + install_dir: calendar_schemadir +) + +# DBus service files +service_conf = configuration_data() +service_conf.set('bindir', calendar_bindir) + +service = 'org.gnome.Calendar.service' + +configure_file( + input: service + '.in', + output: service, + install: true, + install_dir: join_paths(calendar_datadir, 'dbus-1', 'services'), + configuration: service_conf +) + +shell_search_provider_dbus_interfaces = files('shell-search-provider-dbus-interfaces.xml') + +# Resource data +gresource = files('calendar.gresource.xml') + +resource_data = files( + 'theme/gtk-styles.css', + 'ui/alarm-row.ui', + 'ui/calendar-row.ui', + 'ui/date-chooser.ui', + 'ui/date-selector.ui', + 'ui/edit-dialog.ui', + 'ui/help-overlay.ui', + 'ui/menus.ui', + 'ui/multi-choice.ui', + 'ui/quick-add-popover.ui', + 'ui/search-view.ui', + 'ui/source-dialog.ui', + 'ui/time-selector.ui', + 'ui/week-header.ui', + 'ui/week-view.ui', + 'ui/window.ui', + 'ui/year-view.ui' +) -- cgit v1.2.1