Add meson build system

This commit is contained in:
Michael Vetter
2026-02-04 22:50:40 +01:00
parent f5ecceac91
commit fbfa1f13e5
4 changed files with 930 additions and 1 deletions

89
meson_options.txt Normal file
View File

@@ -0,0 +1,89 @@
option('notifications',
type: 'feature',
value: 'auto',
description: 'Enable desktop notifications'
)
option('python-plugins',
type: 'feature',
value: 'auto',
description: 'Enable Python plugins'
)
option('c-plugins',
type: 'feature',
value: 'auto',
description: 'Enable C plugins'
)
option('plugins',
type: 'feature',
value: 'auto',
description: 'Enable plugins (both Python and C)'
)
option('otr',
type: 'feature',
value: 'auto',
description: 'Enable OTR encryption'
)
option('pgp',
type: 'feature',
value: 'auto',
description: 'Enable PGP'
)
option('omemo',
type: 'feature',
value: 'auto',
description: 'Enable OMEMO encryption'
)
option('xscreensaver',
type: 'feature',
value: 'auto',
description: 'Use libXScrnSaver to determine idle time'
)
option('install_themes',
type: 'boolean',
value: true,
description: 'Install themes'
)
option('themes_path',
type: 'string',
value: '',
description: 'Custom path for themes installation (empty for default)'
)
option('icons-and-clipboard',
type: 'feature',
value: 'auto',
description: 'Enable GTK tray icons and clipboard paste support'
)
option('gdk-pixbuf',
type: 'feature',
value: 'auto',
description: 'Enable GDK Pixbuf support to scale avatars before uploading'
)
option('omemo-qrcode',
type: 'feature',
value: 'auto',
description: 'Enable ability to display OMEMO QR code'
)
option('python_framework',
type: 'string',
value: '',
description: 'Set base directory for Python Framework (macOS only)'
)
option('tests',
type: 'boolean',
value: false,
description: 'Build tests'
)