From e4283f6d48b98e764b988b43bbc86b9d52e6ec94 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:54:43 +0200 Subject: Adding upstream version 43.9. Signed-off-by: Daniel Baumann --- subprojects/extensions-app/js/meson.build | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 subprojects/extensions-app/js/meson.build (limited to 'subprojects/extensions-app/js/meson.build') diff --git a/subprojects/extensions-app/js/meson.build b/subprojects/extensions-app/js/meson.build new file mode 100644 index 0000000..ce2a776 --- /dev/null +++ b/subprojects/extensions-app/js/meson.build @@ -0,0 +1,40 @@ +launcherconf = configuration_data() +launcherconf.set('app_id', app_id) +launcherconf.set('PACKAGE_NAME', package_name) +if vcs_tag != '' + launcherconf.set('PACKAGE_VERSION', '@0@ (@1@)'.format(package_version, vcs_tag)) +else + launcherconf.set('PACKAGE_VERSION', package_version) +endif +launcherconf.set('prefix', prefix) +launcherconf.set('libdir', libdir) +launcherconf.set('pkgdatadir', pkgdatadir) +launcherconf.set('gjs', gjs.full_path()) + +configure_file( + input: prgname + '.in', + output: prgname, + configuration: launcherconf, + install_dir: bindir, + install_mode: 'rwxr-xr-x', +) + +configure_file( + input: base_id + '.in', + output: app_id, + configuration: launcherconf, + install_dir: pkgdatadir, +) + +gnome.compile_resources( + app_id + '.src', + configure_file( + input: base_id + '.src.gresource.xml.in', + output: app_id + '.src.gresource.xml', + configuration: {'profile': '/'.join(profile.split('.')) }, + ), + source_dir: ['.', '../../../js'], + gresource_bundle: true, + install: true, + install_dir: pkgdatadir +) -- cgit v1.2.3