meson: Install example schema XML

This commit is contained in:
David King 2021-12-21 11:10:37 +00:00
parent 9bad0a2d5e
commit 2b566f0633
6 changed files with 18 additions and 6 deletions

View File

@ -5,7 +5,7 @@ app10_resources = gnome.compile_resources(
source_dir: '.' source_dir: '.'
) )
app10_schemas = gnome.compile_schemas() app10_schemas = gnome.compile_schemas(depend_files: files(['org.gtk.exampleapp.gschema.xml']))
app10 = executable( app10 = executable(
@ -21,3 +21,5 @@ app10 = executable(
app10_schemas, app10_schemas,
dependencies: libgtk_dep dependencies: libgtk_dep
) )
install_data('org.gtk.exampleapp.gschema.xml', install_dir: gtk_schemasdir)

View File

@ -5,7 +5,7 @@ app5_resources = gnome.compile_resources(
source_dir: '.' source_dir: '.'
) )
app5_schemas = gnome.compile_schemas() app5_schemas = gnome.compile_schemas(depend_files: files(['org.gtk.exampleapp.gschema.xml']))
app5 = executable( app5 = executable(
@ -19,3 +19,5 @@ app5 = executable(
app5_schemas, app5_schemas,
dependencies: libgtk_dep dependencies: libgtk_dep
) )
install_data('org.gtk.exampleapp.gschema.xml', install_dir: gtk_schemasdir)

View File

@ -5,7 +5,7 @@ app6_resources = gnome.compile_resources(
source_dir: '.' source_dir: '.'
) )
app6_schemas = gnome.compile_schemas() app6_schemas = gnome.compile_schemas(depend_files: files(['org.gtk.exampleapp.gschema.xml']))
app6 = executable( app6 = executable(
@ -21,3 +21,5 @@ app6 = executable(
app6_schemas, app6_schemas,
dependencies: libgtk_dep dependencies: libgtk_dep
) )
install_data('org.gtk.exampleapp.gschema.xml', install_dir: gtk_schemasdir)

View File

@ -5,7 +5,7 @@ app7_resources = gnome.compile_resources(
source_dir: '.' source_dir: '.'
) )
app7_schemas = gnome.compile_schemas() app7_schemas = gnome.compile_schemas(depend_files: files(['org.gtk.exampleapp.gschema.xml']))
app7 = executable( app7 = executable(
@ -21,3 +21,5 @@ app7 = executable(
app7_schemas, app7_schemas,
dependencies: libgtk_dep dependencies: libgtk_dep
) )
install_data('org.gtk.exampleapp.gschema.xml', install_dir: gtk_schemasdir)

View File

@ -5,7 +5,7 @@ app8_resources = gnome.compile_resources(
source_dir: '.' source_dir: '.'
) )
app8_schemas = gnome.compile_schemas() app8_schemas = gnome.compile_schemas(depend_files: files(['org.gtk.exampleapp.gschema.xml']))
app8 = executable( app8 = executable(
@ -21,3 +21,5 @@ app8 = executable(
app8_schemas, app8_schemas,
dependencies: libgtk_dep dependencies: libgtk_dep
) )
install_data('org.gtk.exampleapp.gschema.xml', install_dir: gtk_schemasdir)

View File

@ -5,7 +5,7 @@ app9_resources = gnome.compile_resources(
source_dir: '.' source_dir: '.'
) )
app9_schemas = gnome.compile_schemas() app9_schemas = gnome.compile_schemas(depend_files: files(['org.gtk.exampleapp.gschema.xml']))
app9 = executable( app9 = executable(
@ -21,3 +21,5 @@ app9 = executable(
app9_schemas, app9_schemas,
dependencies: libgtk_dep dependencies: libgtk_dep
) )
install_data('org.gtk.exampleapp.gschema.xml', install_dir: gtk_schemasdir)