From f9d480cfe50ca1d7a0f0b5a2b8bb9932962bfbe7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 17:07:22 +0200 Subject: Adding upstream version 3.38.6. Signed-off-by: Daniel Baumann --- subprojects/extensions-app/data/meson.build | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 subprojects/extensions-app/data/meson.build (limited to 'subprojects/extensions-app/data/meson.build') diff --git a/subprojects/extensions-app/data/meson.build b/subprojects/extensions-app/data/meson.build new file mode 100644 index 0000000..e7bfa99 --- /dev/null +++ b/subprojects/extensions-app/data/meson.build @@ -0,0 +1,46 @@ +gnome.compile_resources( + app_id + '.data', + app_id + '.data.gresource.xml', + gresource_bundle: true, + install: true, + install_dir: pkgdatadir +) + +desktop_file = app_id + '.desktop' +desktopconf = configuration_data() +# We substitute in bindir so it works as an autostart +# file when built in a non-system prefix +desktopconf.set('bindir', bindir) +desktopconf.set('app_id', app_id) +desktopconf.set('prgname', prgname) + +i18n.merge_file('desktop', + input: configure_file( + input: desktop_file + '.in.in', + output: desktop_file + '.in', + configuration: desktopconf + ), + output: desktop_file, + po_dir: po_dir, + install: true, + install_dir: desktopdir, + type: 'desktop' +) + +if (desktop_file_validate.found()) + test('Validating ' + desktop_file, + desktop_file_validate, + args: [desktop_file], + workdir: meson.current_build_dir() + ) +endif + +configure_file( + input: app_id + '.service.in', + output: app_id + '.service', + configuration: desktopconf, + install_dir: servicedir, +) + +subdir('icons') +subdir('metainfo') -- cgit v1.2.3