Builds on modern
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
desktop = 'com.frac_tion.teleport.desktop'
|
||||
|
||||
i18n.merge_file(
|
||||
desktop,
|
||||
type: 'desktop',
|
||||
input: desktop + '.in',
|
||||
output: desktop,
|
||||
type: 'desktop',
|
||||
po_dir: po_dir,
|
||||
install: true,
|
||||
install_dir: join_paths(teleport_datadir, 'applications')
|
||||
@@ -40,10 +39,17 @@ endif
|
||||
# install_dir: teleport_schemadir
|
||||
#)
|
||||
|
||||
schema_dir = join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
|
||||
install_data(
|
||||
'com.frac_tion.teleport.gschema.xml',
|
||||
install_dir: teleport_schemadir
|
||||
install_dir: schema_dir
|
||||
)
|
||||
|
||||
# Compile the schemas after installation
|
||||
glib_compiled_schemas = find_program('glib-compile-schemas', required: false)
|
||||
if glib_compiled_schemas.found()
|
||||
meson.add_install_script(glib_compiled_schemas, schema_dir)
|
||||
endif
|
||||
|
||||
#subdir('appdata')
|
||||
subdir('icons')
|
||||
|
||||
Reference in New Issue
Block a user