Builds on modern
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -32,3 +32,4 @@ Makefile
|
|||||||
_build/
|
_build/
|
||||||
.flatpak-builder/
|
.flatpak-builder/
|
||||||
flatpak/
|
flatpak/
|
||||||
|
/subprojects/
|
||||||
|
|||||||
1
configure
vendored
1
configure
vendored
@@ -78,7 +78,6 @@ echooption() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sanitycheck MESON 'meson'
|
sanitycheck MESON 'meson'
|
||||||
sanitycheck MESONTEST 'mesontest'
|
|
||||||
sanitycheck NINJA 'ninja' 'ninja-build'
|
sanitycheck NINJA 'ninja' 'ninja-build'
|
||||||
|
|
||||||
declare -A default_options=(
|
declare -A default_options=(
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
desktop = 'com.frac_tion.teleport.desktop'
|
desktop = 'com.frac_tion.teleport.desktop'
|
||||||
|
|
||||||
i18n.merge_file(
|
i18n.merge_file(
|
||||||
desktop,
|
|
||||||
type: 'desktop',
|
|
||||||
input: desktop + '.in',
|
input: desktop + '.in',
|
||||||
output: desktop,
|
output: desktop,
|
||||||
|
type: 'desktop',
|
||||||
po_dir: po_dir,
|
po_dir: po_dir,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(teleport_datadir, 'applications')
|
install_dir: join_paths(teleport_datadir, 'applications')
|
||||||
@@ -40,10 +39,17 @@ endif
|
|||||||
# install_dir: teleport_schemadir
|
# install_dir: teleport_schemadir
|
||||||
#)
|
#)
|
||||||
|
|
||||||
|
schema_dir = join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
|
||||||
install_data(
|
install_data(
|
||||||
'com.frac_tion.teleport.gschema.xml',
|
'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('appdata')
|
||||||
subdir('icons')
|
subdir('icons')
|
||||||
|
|||||||
Reference in New Issue
Block a user