build: Add gmobile

We'll use it for the provider info parsing

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/790>
This commit is contained in:
Guido Günther
2025-09-07 17:43:14 +02:00
committed by Marge Bot
parent 401d02f47d
commit 467111ad14
4 changed files with 23 additions and 1 deletions

1
debian/control vendored
View File

@@ -16,6 +16,7 @@ Build-Depends:
libebook-contacts1.2-dev,
libfeedback-dev (>= 0.0.1),
libfolks-dev,
libgmobile-dev,
libgom-1.0-dev,
libgstreamer1.0-dev,
libgtk-3-dev,

View File

@@ -135,6 +135,7 @@ test_c_args = [
# in preparation for the switch to Gtk4 we should make sure not to use deprecated symbols
'-DGDK_DISABLE_DEPRECATED',
'-DGTK_DISABLE_DEPRECATED',
'-DGMOBILE_USE_UNSTABLE_API',
]
if get_option('buildtype') != 'plain'

View File

@@ -283,6 +283,25 @@
}
]
},
{
"name" : "gmobile",
"buildsystem" : "meson",
"config-opts" : [
"-Dexamples=false",
'-Dintrospection=false',
'-Dgtk_doc=false',
'-Dtests=false',
'-Dvapi=false',
'-Dhwdb=false'
],
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/World/Phosh/gmobile",
"branch" : "main"
}
]
},
{
"name" : "mobile-broadband-provider-info",
"buildsystem" : "meson",

View File

@@ -29,7 +29,8 @@ subdir('dbus')
src_include = include_directories('.')
calls_includes = [ top_include, src_include ]
calls_deps = [ dependency('gobject-2.0', version: '>= 2.74'),
calls_deps = [ dependency('gmobile', version: '>= 0.3.0'),
dependency('gobject-2.0', version: '>= 2.74'),
dependency('gtk4', version: '>= @0@'.format(gtk_version)),
dependency('libadwaita-1', version: '>= 1.6'),
dependency('libfeedback-0.0'),