meson_options.txt

Mon, 18 Apr 2022 22:21:59 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 18 Apr 2022 22:21:59 -0500
changeset 41331
4ad6f96d2aca
parent 41262
6dd32088577f
child 41485
74a04628357f
permissions
-rw-r--r--

Add a wrap file for libnice that is only used if -Dbuild-dependencies=true is passed to meson

We can optionally use this setup for our full dependency tree, but I'm not 100%
sure that's the best idea yet, but it does seem better than having it in a
separate repository.

Testing Done:
I made sure I had `libnice-dev` installed on debian and configured and built with with `build-dependencies` set to `true` and `false`.

I think removed `libnice-dev` and verified meson failed to configure with `build-dependencies=false`. I then reconfigured to set `build-dependencies=true` and verified that meson said it was going to build the subproject, and then I built the entire repository.

Bugs closed: PIDGIN-17577

Reviewed at https://reviews.imfreedom.org/r/1334/

##############################################################################
# General Options

option('devenv-config-dir', type : 'string',
       description : 'config directory for running a devenv (defaults to a subdirectory of buildroot)')

option('doc', type : 'boolean', value : false,
       description : 'build documentation with gtk-doc')

option('extraversion', type : 'string',
       description : 'extra version number to be displayed in Help->About and --help (for packagers)')

option('introspection', type : 'boolean', value : true,
       description : 'build introspection data')

option('nettle', type : 'feature',
       description : 'enable Nettle support')

option('nls', type : 'boolean', value : true,
       description : 'enable installation of translation files')

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

option('gstreamer-video', type : 'feature',
       description : 'compile with GStreamer 1.0 Video Overlay support')

option('kwallet', type : 'feature',
       description : 'enable KWallet support')

option('libsecret', type : 'feature',
       description : 'enable libsecret support')

option('vv', type : 'feature',
       description : 'compile with voice and video support')

option('soup3', type : 'boolean', value : false,
       description : 'compile against libsoup3')

##############################################################################
# Protocol Plugins

option('avahi', type : 'feature',
       description : 'compile with avahi (required for Bonjour support)')

option('cyrus-sasl', type : 'feature',
       description : 'enable Cyrus SASL support for XMPP/IRC')

option('dynamic-prpls', type : 'string', value: 'all',
       description : 'specify which protocols to build dynamically')

option('krb4', type : 'boolean', value : false,
       description : 'compile Zephyr plugin with Kerberos 4 support')

option('libgadu', type : 'feature',
       description : 'compile with libgadu (required for GaduGadu support)')

option('meanwhile', type : 'feature',
       description : 'compile with meanwhile')

option('silc', type : 'feature',
       description : 'compile with SILC plugin')

option('zephyr', type : 'feature',
       description : 'compile Zephyr plugin against external libzephyr')

##############################################################################
# Pidgin Options

option('console-logging', type : 'boolean', value : false,
       description : 'compile with console logging support')

option('gtkui', type : 'boolean', value : true,
       description : 'compile with GTK+ user interface')

option('unity-integration', type : 'feature',
       description : 'compile with support for unity integration plugin')

##############################################################################
# Finch Options

option('consoleui', type : 'boolean', value : true,
       description : 'compile with console user interface')

option('x', type : 'boolean', value : true)

mercurial