diff options
Diffstat (limited to 'panels/info-overview/meson.build')
-rw-r--r-- | panels/info-overview/meson.build | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/panels/info-overview/meson.build b/panels/info-overview/meson.build new file mode 100644 index 0000000..7d1a8c9 --- /dev/null +++ b/panels/info-overview/meson.build @@ -0,0 +1,66 @@ +panels_list += cappletname +desktop = 'gnome-@0@-panel.desktop'.format(cappletname) + +desktop_in = configure_file( + input: desktop + '.in.in', + output: desktop + '.in', + configuration: desktop_conf +) + +i18n.merge_file( + desktop, + type: 'desktop', + input: desktop_in, + output: desktop, + po_dir: po_dir, + install: true, + install_dir: control_center_desktopdir +) + +cflags += [ + '-DBINDIR="@0@"'.format(control_center_bindir), + '-DDATADIR="@0@"'.format(control_center_datadir), + '-DLIBEXECDIR="@0@"'.format(control_center_libexecdir), +] + +sources = files( + 'cc-info-overview-panel.c', + 'info-cleanup.c' +) + +resource_data = files( + 'GnomeLogoVerticalMedium.svg', + 'cc-info-overview-panel.ui' +) + +sources += gnome.compile_resources( + 'cc-' + cappletname + '-resources', + cappletname + '.gresource.xml', + c_name: 'cc_' + cappletname.underscorify (), + dependencies: resource_data, + export: true +) + +deps = common_deps + [ + dependency('udisks2', version: '>= 2.8.2'), + dependency('libgtop-2.0') +] + +info_panel_lib = static_library( + cappletname, + sources: sources, + include_directories: [ top_inc, common_inc ], + dependencies: deps, + c_args: cflags +) +panels_libs += info_panel_lib + +executable( + 'gnome-control-center-print-renderer', + 'gnome-control-center-print-renderer.c', + include_directories: [ top_inc ], + dependencies: [ deps, epoxy_dep ], + c_args: cflags, + install: true, + install_dir: control_center_libexecdir, +) |