Builds on modern

This commit is contained in:
2026-01-04 16:01:06 +01:00
parent d90681d9ae
commit 079251a2e8
3 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@@ -32,3 +32,4 @@ Makefile
_build/
.flatpak-builder/
flatpak/
/subprojects/

1
configure vendored
View File

@@ -78,7 +78,6 @@ echooption() {
}
sanitycheck MESON 'meson'
sanitycheck MESONTEST 'mesontest'
sanitycheck NINJA 'ninja' 'ninja-build'
declare -A default_options=(

View File

@@ -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')