meson: Get libadwaita & gtksourceview as fallback

This commit is contained in:
Veli Tasali 2021-05-04 15:49:07 +03:00 committed by Julian Sparber
parent f414a6f5ba
commit f0b7e64eab
3 changed files with 16 additions and 2 deletions

View file

@ -12,8 +12,16 @@ base_id = 'org.gnome.FractalNext'
dependency('glib-2.0', version: '>= 2.66') dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66') dependency('gio-2.0', version: '>= 2.66')
dependency('gtk4', version: '>= 4.0.0') dependency('gtk4', version: '>= 4.0.0')
dependency('libadwaita-1', version: '>= 1.1.0' ) dependency(
dependency('gtksourceview-5', version: '>= 5.0.0' ) 'libadwaita-1', version: '>= 1.1.0',
fallback: ['libadwaita', 'libadwaita_dep'],
default_options: ['tests=false', 'examples=false', 'vapi=false']
)
dependency(
'gtksourceview-5', version: '>= 5.0.0',
fallback: ['gtksourceview', 'gtksource_dep'],
default_options: ['gtk_doc=false', 'sysprof=false', 'gir=false', 'vapi=false', 'install_tests=false']
)
glib_compile_resources = find_program('glib-compile-resources', required: true) glib_compile_resources = find_program('glib-compile-resources', required: true)
glib_compile_schemas = find_program('glib-compile-schemas', required: true) glib_compile_schemas = find_program('glib-compile-schemas', required: true)

View file

@ -0,0 +1,3 @@
[wrap-git]
url = https://gitlab.gnome.org/GNOME/gtksourceview.git
revision = head

View file

@ -0,0 +1,3 @@
[wrap-git]
url = https://gitlab.gnome.org/GNOME/libadwaita.git
revision = head