mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-28 14:15:38 +00:00
gen-public-suffix.py downloads public_suffix_list.dat at build time and only falls back to a few hardcoded Linux paths when that fails. Package builds usually run without network access, and on FreeBSD the list is installed under /usr/local/share/public_suffix_list, so the build dies with "unable to load public suffix list". Add a public-suffix-list option that takes the path of a local copy. When it is set the generator reads just that file and never goes online, which also keeps the generated table reproducible.
80 lines
2.9 KiB
Meson
80 lines
2.9 KiB
Meson
# Applications
|
|
option('gtk-frontend', type: 'boolean',
|
|
description: 'Main graphical interface'
|
|
)
|
|
option('text-frontend', type: 'boolean', value: false,
|
|
description: 'Text interface (not generally useful)'
|
|
)
|
|
|
|
# Features
|
|
option('tls', type: 'feature', value: 'enabled',
|
|
description: 'Support for TLS connections, requires openssl'
|
|
)
|
|
option('plugin', type: 'boolean',
|
|
description: 'Support for loadable plugins'
|
|
)
|
|
option('dbus', type: 'feature', value: 'auto',
|
|
description: 'Support used for single-instance and scripting interface, Unix only'
|
|
)
|
|
option('libcanberra', type: 'feature', value: 'auto',
|
|
description: 'Support for sound alerts, Unix only'
|
|
)
|
|
option('appindicator', type: 'feature', value: 'auto',
|
|
description: 'Use Ayatana/AppIndicator-based tray backend for GTK frontend (non-Windows only)'
|
|
)
|
|
|
|
# macOS only; ignored by other platforms.
|
|
option('mac-integration', type: 'feature', value: 'auto',
|
|
description: 'Native macOS menu bar, Dock and application lifecycle')
|
|
|
|
# Install options
|
|
option('dbus-service-use-appid', type: 'boolean', value: false,
|
|
description: 'Rename dbus service to match app-id, required for Flatpak'
|
|
)
|
|
option('install-appdata', type: 'boolean',
|
|
description: 'Install appdata files for app stores'
|
|
)
|
|
option('install-plugin-metainfo', type: 'boolean', value: false,
|
|
description: 'Installs metainfo files for enabled plugins, useful when distros create split packages'
|
|
)
|
|
option('install-emoji-font', type: 'boolean', value: true,
|
|
description: 'Install the bundled Noto Color Emoji font instead of using system emoji fonts'
|
|
)
|
|
option('install-docs', type: 'boolean', value: false,
|
|
description: 'Build and install the local HTML documentation'
|
|
)
|
|
|
|
# Plugins
|
|
option('with-checksum', type: 'boolean',
|
|
description: 'DCC checksum plugin'
|
|
)
|
|
option('with-exec', type: 'boolean',
|
|
description: '/exec plugin, Windows only'
|
|
)
|
|
option('with-fishlim', type: 'boolean',
|
|
description: 'Fish encryption plugin, requires openssl'
|
|
)
|
|
option('with-lua', type: 'string', value: 'lua-5.4',
|
|
description: 'Lua scripting plugin, value is pkg-config name to use or "false"'
|
|
)
|
|
option('with-perl', type: 'string', value: 'perl',
|
|
description: 'Perl scripting plugin, value is path to perl executable or "false"'
|
|
)
|
|
option('with-python', type: 'string', value: 'python3',
|
|
description: 'Python scripting plugin. value is pkg-config name to use or "false"'
|
|
)
|
|
option('with-sysinfo', type: 'boolean',
|
|
description: 'System information plugin, requires libpci on Unix'
|
|
)
|
|
option('with-upd', type: 'boolean',
|
|
description: 'Update plugin, Windows only'
|
|
)
|
|
option('with-perl-legacy-api', type: 'boolean', value: false,
|
|
description: 'Enables the legacy IRC perl module for compatibility with old scripts'
|
|
)
|
|
|
|
# Build inputs
|
|
option('public-suffix-list', type: 'string', value: '',
|
|
description: 'Path to a local public_suffix_list.dat to generate the URL detection rules from instead of downloading it'
|
|
)
|