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)
|
2020-03-08 13:50:59 +00:00
|
|
|
launcherconf.set('PACKAGE_VERSION', meson.project_version())
|
|
|
|
launcherconf.set('prefix', prefix)
|
|
|
|
launcherconf.set('libdir', libdir)
|
|
|
|
launcherconf.set('pkgdatadir', pkgdatadir)
|
|
|
|
launcherconf.set('gjs', gjs.path())
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: prgname + '.in',
|
|
|
|
output: prgname,
|
|
|
|
configuration: launcherconf,
|
|
|
|
install_dir: bindir,
|
|
|
|
install_mode: 'rwxr-xr-x',
|
|
|
|
)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: app_id + '.in',
|
|
|
|
output: app_id,
|
|
|
|
configuration: launcherconf,
|
|
|
|
install_dir: pkgdatadir,
|
|
|
|
)
|
|
|
|
|
|
|
|
gnome.compile_resources(
|
|
|
|
app_id + '.src',
|
|
|
|
app_id + '.src.gresource.xml',
|
2019-12-01 02:01:02 +00:00
|
|
|
source_dir: ['.', '../../../js'],
|
2020-03-08 13:50:59 +00:00
|
|
|
gresource_bundle: true,
|
|
|
|
install: true,
|
|
|
|
install_dir: pkgdatadir
|
|
|
|
)
|