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:
1
debian/control
vendored
1
debian/control
vendored
@@ -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,
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user