diff options
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | meson_options.txt | 3 | ||||
-rw-r--r-- | subprojects/libnice.wrap | 8 |
3 files changed, 14 insertions, 1 deletions
diff --git a/meson.build b/meson.build index f95723c8a7..0ddce1762c 100644 --- a/meson.build +++ b/meson.build @@ -254,7 +254,9 @@ conf.set('ENABLE_INTROSPECTION', enable_introspection) ####################################################################### # Check for libnice ####################################################################### -nice = dependency('nice', version : '>=0.1.13') +nice = dependency('nice', + version : '>=0.1.13', + allow_fallback : get_option('build-dependencies')) ####################################################################### # Check Pidgin dependencies diff --git a/meson_options.txt b/meson_options.txt index 8abc364547..f5e8432285 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -22,6 +22,9 @@ option('nls', type : 'boolean', value : true, option('pixmaps-install', type : 'boolean', value : true, description : 'enable installation of pixmap files - Pidgin still needs them!') +option('build-dependencies', type : 'boolean', value : false, + description : 'enable the use of subprojects to build missing dependencies.') + ############################################################################## # Libpurple Options diff --git a/subprojects/libnice.wrap b/subprojects/libnice.wrap new file mode 100644 index 0000000000..181b72c842 --- /dev/null +++ b/subprojects/libnice.wrap @@ -0,0 +1,8 @@ +[wrap-git] +directory = libnice +url = https://gitlab.freedesktop.org/libnice/libnice.git +revision = 0.1.18 + +[provide] +dependency_names = nice +nice=libnice_dep |