2020-03-08 13:50:59 +00:00
|
|
|
launcherconf = configuration_data()
|
|
|
|
launcherconf.set('app_id', app_id)
|
2019-12-01 02:01:02 +00:00
|
|
|
launcherconf.set('PACKAGE_NAME', package_name)
|
2021-01-22 21:07:42 +00:00
|
|
|
if vcs_tag != ''
|
|
|
|
launcherconf.set('PACKAGE_VERSION', '@0@ (@1@)'.format(package_version, vcs_tag))
|
|
|
|
else
|
|
|
|
launcherconf.set('PACKAGE_VERSION', package_version)
|
|
|
|
endif
|
2020-03-08 13:50:59 +00:00
|
|
|
launcherconf.set('prefix', prefix)
|
|
|
|
launcherconf.set('libdir', libdir)
|
|
|
|
launcherconf.set('pkgdatadir', pkgdatadir)
|
2021-12-23 01:40:22 +00:00
|
|
|
launcherconf.set('gjs', gjs.full_path())
|
2020-03-08 13:50:59 +00:00
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: prgname + '.in',
|
|
|
|
output: prgname,
|
|
|
|
configuration: launcherconf,
|
|
|
|
install_dir: bindir,
|
|
|
|
install_mode: 'rwxr-xr-x',
|
|
|
|
)
|
|
|
|
|
|
|
|
configure_file(
|
2021-01-22 18:29:07 +00:00
|
|
|
input: base_id + '.in',
|
2020-03-08 13:50:59 +00:00
|
|
|
output: app_id,
|
|
|
|
configuration: launcherconf,
|
|
|
|
install_dir: pkgdatadir,
|
|
|
|
)
|
|
|
|
|
2023-07-12 14:46:29 +00:00
|
|
|
subdir('misc')
|
|
|
|
|
2020-03-08 13:50:59 +00:00
|
|
|
gnome.compile_resources(
|
|
|
|
app_id + '.src',
|
2021-01-22 18:29:07 +00:00
|
|
|
configure_file(
|
|
|
|
input: base_id + '.src.gresource.xml.in',
|
|
|
|
output: app_id + '.src.gresource.xml',
|
|
|
|
configuration: {'profile': '/'.join(profile.split('.')) },
|
|
|
|
),
|
2023-07-12 14:46:29 +00:00
|
|
|
source_dir: ['.', meson.current_build_dir(), '../../../js'],
|
2020-03-08 13:50:59 +00:00
|
|
|
gresource_bundle: true,
|
|
|
|
install: true,
|
|
|
|
install_dir: pkgdatadir
|
|
|
|
)
|