Use proper ID for remote app

This commit is contained in:
Rafostar
2020-12-16 14:42:40 +01:00
parent 04f1d2397f
commit 57ceb17100
4 changed files with 20 additions and 16 deletions

View File

@@ -1,14 +1,15 @@
bin_conf = configuration_data()
bin_conf.set('GJS', find_program('gjs').path())
bin_conf.set('PACKAGE_VERSION', meson.project_version())
bin_conf.set('PACKAGE_NAME', meson.project_name())
bin_conf.set('prefix', get_option('prefix'))
bin_conf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
bin_conf.set('datadir', join_paths(get_option('prefix'), get_option('datadir')))
clapper_apps = [ '', 'Remote' ]
foreach id_postfix : clapper_apps
bin_conf = configuration_data()
bin_conf.set('GJS', find_program('gjs').path())
bin_conf.set('PROJECT_NAME', meson.project_name())
bin_conf.set('PACKAGE_NAME', meson.project_name() + id_postfix)
bin_conf.set('PACKAGE_VERSION', meson.project_version())
bin_conf.set('prefix', get_option('prefix'))
bin_conf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
bin_conf.set('datadir', join_paths(get_option('prefix'), get_option('datadir')))
configure_file(
input: 'com.github.rafostar.Clapper' + id_postfix + '.in',
output: 'com.github.rafostar.Clapper' + id_postfix,