build: Depend on mobile-broadband-provider-info

This will be used for emergency number lookup

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:13 +02:00
committed by Marge Bot
parent 52555030fb
commit 401d02f47d
4 changed files with 16 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ workflow:
- if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_BRANCH
variables: variables:
DEBIAN_IMAGE: $CI_REGISTRY/gnome/calls/debian:v0.0.2025-07-02 DEBIAN_IMAGE: $CI_REGISTRY/gnome/calls/debian:v0.0.2025-09-08
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal
MESON_BUILD_DIR: "_build" MESON_BUILD_DIR: "_build"

2
debian/control vendored
View File

@@ -27,6 +27,7 @@ Build-Depends:
libsofia-sip-ua-glib-dev, libsofia-sip-ua-glib-dev,
libxml2-utils, libxml2-utils,
meson, meson,
mobile-broadband-provider-info,
modemmanager-dev, modemmanager-dev,
pkg-config, pkg-config,
python3-docutils, python3-docutils,
@@ -45,6 +46,7 @@ Breaks:
Architecture: any Architecture: any
Depends: Depends:
callaudiod, callaudiod,
mobile-broadband-provider-info,
modemmanager, modemmanager,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},

View File

@@ -54,6 +54,7 @@ full_localedir = join_paths(prefix, localedir)
full_calls_plugin_libdir = join_paths(prefix, libdir, calls_name, 'plugins') full_calls_plugin_libdir = join_paths(prefix, libdir, calls_name, 'plugins')
po_dir = join_paths(meson.project_source_root(), 'po') po_dir = join_paths(meson.project_source_root(), 'po')
mbpi_dep = dependency('mobile-broadband-provider-info')
libcall_ui_dep = dependency('call-ui', libcall_ui_dep = dependency('call-ui',
fallback: ['libcall-ui', 'libcall_ui_dep'], fallback: ['libcall-ui', 'libcall_ui_dep'],
default_options: ['tests=false', 'examples=false', 'gtk_doc=false'], default_options: ['tests=false', 'examples=false', 'gtk_doc=false'],
@@ -78,6 +79,7 @@ config_data.set_quoted('PLUGIN_LIBDIR', full_calls_plugin_libdir)
config_data.set_quoted('PACKAGE_URL', calls_homepage) config_data.set_quoted('PACKAGE_URL', calls_homepage)
config_data.set_quoted('PACKAGE_VERSION', calls_version) config_data.set_quoted('PACKAGE_VERSION', calls_version)
config_data.set('PACKAGE_URL_RAW', calls_homepage) config_data.set('PACKAGE_URL_RAW', calls_homepage)
config_data.set_quoted('CALLS_EMERGENCY_INFO_DATABASE', mbpi_dep.get_variable('database'))
gst_debug = get_option('gst_debug') gst_debug = get_option('gst_debug')
config_data.set('CALLS_GST_DEBUG', gst_debug, description: 'Use GStreamer debugging API') config_data.set('CALLS_GST_DEBUG', gst_debug, description: 'Use GStreamer debugging API')

View File

@@ -283,6 +283,17 @@
} }
] ]
}, },
{
"name" : "mobile-broadband-provider-info",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info",
"branch" : "main"
}
]
},
{ {
"name" : "calls", "name" : "calls",
"builddir" : true, "builddir" : true,