Skip to content

Commit

Permalink
Merge branch 'master' into background-portal
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Jun 8, 2023
2 parents 14d3807 + 5918d3f commit bbaa582
Show file tree
Hide file tree
Showing 6 changed files with 881 additions and 2 deletions.
10 changes: 8 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,14 @@ else
libsoup_dep = dependency('libsoup-2.4')
endif
gmodule_dep = dependency('gmodule-2.0')
champlain_dep = dependency('champlain-0.12')
champlain_gtk_dep = dependency('champlain-gtk-0.12')
champlain_dep = dependency('champlain-0.12', fallback: ['libchamplain', 'libchamplain_dep'], default_options: ['default_library=static', 'introspection=false', 'vapi=false'])
champlain_gtk_dep = dependency('champlain-gtk-0.12', fallback: ['libchamplain', 'libchamplain_gtk_dep'], default_options: ['default_library=static', 'introspection=false', 'vapi=false'])
# We need to force the inclusion of the Vapi in case of fallback
if (champlain_dep.type_name() == 'internal')
vapi_dir = meson.current_source_dir() / 'vapi'
champlain_dep = [champlain_dep, meson.get_compiler('vala').find_library('champlain-0.12', dirs: vapi_dir)]
champlain_gtk_dep = [champlain_gtk_dep, meson.get_compiler('vala').find_library('champlain-gtk-0.12', dirs: vapi_dir)]
endif
clutter_dep = dependency('clutter-1.0')
clutter_gtk_dep = dependency('clutter-gtk-1.0')
folks_dep = dependency('folks')
Expand Down
8 changes: 8 additions & 0 deletions subprojects/libchamplain.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[wrap-git]
directory = libchamplain
url = https://gitlab.gnome.org/GNOME/libchamplain.git
revision = 941560af497148588783db991e8135f52a82574d
depth = 1

[provide]
dependency_names = champlain-0.12, champlain-gtk-0.12
4 changes: 4 additions & 0 deletions vapi/champlain-0.12.deps
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
clutter-1.0
cogl-pango-1.0
atk
pangocairo
Loading

0 comments on commit bbaa582

Please sign in to comment.